[arch-commits] Commit in python-zope-schema/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Oct 13 19:40:06 UTC 2018
Date: Saturday, October 13, 2018 @ 19:40:05
Author: felixonmars
Revision: 393294
archrelease: copy trunk to community-any
Added:
python-zope-schema/repos/community-any/PKGBUILD
(from rev 393293, 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-13 19:39:45 UTC (rev 393293)
+++ PKGBUILD 2018-10-13 19:40:05 UTC (rev 393294)
@@ -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.2
-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=('934020b10dc83e7ea10496233f793698b480c9351a1c39e1b06738a257ac47568ced84d7fbc5621ece330e6a43cf797119f92e57b66c7d786fa3bbb6821c9990')
-
-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 393293, python-zope-schema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-13 19:40:05 UTC (rev 393294)
@@ -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.3
+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=('bac09d9106cca1560d968f35ba414860d42da9a1637c261a18e42b97c6ada3a3cc78381b536d478c505c7eaade189e47012b1726b8d8815622c904a79f3e89e1')
+
+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