[arch-commits] Commit in python-zope-schema/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 21:44:44 UTC 2021
Date: Tuesday, November 30, 2021 @ 21:44:44
Author: felixonmars
Revision: 1058988
archrelease: copy trunk to community-staging-any
Added:
python-zope-schema/repos/community-staging-any/
python-zope-schema/repos/community-staging-any/PKGBUILD
(from rev 1058986, python-zope-schema/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-zope-schema/repos/community-staging-any/PKGBUILD (from rev 1058986, python-zope-schema/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 21:44:44 UTC (rev 1058988)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-schema
+pkgver=6.2.0
+pkgrel=2
+pkgdesc="zope.interface extension for defining data schemas"
+arch=('any')
+url="https://github.com/zopefoundation/zope.schema"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface' 'python-zope-event')
+checkdepends=('python-zope-testrunner' 'python-zope-testing' 'python-zope-i18nmessageid')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.schema/archive/$pkgver.tar.gz")
+sha512sums=('0de6705aec12d92f0a51fbe59afe5bf7fd16497bdaa759c5f171f0348fc32902bbdfbe7dea21de44182a83bc40dad56077d75843af0b5324ed11afd28e146c76')
+
+build() {
+ cd "$srcdir"/zope.schema-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.schema-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
+}
+
+package() {
+ cd "$srcdir"/zope.schema-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list