summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-21 03:14:10 -0800
committerzlg <zlg@zlg.space>2018-11-21 03:35:28 -0800
commite077be0943a5b6e25f206ef7c18650a50a6e1383 (patch)
treedced9705818f5cb94e9116a5b72b9742e5a73907
parentbcddfa9a58d264f34db905f46b27163c526ce08f (diff)
downloadpackages-e077be0943a5b6e25f206ef7c18650a50a6e1383.tar.gz
packages-e077be0943a5b6e25f206ef7c18650a50a6e1383.tar.bz2
packages-e077be0943a5b6e25f206ef7c18650a50a6e1383.tar.xz
packages-e077be0943a5b6e25f206ef7c18650a50a6e1383.zip
user/py3-zope-component: new package
-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"