1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-construct/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

29 lines
783 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-construct
pkgver=2.10.68
pkgrel=1
pkgdesc="A powerful declarative symmetric parser/builder for binary data"
url="https://construct.readthedocs.io/en/latest/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev py3-setuptools"
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 check
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
ac38d244425e08cad082cabb4e41383c181c286fc5b03fdc4745dad85cdc99bb45832ca95697cd8fe8d6290ea61cb59b0bf5614c93c3783d30fb1efae8fe7243 construct-2.10.68.tar.gz
"