1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-coreschema/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
843 B
Text

# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-coreschema
_pkgname=coreschema
pkgver=0.0.4
pkgrel=7
pkgdesc="No description or topics provided"
url="https://github.com/core-api/python-coreschema"
arch="noarch"
license="BSD"
depends="py3-jinja2"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="$pkgname-$pkgver.tar.gz::https://github.com/core-api/python-coreschema/archive/$pkgver.tar.gz"
builddir="$srcdir"/python-$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" py.test-3 tests/
}
package() {
python3 setup.py --quiet install --skip-build --root="$pkgdir"
}
sha512sums="28badbae07284fb4dbd3f01f613edda1202902115fb166bd95bbac549d398c9e02548b473524d3b530a42319a99d7e55e92bf54269827a9812249cfb285670c3 py3-coreschema-0.0.4.tar.gz"