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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 10 10:35:40 UTC 2019


    Date: Sunday, November 10, 2019 @ 10:35:39
  Author: foutrelis
Revision: 525034

archrelease: copy trunk to community-staging-any

Added:
  python-zope-schema/repos/community-staging-any/PKGBUILD
    (from rev 525033, python-zope-schema/trunk/PKGBUILD)
Deleted:
  python-zope-schema/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-10 10:35:35 UTC (rev 525033)
+++ PKGBUILD	2019-11-10 10:35:39 UTC (rev 525034)
@@ -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.3
-pkgrel=4
-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-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-zope-schema/repos/community-staging-any/PKGBUILD (from rev 525033, python-zope-schema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-10 10:35:39 UTC (rev 525034)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-schema
+pkgver=4.9.3
+pkgrel=4
+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=('bac09d9106cca1560d968f35ba414860d42da9a1637c261a18e42b97c6ada3a3cc78381b536d478c505c7eaade189e47012b1726b8d8815622c904a79f3e89e1')
+
+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