1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-libmdbx/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

28 lines
818 B
Text

# Maintainer: Noel Kuntze <noel.kuntze@contauro.com>
pkgname=py3-libmdbx
pkgver=0.10.2
pkgrel=4
pkgdesc="Python bindings for libmdbx"
url="https://gitlab.com/thermi/py3-libmdbx/"
arch="noarch !ppc64le" # test case segfaults in ppc64le
license="OLDAP-2.8"
depends="libmdbx"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="py3-libmdbx-$pkgver.tar.gz::https://gitlab.com/Thermi/py3-libmdbx/-/archive/v$pkgver/py3-libmdbx-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD" python3 -m pytest .
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="3014aa59b7b00c53442b9d2ad2a4ca55f61381c754ea8df1d38d6e26b5ab9109564026efc533a13f4d15fe7a45dbe507a75928a6b47932c89fe7a1d977dc38c4 py3-libmdbx-0.10.2.tar.gz"