mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-vcs/git-cola: drop 4.13.0
Closes: https://github.com/gentoo/gentoo/pull/45062 Signed-off-by: David Roman <droman@ifae.es> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
0993f722a6
commit
9d56960147
@ -1,4 +1,3 @@
|
||||
DIST git-cola-4.13.0.tar.gz 1276304 BLAKE2B 2e75241ed1c528478199aa9977776ceafc8ba72c5b674bc69aceaceb44b1b44db138ac98ea4441100f586dd0940ffcf18b9b64d70a464cbe957d40fe7878dcca SHA512 57b74cf98b6ec72946d730a5e59fbe4e57edaefa7b935a1d757e43e4faea6bc5d1752fbf37767250120d7192cb131c6565b6577e1857c3c6ad48ab6518f21316
|
||||
DIST git-cola-4.14.0.tar.gz 1338074 BLAKE2B b6371bd91700f4702e063314bf28f834c3749d2041f0e65598af5e4beb4fcb905f3cd375c957a05f4a4b9fd463f732645ff644ef38ab097d12726512ef300468 SHA512 9b5cc0039cf6b47fe4524f1b672681ea2c0a3883e7761096256291b0ddb485df02b50bc35e7329edb4d3346841195f07f50123aadc2fa1e41196c5795e4f3011
|
||||
DIST git-cola-4.15.0.tar.gz 1340351 BLAKE2B 3adfb6a419f9e39d6af30ff975f49e52d8260928728a4d9a267e2742720da9a6b487a7f5ad1eacec822e3a0225e31599ebea448b0c21803442b33dd4e6d70eba SHA512 c7fbc875beef606709339fdcb44b4ee0e6ed017f47b685b6ecb2a4c573eeb6ef2aeb9a96a0a925501eb8f0f735779dc9257abd2e77755beae90c2579c9e4fd00
|
||||
DIST git-cola-4.16.1.tar.gz 1342468 BLAKE2B e8d9b9c829d6be7d17c5da4d3a7ac09ea839c254773b6caab8eda56bf3b584bd85519d23563da587756500e297ee5d6676378cdf704002be00d44a43637b9849 SHA512 78e0ddb3bdfce3499e53faad9421829febd1306d52b48d9bf5f631386ca0630d8295ab43ca2d4a56e98cb8a02cee6fcdf3789dd6b2dd1f6224470e562d874a76
|
||||
|
||||
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit desktop distutils-r1 optfeature readme.gentoo-r1 virtualx xdg
|
||||
|
||||
DESCRIPTION="The highly caffeinated git GUI"
|
||||
HOMEPAGE="https://git-cola.github.io/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/polib[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/qtpy[pyqt6,gui,network,${PYTHON_USEDEP}]
|
||||
')
|
||||
dev-vcs/git
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
$(python_gen_cond_dep "
|
||||
dev-python/setuptools-scm[\${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[\${PYTHON_USEDEP}]
|
||||
dev-python/qtpy[pyqt6,gui,network,\${PYTHON_USEDEP}]
|
||||
)
|
||||
")
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
'dev-python/rst-linker'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# remove bundled qtpy and polib
|
||||
rm -Rf qtpy cola/polib.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
GIT_CONFIG_NOSYSTEM=true LC_ALL="C.UTF-8" \
|
||||
epytest "${S}"/test
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION=${PV} distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
domenu share/applications/*.desktop
|
||||
doicon -s scalable cola/icons/git-cola.svg
|
||||
|
||||
# patch the binaries to use desired qtpy backend
|
||||
sed -i "s|import sys|import sys\nimport os\nos.environ['QT_API'] = 'pyqt6'\n|" "${D}"/usr/bin/* || die
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
optfeature "enable desktop notifications" dev-python/notify2
|
||||
optfeature "enables Send to Trash feature" dev-python/send2trash
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user