[arch-commits] Commit in python-zope-deferredimport/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 20:20:19 UTC 2020
Date: Monday, November 9, 2020 @ 20:20:19
Author: foutrelis
Revision: 748198
archrelease: copy trunk to community-staging-any
Added:
python-zope-deferredimport/repos/community-staging-any/
python-zope-deferredimport/repos/community-staging-any/PKGBUILD
(from rev 748195, python-zope-deferredimport/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-zope-deferredimport/repos/community-staging-any/PKGBUILD (from rev 748195, python-zope-deferredimport/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 20:20:19 UTC (rev 748198)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-deferredimport
+pkgver=4.3.1
+pkgrel=5
+pkgdesc="Allows you to perform imports names that will only be resolved when used in the code"
+arch=('any')
+url="https://github.com/zopefoundation/zope.deferredimport"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-proxy')
+checkdepends=('python-zope-testrunner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.deferredimport/archive/$pkgver.tar.gz")
+sha512sums=('1c367def232ec79ad10a9d8f1e068598d2fdb49b067c2c3f44c9ad25c198afbbf2d52659c3795aad76f8c82d212e49086b81ab1c1dcc6aac2e3ce66c35ff5750')
+
+build() {
+ cd "$srcdir"/zope.deferredimport-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.deferredimport-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
+}
+
+package() {
+ cd zope.deferredimport-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list