[arch-commits] Commit in python-pytest-twisted/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Sep 27 19:41:04 UTC 2019


    Date: Friday, September 27, 2019 @ 19:41:04
  Author: felixonmars
Revision: 511947

archrelease: copy trunk to community-any

Added:
  python-pytest-twisted/repos/community-any/PKGBUILD
    (from rev 511946, python-pytest-twisted/trunk/PKGBUILD)
Deleted:
  python-pytest-twisted/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-27 19:40:42 UTC (rev 511946)
+++ PKGBUILD	2019-09-27 19:41:04 UTC (rev 511947)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-twisted
-pkgname=('python-pytest-twisted' 'python2-pytest-twisted')
-pkgver=1.11
-pkgrel=1
-pkgdesc='A twisted plugin for py.test'
-arch=('any')
-license=('BSD')
-url='https://github.com/pytest-dev/pytest-twisted'
-makedepends=('python-pytest' 'python2-pytest' 'python-greenlet' 'python2-greenlet'
-             'python-decorator' 'python2-decorator' 'python-twisted' 'python2-twisted')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-twisted/archive/v$pkgver.tar.gz")
-sha512sums=('486ac73f3f0a9b0a8a98895d8a846de07be987b8b6c3ad6b88650b86d3931f0c725ad64697547eae7891509b99a02a6363838f3577608c0e541411670a867336')
-
-prepare() {
-  cp -a pytest-twisted-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytest-twisted-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pytest-twisted-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/pytest-twisted-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
-
-  cd "$srcdir"/pytest-twisted-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
-}
-
-package_python-pytest-twisted() {
-  depends=('python-pytest' 'python-greenlet' 'python-decorator' 'python-twisted')
-
-  cd pytest-twisted-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pytest-twisted() {
-  depends=('python2-pytest' 'python2-greenlet' 'python2-decorator' 'python2-twisted')
-
-  cd pytest-twisted-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-twisted/repos/community-any/PKGBUILD (from rev 511946, python-pytest-twisted/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-27 19:41:04 UTC (rev 511947)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-twisted
+pkgname=('python-pytest-twisted' 'python2-pytest-twisted')
+pkgver=1.12
+pkgrel=1
+pkgdesc='A twisted plugin for py.test'
+arch=('any')
+license=('BSD')
+url='https://github.com/pytest-dev/pytest-twisted'
+makedepends=('python-pytest' 'python2-pytest' 'python-greenlet' 'python2-greenlet'
+             'python-decorator' 'python2-decorator' 'python-twisted' 'python2-twisted')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-twisted/archive/v$pkgver.tar.gz")
+sha512sums=('3fb5bdea9632ebd830637be8bef15432859e4689e41d2f87258dc5404734d98b76d26de494e80464f4321db6016836851daff5ff4eaf083fa7159cc8381e35bf')
+
+prepare() {
+  cp -a pytest-twisted-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pytest-twisted-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pytest-twisted-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir"/pytest-twisted-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
+
+  cd "$srcdir"/pytest-twisted-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
+}
+
+package_python-pytest-twisted() {
+  depends=('python-pytest' 'python-greenlet' 'python-decorator' 'python-twisted')
+
+  cd pytest-twisted-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pytest-twisted() {
+  depends=('python2-pytest' 'python2-greenlet' 'python2-decorator' 'python2-twisted')
+
+  cd pytest-twisted-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list