summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2019-01-02 19:38:44 -0800
committerzlg <zlg@zlg.space>2019-01-02 19:38:44 -0800
commit9cfafeb76d5c0111e7df86a93c156f29fb65efad (patch)
tree774446860597c42fbea41507f40f5f111943cde0 /user
parent4aa97e848fa6f80ec1ec23d77e293fd9999a058e (diff)
downloadpackages-9cfafeb76d5c0111e7df86a93c156f29fb65efad.tar.gz
packages-9cfafeb76d5c0111e7df86a93c156f29fb65efad.tar.bz2
packages-9cfafeb76d5c0111e7df86a93c156f29fb65efad.tar.xz
packages-9cfafeb76d5c0111e7df86a93c156f29fb65efad.zip
user/py3-zope-deferredimport: new package
Diffstat (limited to 'user')
-rw-r--r--user/py3-zope-deferredimport/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-zope-deferredimport/APKBUILD b/user/py3-zope-deferredimport/APKBUILD
new file mode 100644
index 000000000..c66f10723
--- /dev/null
+++ b/user/py3-zope-deferredimport/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: zlg <zlg+adelie@zlg.space>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-zope-deferredimport
+_pkgname=zope.deferredimport
+pkgver=4.3
+pkgrel=0
+pkgdesc="Zope module that allows for lazy module importing"
+url="https://github.com/zopefoundation/zope.deferredimport"
+arch="noarch"
+options="!check" # needs zope.testrunner
+license="ZPL-2.1"
+depends="python3"
+makedepends="python3-dev py3-zope-proxy"
+subpackages=""
+source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="0b62cf6caa7709dbb6b0ae85bf9c5e24909c79af57da8e3d081e69ff9f73fc60fbe5a83cdfe795551eeee3c045d3783a09cb3e6eb3964a44e6fbbea149ca3f8a py3-zope-deferredimport-4.3.tar.gz"