aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-kaitaistruct/APKBUILD
blob: a27dcf14ecbaa9e73c9814fd3c9b87e91a8e28e3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



                                                     
           
        





                                      
                                      










                                                                                                                   


                                                                                                                                                                          
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-kaitaistruct
_pkgname=kaitai_struct_python_runtime
pkgver=0.10
pkgrel=1
pkgdesc="Kaitai Struct API for Python"
url="https://kaitai.io/"
license="MIT"
arch="noarch"
options="!check" # no test suite
depends="python3"
makedepends="py3-setuptools py3-wheel"
source="$_pkgname-$pkgver.tar.gz::https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build
}

sha512sums="
ce22445afe7f6713cccc1ffb0714892dcff171d84b89a0cd49441dd36a464f6c764aa89d75f556d06eee82ab4432af27a0ef4313e47272a5f55fee2dba1252f0  kaitai_struct_python_runtime-0.10.tar.gz
"