mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-26 11:02:20 +01:00
30 lines
877 B
Plaintext
30 lines
877 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-gitpython
|
|
pkgver=3.1.11
|
|
pkgrel=0
|
|
pkgdesc="Python3 Git Library"
|
|
url="https://github.com/gitpython-developers/GitPython"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-gitdb2 git"
|
|
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="c17130909e391fd5601643a70546016ca37e868113a6304bd5e5a155833a8f220ffeebee28c356a7fd58ba4023e2c725f20807949f1efc13e1006533c89a169d GitPython-3.1.11.tar.gz"
|