1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-gitpython/APKBUILD
2023-02-17 10:22:48 +01:00

41 lines
955 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-gitpython
pkgver=3.1.31
pkgrel=0
pkgdesc="Python3 Git Library"
url="https://github.com/gitpython-developers/GitPython"
arch="noarch"
license="BSD-3-Clause"
depends="
git
py3-gitdb2
py3-typing-extensions
python3
"
makedepends="py3-setuptools"
checkdepends="
py3-pytest
py3-pytest-cov
py3-pytest-sugar
py3-toml
"
source="https://github.com/gitpython-developers/GitPython/archive/$pkgver/GitPython-$pkgver.tar.gz"
builddir="$srcdir/GitPython-$pkgver"
build() {
python3 setup.py build
}
check() {
# There are more tests but they require a specific git configuration
pytest test/test_config.py
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
777c54489fdf81ed5ea6c80560d19fef44800164293e623b88a3edeae53a0619a1dc872ea3c50424ebf75321860b51574442e959cc1791df394acc033de52f75 GitPython-3.1.31.tar.gz
"