summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"