testing/py3-boltons: new aport

https://github.com/mahmoud/boltons
Bolted-on functionality for python3
This commit is contained in:
Leo 2019-08-01 20:51:34 -03:00
parent 01511c2fb7
commit ef7cb4509f

View File

@ -0,0 +1,28 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-boltons
pkgver=19.1.0
pkgrel=0
pkgdesc="Bolted-on functionality for python3"
url="https://github.com/mahmoud/boltons"
arch="all"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="$pkgname-$pkgver.tar.gz::https://github.com/mahmoud/boltons/archive/$pkgver.tar.gz"
builddir="$srcdir/boltons-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b7e819013fea89e33658505a528342e47389ab458dac1a9edb355c25a41fd11019f6b16c55ffb600dbdcb85166eef8916b97099554792d1dcc659f94140c7d50 py3-boltons-19.1.0.tar.gz"