summaryrefslogtreecommitdiff
path: root/user/py3-zope-proxy/APKBUILD
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2019-01-02 19:39:38 -0800
committerzlg <zlg@zlg.space>2019-01-02 19:39:38 -0800
commitd8d9239c75e10836973beac65b4894d36caaccc1 (patch)
tree61b976f051f3a74f9458e20f83a411259877d239 /user/py3-zope-proxy/APKBUILD
parent1df46c012911b70b88ee0ef9e118f857b0a9f974 (diff)
downloadpackages-d8d9239c75e10836973beac65b4894d36caaccc1.tar.gz
packages-d8d9239c75e10836973beac65b4894d36caaccc1.tar.bz2
packages-d8d9239c75e10836973beac65b4894d36caaccc1.tar.xz
packages-d8d9239c75e10836973beac65b4894d36caaccc1.zip
user/py3-zope-proxy: new package
Diffstat (limited to 'user/py3-zope-proxy/APKBUILD')
-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"