mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-06 08:22:28 +01:00
30 lines
827 B
Plaintext
30 lines
827 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-gitpython
|
|
pkgver=3.1.2
|
|
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="7a07f3f609e75b3acd103755478510c83d13e1267473ffd395af4af536ed0f0df2f73c35495940c331d3d746fb3c6e4a52a13fa4de72fddb37c8255697c14318 py3-gitpython-3.1.2.tar.gz"
|