[arch-commits] Commit in python-zope-schema/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 5 23:22:26 UTC 2018
Date: Friday, October 5, 2018 @ 23:22:26
Author: felixonmars
Revision: 390778
archrelease: copy trunk to community-any
Added:
python-zope-schema/repos/community-any/PKGBUILD
(from rev 390777, python-zope-schema/trunk/PKGBUILD)
Deleted:
python-zope-schema/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-05 23:22:07 UTC (rev 390777)
+++ PKGBUILD 2018-10-05 23:22:26 UTC (rev 390778)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-schema
-pkgname=('python-zope-schema' 'python2-zope-schema')
-pkgver=4.9.0
-pkgrel=1
-pkgdesc="zope.interface extension for defining data schemas"
-arch=('any')
-url="https://github.com/zopefoundation/zope.schema"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface' 'python-zope-event' 'python2-zope-event')
-checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-zope-testing'
- 'python2-zope-testing' 'python-zope-i18nmessageid' 'python2-zope-i18nmessageid')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.schema/archive/$pkgver.tar.gz")
-sha512sums=('a70760996efe6be69f89b4055374d353a3b7aed4ece0b9fed2a1f3325599ef55401763c7c67df0e2d72efa3504253eaa7c66903f1810e95a42b40e7e8a8ed588')
-
-prepare() {
- cp -a zope.schema-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/zope.schema-$pkgver
- python setup.py build
-
- cd "$srcdir"/zope.schema-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/zope.schema-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
-
- cd "$srcdir"/zope.schema-$pkgver-py2
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
-}
-
-package_python-zope-schema() {
- depends=('python-setuptools' 'python-zope-interface' 'python-zope-event')
-
- cd "$srcdir"/zope.schema-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-schema() {
- depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-event')
-
- cd "$srcdir"/zope.schema-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-zope-schema/repos/community-any/PKGBUILD (from rev 390777, python-zope-schema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-05 23:22:26 UTC (rev 390778)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-zope-schema
+pkgname=('python-zope-schema' 'python2-zope-schema')
+pkgver=4.9.1
+pkgrel=1
+pkgdesc="zope.interface extension for defining data schemas"
+arch=('any')
+url="https://github.com/zopefoundation/zope.schema"
+license=('ZPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
+ 'python2-zope-interface' 'python-zope-event' 'python2-zope-event')
+checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-zope-testing'
+ 'python2-zope-testing' 'python-zope-i18nmessageid' 'python2-zope-i18nmessageid')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.schema/archive/$pkgver.tar.gz")
+sha512sums=('9234eda33e65cf84604c0939d69ba02cb24dc6052999b2cb6e6147894ffcee9e9c5bfbf4e614583d74998b6727ee6398208b02b1945787fd0ecd78c7ab8ddef0')
+
+prepare() {
+ cp -a zope.schema-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/zope.schema-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/zope.schema-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.schema-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
+
+ cd "$srcdir"/zope.schema-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
+}
+
+package_python-zope-schema() {
+ depends=('python-setuptools' 'python-zope-interface' 'python-zope-event')
+
+ cd "$srcdir"/zope.schema-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-zope-schema() {
+ depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-event')
+
+ cd "$srcdir"/zope.schema-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list