[arch-commits] Commit in python-zope-testrunner/repos/community-any (2 files)
Felix Yan
fyan at archlinux.org
Tue Nov 10 07:17:40 UTC 2015
Date: Tuesday, November 10, 2015 @ 08:17:40
Author: fyan
Revision: 146478
archrelease: copy trunk to community-any
Added:
python-zope-testrunner/repos/community-any/PKGBUILD
(from rev 146477, python-zope-testrunner/trunk/PKGBUILD)
Deleted:
python-zope-testrunner/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-10 07:17:12 UTC (rev 146477)
+++ PKGBUILD 2015-11-10 07:17:40 UTC (rev 146478)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=('python-zope-testrunner' 'python2-zope-testrunner')
-pkgver=4.4.9
-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' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-zope-testing' 'python2-zope-testing'
- 'python2-subunit')
-source=("git+https://github.com/zopefoundation/zope.testrunner.git#tag=$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
- cp -a zope.testrunner{,-py2}
-}
-
-build() {
- cd "$srcdir/zope.testrunner"
- python setup.py build
-
- cd "$srcdir/zope.testrunner-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/zope.testrunner"
- # https://github.com/zopefoundation/zope.testrunner/issues/30
- python setup.py test || warning "Tests failed"
-
- cd "$srcdir/zope.testrunner-py2"
- python2 setup.py test
-}
-
-package_python-zope-testrunner() {
- depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions' 'python-six')
-
- cd "$srcdir/zope.testrunner"
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-zope-testrunner() {
- depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-exceptions' 'python2-six')
-
- cd "$srcdir/zope.testrunner-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 146477, python-zope-testrunner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-11-10 07:17:40 UTC (rev 146478)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=('python-zope-testrunner' 'python2-zope-testrunner')
+pkgver=4.4.10
+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' 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-zope-testing' 'python2-zope-testing'
+ 'python2-subunit')
+source=("git+https://github.com/zopefoundation/zope.testrunner.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -a zope.testrunner{,-py2}
+}
+
+build() {
+ cd "$srcdir/zope.testrunner"
+ python setup.py build
+
+ cd "$srcdir/zope.testrunner-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/zope.testrunner"
+ python setup.py test
+
+ cd "$srcdir/zope.testrunner-py2"
+ python2 setup.py test
+}
+
+package_python-zope-testrunner() {
+ depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions' 'python-six')
+
+ cd "$srcdir/zope.testrunner"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-zope-testrunner() {
+ depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-exceptions' 'python2-six')
+
+ cd "$srcdir/zope.testrunner-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