[arch-commits] Commit in python-zope-testrunner/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Mar 20 09:05:26 UTC 2019


    Date: Wednesday, March 20, 2019 @ 09:05:25
  Author: felixonmars
Revision: 442850

archrelease: copy trunk to community-any

Added:
  python-zope-testrunner/repos/community-any/PKGBUILD
    (from rev 442849, python-zope-testrunner/trunk/PKGBUILD)
Deleted:
  python-zope-testrunner/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-20 09:05:07 UTC (rev 442849)
+++ PKGBUILD	2019-03-20 09:05:25 UTC (rev 442850)
@@ -1,65 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-testrunner
-pkgname=('python-zope-testrunner' 'python2-zope-testrunner')
-pkgver=4.9.2
-pkgrel=1
-pkgdesc="Zope testrunner script"
-arch=('any')
-url="https://github.com/zopefoundation/zope.testrunner"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
-             'python2-zope-interface' 'python-zope-exceptions' 'python2-zope-exceptions'
-             'python-six' 'python2-six')
-checkdepends=('python-zope-testing' 'python2-zope-testing' 'python-zope-testrunner'
-              'python2-zope-testrunner' 'python-virtualenv' 'python2-virtualenv')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testrunner/archive/$pkgver.tar.gz")
-sha512sums=('39305e2d9b7c211fc64914a2d942806297d690f7406d6adfccfae461fc3077b35e826f1712eace1e20dd7b26145d7336b0508f9fc98aa3930017dfcaad252b35')
-
-prepare() {
-  cp -a zope.testrunner-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/zope.testrunner-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/zope.testrunner-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/zope.testrunner-$pkgver
-  virtualenv "$srcdir/pyvenv" --system-site-packages
-  (
-    . "$srcdir/pyvenv/bin/activate"
-    python setup.py develop
-    python setup.py test
-  )
-
-  cd "$srcdir"/zope.testrunner-$pkgver-py2
-  virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
-  (
-    . "$srcdir/pyvenv-py2/bin/activate"
-    python2 setup.py develop
-    python2 setup.py test
-  )
-}
-
-package_python-zope-testrunner() {
-  depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions' 'python-six')
-
-  cd zope.testrunner-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-testrunner() {
-  depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-exceptions' 'python2-six')
-
-  cd zope.testrunner-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/zope-testrunner{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-zope-testrunner/repos/community-any/PKGBUILD (from rev 442849, python-zope-testrunner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-20 09:05:25 UTC (rev 442850)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-zope-testrunner
+pkgname=('python-zope-testrunner' 'python2-zope-testrunner')
+pkgver=5.0
+pkgrel=1
+pkgdesc="Zope testrunner script"
+arch=('any')
+url="https://github.com/zopefoundation/zope.testrunner"
+license=('ZPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
+             'python2-zope-interface' 'python-zope-exceptions' 'python2-zope-exceptions'
+             'python-six' 'python2-six')
+checkdepends=('python-zope-testing' 'python2-zope-testing' 'python-zope-testrunner'
+              'python2-zope-testrunner' 'python-virtualenv' 'python2-virtualenv')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testrunner/archive/$pkgver.tar.gz")
+sha512sums=('f79b97eef9f52dd31017e5b55dbbba66d496f819bd386e77336189119ba4324bec21e728e37444df3969fe6664928d5bc3622cdc70998dbd3b792a16b7f2bd55')
+
+prepare() {
+  cp -a zope.testrunner-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/zope.testrunner-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/zope.testrunner-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/zope.testrunner-$pkgver
+  virtualenv "$srcdir/pyvenv" --system-site-packages
+  (
+    . "$srcdir/pyvenv/bin/activate"
+    python setup.py develop
+    python setup.py test
+  )
+
+  cd "$srcdir"/zope.testrunner-$pkgver-py2
+  virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
+  (
+    . "$srcdir/pyvenv-py2/bin/activate"
+    python2 setup.py develop
+    python2 setup.py test
+  )
+}
+
+package_python-zope-testrunner() {
+  depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions' 'python-six')
+
+  cd zope.testrunner-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-zope-testrunner() {
+  depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-exceptions' 'python2-six')
+
+  cd zope.testrunner-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/zope-testrunner{,2}
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list