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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 22:30:44 UTC 2021


    Date: Tuesday, November 30, 2021 @ 22:30:43
  Author: foutrelis
Revision: 1059008

archrelease: copy trunk to community-staging-any

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

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

Copied: python-zope-location/repos/community-staging-any/PKGBUILD (from rev 1059007, python-zope-location/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 22:30:43 UTC (rev 1059008)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-location
+pkgver=4.2
+pkgrel=7
+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 || echo "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