aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-construct/APKBUILD
blob: 036fe09580f5cd05d62bba900df098e5b5bda933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-construct
pkgver=2.9.45
pkgrel=1
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"