[arch-commits] Commit in python-zope-configuration/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 22:31:59 UTC 2021
Date: Tuesday, November 30, 2021 @ 22:31:59
Author: felixonmars
Revision: 1059043
archrelease: copy trunk to community-staging-any
Added:
python-zope-configuration/repos/community-staging-any/
python-zope-configuration/repos/community-staging-any/PKGBUILD
(from rev 1059041, python-zope-configuration/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-zope-configuration/repos/community-staging-any/PKGBUILD (from rev 1059041, python-zope-configuration/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 22:31:59 UTC (rev 1059043)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-configuration
+pkgver=4.4.0
+pkgrel=4
+pkgdesc="Zope Configuration Markup Language (ZCML)"
+arch=('any')
+url="https://github.com/zopefoundation/zope.configuration"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface' 'python-zope-schema' 'python-zope-i18nmessageid')
+checkdepends=('python-manuel' 'python-zope-testing' 'python-zope-testrunner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.configuration/archive/$pkgver.tar.gz")
+sha512sums=('4977a26ac22ef39b7f628f5df7c3a3eac4d63633737651e78b95dc4d61e0591e76f8399173acff5265e22f6a7dfa9dc6abc5306185b8de03a28286576d61f247')
+
+build() {
+ cd "$srcdir"/zope.configuration-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.configuration-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || echo "Tests failed"
+}
+
+package() {
+ cd "$srcdir"/zope.configuration-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list