1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 20:55:19 +03:00
aports/community/py3-gitpython/APKBUILD

29 lines
838 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-gitpython
pkgver=3.1.3
pkgrel=0
pkgdesc="Python3 Git Library"
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="https://pypi.python.org/packages/source/G/GitPython/GitPython-$pkgver.tar.gz"
options="!check" # Tests require a specific git configuration
builddir="$srcdir/GitPython-$pkgver"
build() {
python3 setup.py build
}
check() {
nosetests
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ea4043c8be79cec7ffc9c6b6383be37dcf7b4a877cf02d6fc8c9e7d39a5005e088c8780dd6e0fcd72c0711c997228f417773c82572f569c5ca1128f5ebe56736 GitPython-3.1.3.tar.gz"