diff options
| author | Rasmus Thomsen <oss@cogitri.dev> | 2019-07-26 09:20:05 +0200 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-26 19:04:31 -0300 |
| commit | ad0f8a7ef527b354b80a22fdb35391e7f70e1037 (patch) | |
| tree | 9116db771f519e33b2453a333a58c686cf057bc2 /testing/py3-construct/APKBUILD | |
| parent | 33467425e16df98d223e4ccb2ebc9147762656b8 (diff) | |
| download | aports-ad0f8a7ef527b354b80a22fdb35391e7f70e1037.tar.bz2 aports-ad0f8a7ef527b354b80a22fdb35391e7f70e1037.tar.xz | |
testing/py3-construct: new aport
Diffstat (limited to 'testing/py3-construct/APKBUILD')
| -rw-r--r-- | testing/py3-construct/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-construct/APKBUILD b/testing/py3-construct/APKBUILD new file mode 100644 index 0000000000..5ce7ef08a4 --- /dev/null +++ b/testing/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" |
