Leo 6bec8e1c73 testing/py3-gitpython: make progress on tests
thanks to @prspkt for bringing ddt into attention
2019-09-08 20:03:06 -03:00

30 lines
858 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-gitpython
pkgver=3.0.2
pkgrel=0
pkgdesc="Python3 Git Library"
options="!check" # Tests require a specific git configuration
url="https://github.com/gitpython-developers/GitPython"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-gitdb2"
makedepends="py3-setuptools"
checkdepends="py3-ddt py3-nose"
source="$pkgname-$pkgver.tar.gz::https://github.com/gitpython-developers/GitPython/archive/$pkgver.tar.gz"
builddir="$srcdir/GitPython-$pkgver"
build() {
python3 setup.py build
}
check() {
nosetests
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="242999137a72104b56536d1fa5541b005f9e545399de467d82e6db696b75838320140437df230672fca8683321a23b0bae6e30ac2c3c1808792b8e7bd1c9da55 py3-gitpython-3.0.2.tar.gz"