summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-21 03:11:14 -0800
committerzlg <zlg@zlg.space>2018-11-21 03:35:27 -0800
commiteaf72d253e0cd59ab4b045def9ee24666511cc4b (patch)
treebfcaa9072e831d10d0708371304206b66ed02f8e
parent468cc508ee339b3ca9bc2eb475530508cf5f11fb (diff)
downloadpackages-eaf72d253e0cd59ab4b045def9ee24666511cc4b.tar.gz
packages-eaf72d253e0cd59ab4b045def9ee24666511cc4b.tar.bz2
packages-eaf72d253e0cd59ab4b045def9ee24666511cc4b.tar.xz
packages-eaf72d253e0cd59ab4b045def9ee24666511cc4b.zip
user/py3-zope-interface: new package
-rw-r--r--user/py3-zope-interface/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/py3-zope-interface/APKBUILD b/user/py3-zope-interface/APKBUILD
new file mode 100644
index 000000000..22a8be4dc
--- /dev/null
+++ b/user/py3-zope-interface/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-zope-interface
+_pkgname=zope.interface
+pkgver=4.5.0
+pkgrel=0
+pkgdesc="Separate distribution of the zope.interface package used in Zope"
+url="https://zopeinterface.readthedocs.io"
+arch="all"
+license="ZPL-2.1"
+depends="python3 py3-zope-event"
+makedepends="python3-dev"
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py test
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="d3a256723901bf505e4caa0f9988814cd583aefa1adced7ea9ce0a9130e67909f8d6b5dd20d986182a34ea216d63aec1aa4513fc76110e6d96a43a49f1719ee1 zope.interface-4.5.0.tar.gz"