[arch-commits] Commit in python-zope-testing/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Mon Nov 1 09:03:49 UTC 2021
Date: Monday, November 1, 2021 @ 09:03:49
Author: jelle
Revision: 1035157
archrelease: copy trunk to community-any
Added:
python-zope-testing/repos/community-any/PKGBUILD
(from rev 1035156, python-zope-testing/trunk/PKGBUILD)
Deleted:
python-zope-testing/repos/community-any/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++--------------------------------------
1 file changed, 32 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-01 09:03:44 UTC (rev 1035156)
+++ PKGBUILD 2021-11-01 09:03:49 UTC (rev 1035157)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-testing
-pkgname=('python-zope-testing' 'python2-zope-testing')
-pkgver=4.9
-pkgrel=1
-pkgdesc="Zope testing helpers"
-arch=('any')
-url="https://github.com/zopefoundation/zope.testing"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface' 'python-zope-exceptions' 'python2-zope-exceptions')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testing/archive/$pkgver.tar.gz")
-sha512sums=('5a3d22e421273a34c8123490dd52f20cb6b80247d55ff81a6bcb59b25a7a79d5d2d41d0aac52c193670f569ad045cd5114ad44aeb25d32e390c1c36ad0a2057d')
-
-prepare() {
- cp -a zope.testing-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/zope.testing-$pkgver"
- python setup.py build
-
- cd "$srcdir/zope.testing-$pkgver-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/zope.testing-$pkgver"
- python setup.py test
-
- cd "$srcdir/zope.testing-$pkgver-py2"
- python2 setup.py test
-}
-
-package_python-zope-testing() {
- depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions')
-
- cd "$srcdir/zope.testing-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-testing() {
- depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-exceptions')
-
- cd "$srcdir/zope.testing-$pkgver-py2"
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-zope-testing/repos/community-any/PKGBUILD (from rev 1035156, python-zope-testing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-01 09:03:49 UTC (rev 1035157)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-testing
+pkgver=4.9
+pkgrel=2
+pkgdesc="Zope testing helpers"
+arch=('any')
+url="https://github.com/zopefoundation/zope.testing"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions')
+makedepends=('python-setuptools' 'python-zope-interface'
+ 'python-zope-exceptions')
+checkdepends=('python-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testing/archive/$pkgver.tar.gz")
+sha512sums=('5a3d22e421273a34c8123490dd52f20cb6b80247d55ff81a6bcb59b25a7a79d5d2d41d0aac52c193670f569ad045cd5114ad44aeb25d32e390c1c36ad0a2057d')
+
+build() {
+ cd "$srcdir/zope.testing-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/zope.testing-$pkgver"
+ python setup.py test
+}
+
+package() {
+ cd "$srcdir/zope.testing-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list