From 9b076d056e4795e36d84558c2fb4a2a26ef4b366 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 8 Sep 2019 18:19:04 -0300 Subject: testing/py3-gitpython: new aport https://github.com/gitpython-developers/GitPython Python3 Git Library --- testing/py3-gitpython/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-gitpython/APKBUILD (limited to 'testing/py3-gitpython/APKBUILD') diff --git a/testing/py3-gitpython/APKBUILD b/testing/py3-gitpython/APKBUILD new file mode 100644 index 00000000000..9bbf40d58c0 --- /dev/null +++ b/testing/py3-gitpython/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Leo +# Maintainer: Leo +pkgname=py3-gitpython +pkgver=3.0.2 +pkgrel=0 +pkgdesc="Python3 Git Library" +options="!check" # Requires unpackaged 'ddt' +url="https://github.com/gitpython-developers/GitPython" +arch="noarch" +license="BSD-3-Clause" +depends="python3 py3-gitdb2" +makedepends="python3-dev py3-setuptools" +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() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="242999137a72104b56536d1fa5541b005f9e545399de467d82e6db696b75838320140437df230672fca8683321a23b0bae6e30ac2c3c1808792b8e7bd1c9da55 py3-gitpython-3.0.2.tar.gz" -- cgit v1.2.3