mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +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
30 lines
776 B
Text
30 lines
776 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-validators
|
|
pkgver=0.20.0
|
|
pkgrel=0
|
|
pkgdesc="Python3 Data Validation for Humans"
|
|
url="https://github.com/kvesteri/validators"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-six py3-decorator"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-isort py3-pytest py3-flake8"
|
|
source="https://files.pythonhosted.org/packages/source/v/validators/validators-$pkgver.tar.gz"
|
|
builddir="$srcdir/validators-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
2f3d9caac9246b346e10604758168092ac483fe6e4a0c9470900e49719fbbebfd18e03aca525f8cca33cec224589aee28de3ea9bf5cd4941a49715d4216dba20 validators-0.20.0.tar.gz
|
|
"
|