mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
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
29 lines
842 B
Text
29 lines
842 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-pykwalify
|
|
_pyname=pykwalify
|
|
pkgver=1.8.0
|
|
pkgrel=4
|
|
pkgdesc="Python YAML/JSON schema validation library"
|
|
url="https://github.com/Grokzen/pykwalify"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-docopt py3-ruamel.yaml py3-dateutil"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-testfixtures"
|
|
source="https://github.com/Grokzen/pykwalify/archive/$pkgver/pykwalify-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="cdc815017b91b3bc0e58652ca69351bee1ea0b61b3a37de1209005958314c230d80573d9b77af77d68ba54b98aa8b40d593191f8a8f3d4a2c4c693c6cb42f9e7 pykwalify-1.8.0.tar.gz"
|