mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 13:46:41 +02:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# Maintainer:
|
|
pkgname=git-revise
|
|
pkgver=0.7.0
|
|
pkgrel=5
|
|
pkgdesc="Handy tool for doing efficient in-memory commit rebases & fixups with git"
|
|
url="https://github.com/mystor/git-revise"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 git"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
checkdepends="py3-pytest py3-pytest-xdist py3-tox"
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mystor/git-revise/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
|
.testenv/bin/python3 -m pytest \
|
|
--deselect tests/test_gpgsign.py::test_gpgsign
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
sha512sums="
|
|
2c61df0854b20319286aa6bf663b3a1a1bcddb4b8aa144ce7850fe5a32a26ad861898d00b423a7fe7ace60b7964149470ad2c144eed2b3e1119df0c34acbe04d git-revise-0.7.0.tar.gz
|
|
"
|