[arch-commits] Commit in python-zope-schema/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 20:13:32 UTC 2020


    Date: Monday, November 9, 2020 @ 20:13:32
  Author: felixonmars
Revision: 748162

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 748160, python-zope-schema/trunk/PKGBUILD)

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

Copied: python-zope-schema/repos/community-staging-any/PKGBUILD (from rev 748160, python-zope-schema/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 20:13:32 UTC (rev 748162)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-schema
+pkgver=6.0.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=('f5dab14a088ab285a52eca9245fbe83860548e12e30113a9cef7fbb2cb88ed6edceec4c91529824be093ea07ba29608dfaa57587bc71f32e364504bab204ba71')
+
+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