summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/py3-zope-proxy/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-zope-proxy/APKBUILD b/user/py3-zope-proxy/APKBUILD
new file mode 100644
index 000000000..37a7b35b2
--- /dev/null
+++ b/user/py3-zope-proxy/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: zlg <zlg+adelie@zlg.space>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-zope-proxy
+_pkgname=zope.proxy
+pkgver=4.3.1
+pkgrel=0
+pkgdesc="Zope module for class and function proxies"
+url="https://github.com/zopefoundation/zope.proxy"
+arch="all"
+options="!check" # needs zope.testrunner, zope.security
+license="ZPL-2.1"
+depends="python3 py3-zope-interface"
+makedepends="python3-dev"
+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="1072258c35bf23162c4f347060ea79979cbfc551c308e809b7e63f1d9434f566b665954edf3d2ab0b72161fb74b0e707c5904775876188306411ed0401424612 zope.proxy-4.3.1.tar.gz"