1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/git-archive-all/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
898 B
Text

# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=git-archive-all
pkgver=1.23.1
pkgrel=1
pkgdesc="Wrapper for git-archive that archives a git superproject and its submodules"
url="https://github.com/Kentzo/git-archive-all"
arch="noarch"
options="!check" # broken testsuite
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pycodestyle py3-pytest py3-pytest-cov py3-pytest-mock"
source="$pkgname-$pkgver.tar.gz::https://github.com/Kentzo/git-archive-all/archive/refs/tags/$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
2d72551ae8dd41b40984ff5a5efebece7989e212345193f624979772755af570ba4e6147d73ee542f19fc38b90cabd617ec41f20ba4a0128c4fb01000c48ccef git-archive-all-1.23.1.tar.gz
"