mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
29 lines
858 B
Text
29 lines
858 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
|
pkgname=py3-gitpython
|
|
pkgver=3.0.4
|
|
pkgrel=0
|
|
pkgdesc="Python3 Git Library"
|
|
options="!check" # Tests require a specific git configuration
|
|
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="$pkgname-$pkgver.tar.gz::https://github.com/gitpython-developers/GitPython/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/GitPython-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
nosetests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="47cf41e0c4120faff2d85723b85859d0c559f31f2ebbd43dd018334d55f80d183f22f0f90e02e0eadd43e8795bed37b37e65634e68dddc872d1e31ad9a2d8dc6 py3-gitpython-3.0.4.tar.gz"
|