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

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


    Date: Sunday, November 10, 2019 @ 10:35:30
  Author: foutrelis
Revision: 525032

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-10 10:35:26 UTC (rev 525031)
+++ PKGBUILD	2019-11-10 10:35:30 UTC (rev 525032)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-location
-pkgname=('python-zope-location' 'python2-zope-location')
-pkgver=4.2
-pkgrel=3
-pkgdesc="Special objects that have a structural location"
-arch=('any')
-url="https://github.com/zopefoundation/zope.location"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
-             'python2-zope-interface' 'python-zope-schema' 'python2-zope-schema' 'python-zope-proxy'
-             'python2-zope-proxy')
-checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-zope-copy'
-              'python2-zope-copy' 'python-zope-configuration' 'python2-zope-configuration'
-              'python-zope-component' 'python2-zope-component')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.location/archive/$pkgver.tar.gz")
-sha512sums=('3478f28738399acbdd24491361ad3454bb8415ff30a407608780758b881a6abe504ee913d28074baad52e275046a48aa13569fd5700fbb77db36aff89d79a148')
-
-prepare() {
-  cp -a zope.location-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/zope.location-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/zope.location-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/zope.location-$pkgver
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
-
-  cd "$srcdir"/zope.location-$pkgver-py2
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
-}
-
-package_python-zope-location() {
-  depends=('python-setuptools' 'python-zope-interface' 'python-zope-schema' 'python-zope-proxy')
-
-  cd zope.location-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-location() {
-  depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-schema' 'python2-zope-proxy')
-
-  cd zope.location-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-zope-location/repos/community-staging-any/PKGBUILD (from rev 525031, python-zope-location/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-10 10:35:30 UTC (rev 525032)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-location
+pkgver=4.2
+pkgrel=3
+pkgdesc="Special objects that have a structural location"
+arch=('any')
+url="https://github.com/zopefoundation/zope.location"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface' 'python-zope-schema' 'python-zope-proxy')
+checkdepends=('python-zope-testrunner' 'python-zope-copy' 'python-zope-configuration' 'python-zope-component')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.location/archive/$pkgver.tar.gz")
+sha512sums=('3478f28738399acbdd24491361ad3454bb8415ff30a407608780758b881a6abe504ee913d28074baad52e275046a48aa13569fd5700fbb77db36aff89d79a148')
+
+build() {
+  cd "$srcdir"/zope.location-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/zope.location-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
+}
+
+package() {
+  cd zope.location-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list