summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/py3-zope-deprecation/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-zope-deprecation/APKBUILD b/user/py3-zope-deprecation/APKBUILD
new file mode 100644
index 000000000..f21a1fdeb
--- /dev/null
+++ b/user/py3-zope-deprecation/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: zlg <zlg+adelie@zlg.space>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-zope-deprecation
+_pkgname=zope.deprecation
+pkgver=4.4.0
+pkgrel=0
+pkgdesc="A function to mark deprecated parts of an API"
+url="https://github.com/zopefoundation/zope.deprecation"
+arch="noarch"
+options="!check" # needs zope.testrunner
+license="ZPL-2.1"
+depends="python3"
+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="d8632a3442eee059383014bb3341b30897ad8f9206b71bc586c873c4cccf5f87296edaf18f1e1c93878f480e3b0e8e1c1936ac19ed327f4ab227402ebbc73e0e zope.deprecation-4.4.0.tar.gz"