mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
29 lines
827 B
Text
29 lines
827 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-gitpython
|
|
pkgver=3.1.1
|
|
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="7848e9a0ab2dafd87234e71ef528766eaf9e806a2ea02be449a511da6c75a573243e0e7e5422ee692c4f1ce75d8bced60ba7ef09b645e5bedbf6d80321ce3cf9 py3-gitpython-3.1.1.tar.gz"
|