aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-gitdb2/APKBUILD
blob: 9f0d8b9dea3182cdf4f750db7888a70da3c24139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-gitdb2
pkgver=3.0.0
pkgrel=0
pkgdesc="Git Object Database"
options="!check" # (failures=1,errors=9)
url="https://github.com/gitpython-developers/gitdb"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-smmap2"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/gitpython-developers/gitdb/archive/$pkgver.tar.gz"
builddir="$srcdir/gitdb-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="057a38ddf559fc8a64491a67783211d17a5136cfd33a1b862f85ecb77efc1ad27da893fa89d32467b74f8f4993948a3c6202fd70e7e62fcd3fb54418c514ec8f  py3-gitdb2-3.0.0.tar.gz"