mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
36 lines
976 B
Text
36 lines
976 B
Text
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
|
|
# Maintainer:
|
|
pkgname=git-cola
|
|
pkgver=4.1.0
|
|
pkgrel=0
|
|
pkgdesc="GUI application for git built on Python & Qt5"
|
|
url="https://git-cola.github.io"
|
|
arch="noarch !armhf" # qtdeclarative
|
|
license="GPL-2.0-or-later"
|
|
depends="python3 py3-qt5 py3-qtpy"
|
|
makedepends="py3-setuptools py3-setuptools_scm py3-gpep517 py3-installer py3-wheel"
|
|
checkdepends="py3-pytest py3-pytest-flake8"
|
|
subpackages="$pkgname-doc"
|
|
source="git-cola-$pkgver.tar.gz::https://github.com/git-cola/git-cola/archive/v$pkgver.tar.gz"
|
|
# testsuite hangs after a while.
|
|
options="!check"
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 1
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/git_cola*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
4d2617947d4dbf3273f02c072de5ede10a656981f3653273780e2c1b1d3d613cd359fbb93cfb0a1d5de24b0c90818503cd9041ad3fa1a05b2ecd2db305bbe1a0 git-cola-4.1.0.tar.gz
|
|
"
|