1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-gitdb2/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

30 lines
769 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-gitdb2
pkgver=4.0.10
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 --skip-build --root="$pkgdir"
}
sha512sums="
c13d9c37456ba640c7206cb0920b76b94ddb378df182d4492d4dcc271cafc5cd86cc3e2a5ffe12e3315d762c46b9db2e32ab08de79bf91f6bdcd72fa7ced46e2 py3-gitdb2-4.0.10.tar.gz
"