1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/py3-validators/APKBUILD

28 lines
803 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-validators
pkgver=0.14.3
pkgrel=0
pkgdesc="Python3 Data Validation for Humans"
url="https://github.com/kvesteri/validators"
arch="all"
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 --prefix=/usr --root="$pkgdir"
}
sha512sums="ea2fc81a63f24d64d2933220ed7674ae9733673c208906d3090bc10bf2119965834759015deedfea218306b1b29e8ff6937698e3b5de73494236516656a16096 validators-0.14.3.tar.gz"