aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-construct
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:09:35 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:29:46 +0200
commit70158a553cea8dd812f7d3c856cd5de3f05d687e (patch)
treee944bb4bf6f0e9a16c5c1f2418c9622f1cc57e25 /community/py3-construct
parent52eb830085eaa077e42ce347781520652bc76f9b (diff)
downloadaports-70158a553cea8dd812f7d3c856cd5de3f05d687e.tar.bz2
aports-70158a553cea8dd812f7d3c856cd5de3f05d687e.tar.xz
community/py3-construct: move from testing
Diffstat (limited to 'community/py3-construct')
-rw-r--r--community/py3-construct/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-construct/APKBUILD b/community/py3-construct/APKBUILD
new file mode 100644
index 0000000000..5ce7ef08a4
--- /dev/null
+++ b/community/py3-construct/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-construct
+pkgver=2.9.45
+pkgrel=0
+pkgdesc="A powerful declarative symmetric parser/builder for binary data"
+url="http://construct.readthedocs.org/"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="python3-dev py3-setuptools"
+options="!check" # no tests
+source="https://pypi.io/packages/source/c/construct/construct-$pkgver.tar.gz"
+builddir="$srcdir/construct-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="630facbb719d2db976c1547d66f63037f38379110ff4f1f796bc51e1d2d3efd637b5349d46f171501d981a193bc06f0636832ffa82e0099b7262c407383c735b construct-2.9.45.tar.gz"