summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/py3-zope-component/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-zope-component/APKBUILD b/user/py3-zope-component/APKBUILD
new file mode 100644
index 000000000..0514e4843
--- /dev/null
+++ b/user/py3-zope-component/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-zope-component
+_pkgname=zope.component
+pkgver=4.4.1
+pkgrel=0
+pkgdesc="Zope Component Architecture"
+url="https://pypi.python.org/pypi/zope.component"
+arch="noarch"
+options="!check" # needs nose
+license="ZPL-2.1"
+depends="python3 py3-zope-interface py3-zope-event"
+makedepends="python3-dev"
+install=""
+subpackages=""
+source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.component/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="ae49b2663403ee6af53b580a8cdf973d69800f2451e6de3181bf742fa33cd5fcf1f98fd01ab92ea22a816fcd1678030555bff903070309df935921c9c77f82ec zope.component-4.4.1.tar.gz"