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

Felix Yan felixonmars at archlinux.org
Thu May 3 14:40:50 UTC 2018


    Date: Thursday, May 3, 2018 @ 14:40:49
  Author: felixonmars
Revision: 318872

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-03 14:40:22 UTC (rev 318871)
+++ PKGBUILD	2018-05-03 14:40:49 UTC (rev 318872)
@@ -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.7.1
-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/$pkgver.tar.gz")
-sha512sums=('7bc1e0bfce4b126208af291cca2e9bbd9f8bd68848d48d2fa3da4dcc3f7688e0a5eaee474e2ef80ac02cf1d2a957d284201d8808accffc1bf9091d696b0be2c3')
-
-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.6/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 318871, python-pytest-twisted/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-03 14:40:49 UTC (rev 318872)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-twisted
+pkgname=('python-pytest-twisted' 'python2-pytest-twisted')
+pkgver=1.8
+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/$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.6/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