aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-validators/APKBUILD
blob: fe96ffe04b42a87b7cee09bb5a5bc9aa90090f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-validators
pkgver=0.15.0
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="333b88621133416acf7e9c9746a92f1ae795b579ccc57fd514414ba87eb51ce8eaf496955b91c7d0c2046a52a05afb05c5452f7c1e5f035ea747c28b7d1aea73  validators-0.15.0.tar.gz"