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

Felix Yan felixonmars at archlinux.org
Wed Jan 23 06:06:06 UTC 2019


    Date: Wednesday, January 23, 2019 @ 06:06:06
  Author: felixonmars
Revision: 427107

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-23 06:05:46 UTC (rev 427106)
+++ PKGBUILD	2019-01-23 06:06:06 UTC (rev 427107)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-twisted
-pkgname=('python-pytest-twisted' 'python2-pytest-twisted')
-pkgver=1.8
-pkgrel=2
-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/$pkgver.tar.gz")
-sha512sums=('7d71aa53f209f9b8e835288f88fcb754ac18a4eeaae986a1e4474035a402315791280d5f05223e49a352ac186f910f3b5e686827565d72a700fb3f317126bc5f')
-
-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 427106, python-pytest-twisted/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-23 06:06:06 UTC (rev 427107)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-twisted
+pkgname=('python-pytest-twisted' 'python2-pytest-twisted')
+pkgver=1.9
+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=('fef82c2985a2da750307b71175342037b82ff687ab794a5a6afce0ca8d3ea4ddfec412e4da5b4876a784feb0439599442343e8b8970e4520b6c0907f8c64a14a')
+
+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