[arch-commits] Commit in python-zope-annotation/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 09:40:08 UTC 2019
Date: Monday, November 4, 2019 @ 09:40:07
Author: felixonmars
Revision: 523934
archrelease: copy trunk to community-staging-any
Added:
python-zope-annotation/repos/community-staging-any/
python-zope-annotation/repos/community-staging-any/PKGBUILD
(from rev 523932, python-zope-annotation/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-zope-annotation/repos/community-staging-any/PKGBUILD (from rev 523932, python-zope-annotation/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 09:40:07 UTC (rev 523934)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-annotation
+pkgver=4.7.0
+pkgrel=3
+pkgdesc="Object annotation mechanism"
+arch=('any')
+url="https://github.com/zopefoundation/zope.annotation"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface' 'python-zope-component'
+ 'python-zope-location' 'python-zope-proxy')
+checkdepends=('python-zope-configuration' 'python-zope-testing' 'python-zope-testrunner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.annotation/archive/$pkgver.tar.gz")
+sha512sums=('e9fb4bafb1e144967c2aab56d55f1b86b355ce59d740388339a7d38956b66b3d01c1cb4f80903721722e94fd87824b5760b0772b1109b08bd40864a6249e4ef3')
+
+build() {
+ cd zope.annotation-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd zope.annotation-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
+}
+
+package() {
+ cd zope.annotation-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list