mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 01:52:38 +01:00
34 lines
883 B
Plaintext
34 lines
883 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-gitpython
|
|
pkgver=3.1.13
|
|
pkgrel=0
|
|
pkgdesc="Python3 Git Library"
|
|
url="https://github.com/gitpython-developers/GitPython"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
git
|
|
py3-gitdb2
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="971102745e8712be0128a63b8e3ceed8dc5ba236687e89c4f358bac73fedd7fe87836250ce10a9671c6626168e43a17dace4ad5943dab02da2b2df36d4be67a9 GitPython-3.1.13.tar.gz"
|