[arch-commits] Commit in python-zope-security/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 09:54:35 UTC 2019
Date: Monday, November 4, 2019 @ 09:54:34
Author: felixonmars
Revision: 523980
archrelease: copy trunk to community-staging-x86_64
Added:
python-zope-security/repos/community-staging-x86_64/PKGBUILD
(from rev 523979, python-zope-security/trunk/PKGBUILD)
Deleted:
python-zope-security/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++----------------------------------------
1 file changed, 31 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-04 09:54:26 UTC (rev 523979)
+++ PKGBUILD 2019-11-04 09:54:34 UTC (rev 523980)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-security
-pkgname=('python-zope-security' 'python2-zope-security')
-pkgver=4.3.1
-pkgrel=2
-pkgdesc="Zope Security Framework"
-arch=('x86_64')
-url="https://github.com/zopefoundation/zope.security"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface' 'python-zope-component' 'python2-zope-component'
- 'python-zope-i18nmessageid' 'python2-zope-i18nmessageid' 'python-zope-location'
- 'python2-zope-location' 'python-zope-proxy' 'python2-zope-proxy'
- 'python-zope-schema' 'python2-zope-schema')
-checkdepends=('python-btrees' 'python2-btrees' 'python-nose' 'python2-nose'
- 'python-zope-configuration' 'python2-zope-configuration' 'python-zope-testing'
- 'python2-zope-testing' 'python-zope-testrunner' 'python2-zope-testrunner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.security/archive/$pkgver.tar.gz")
-sha512sums=('8d07683b978ac3fb2bc0f8b3f08d80c10443085a78cb33a8249a31773fa67f0f01e106ab0b076587513848fb884d77ad02322826cb0ff957c812ff81e341469a')
-
-prepare() {
- cp -a zope.security-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/zope.security-$pkgver
- python setup.py build
-
- cd "$srcdir"/zope.security-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/zope.security-$pkgver
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
-
- cd "$srcdir"/zope.security-$pkgver-py2
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
-}
-
-package_python-zope-security() {
- depends=('python-setuptools' 'python-zope-component' 'python-zope-i18nmessageid'
- 'python-zope-interface' 'python-zope-location' 'python-zope-proxy' 'python-zope-schema')
-
- cd zope.security-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-security() {
- depends=('python2-setuptools' 'python2-zope-component' 'python2-zope-i18nmessageid'
- 'python2-zope-interface' 'python2-zope-location' 'python2-zope-proxy'
- 'python2-zope-schema')
-
- cd zope.security-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-zope-security/repos/community-staging-x86_64/PKGBUILD (from rev 523979, python-zope-security/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-04 09:54:34 UTC (rev 523980)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-security
+pkgver=4.3.1
+pkgrel=3
+pkgdesc="Zope Security Framework"
+arch=('x86_64')
+url="https://github.com/zopefoundation/zope.security"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-component' 'python-zope-i18nmessageid'
+ 'python-zope-interface' 'python-zope-location' 'python-zope-proxy' 'python-zope-schema')
+checkdepends=('python-btrees' 'python-nose' 'python-zope-configuration' 'python-zope-testing' 'python-zope-testrunner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.security/archive/$pkgver.tar.gz")
+sha512sums=('8d07683b978ac3fb2bc0f8b3f08d80c10443085a78cb33a8249a31773fa67f0f01e106ab0b076587513848fb884d77ad02322826cb0ff957c812ff81e341469a')
+
+build() {
+ cd "$srcdir"/zope.security-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.security-$pkgver
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
+}
+
+package() {
+ cd zope.security-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list