Date: Sunday, April 9, 2023 @ 14:26:09
  Author: felixonmars
Revision: 1443258

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 1443257, python-zope-annotation/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-zope-annotation/repos/community-staging-any/PKGBUILD (from rev 
1443257, python-zope-annotation/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-09 14:26:09 UTC (rev 1443258)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-zope-annotation
+pkgver=5.0
+pkgrel=2
+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=('4d616e611b6563e405cfeffcaa602bd0d5065618053a8f5f3c41a5cd1d884bbdc6c74dc705be5c6210d6e6b012a30c48b3a5523952b6ad0c5db96db117074df3')
+
+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
+}

Reply via email to