mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-vcs/tortoisehg: drop 6.6.3, 6.6.3-r1
Closes: https://bugs.gentoo.org/948006 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST tortoisehg-6.6.3.tar.gz 8857342 BLAKE2B 166d1305ed3ee54496b3e0b08fc92a34a56a9398aa618a0f2266e7413fafc371be3c308debc3260a15b59c147a00bbe0773df52a838c4a4f0028b29c1cb05090 SHA512 8de8a68a753e8554dcb9936f6ba237e0598df65e6039f7c608e692bc375258e64a443e27e63c337f361fc32c0076b79bd98a972c220089902ff4489ab3507928
|
||||
DIST tortoisehg-6.9.tar.gz 8862668 BLAKE2B b7f917a8c9f0ca575e27ab1670bfe940e6257940691c53fca464b4012417283c9915fe5f604b0c1a5cb7f620ce20b47e945bb9e88b301f7ac036c19fcb4508b5 SHA512 f9f7ed9c3a1cdf633c453a12c7f68505027975fbd858c4e9cd4ce09920126f22043c1621a5d949391d31a9a13331cee2466d718635aa16dc8558bac5536d14fb
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit desktop distutils-r1 optfeature xdg-utils
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HG_DEPEND=">=dev-vcs/mercurial-6.2[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-vcs/mercurial-6.3.2[${PYTHON_USEDEP}]' python3_11 )
|
||||
<dev-vcs/mercurial-6.7[${PYTHON_USEDEP}]"
|
||||
S="${WORKDIR}/thg-${PV}"
|
||||
else
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://foss.heptapod.net/mercurial/${PN}/thg"
|
||||
EHG_REVISION="stable"
|
||||
HG_DEPEND=">=dev-vcs/mercurial-6.2[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Set of graphical tools for Mercurial"
|
||||
HOMEPAGE="https://tortoisehg.bitbucket.io/"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${HG_DEPEND}
|
||||
dev-python/iniparse[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pyqt6[network,svg,${PYTHON_USEDEP}]
|
||||
>=dev-python/qscintilla-2.14.1-r1[qt6(+),${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc/source
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove file that collides with >=mercurial-4.0 (bug #599266).
|
||||
rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py"
|
||||
|
||||
sed -i -e 's:share/doc/tortoisehg:share/doc/'"${PF}"':' setup.py || die
|
||||
export THG_QT_API=PyQt6
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} tests/run-tests.py -m 'not largefiles' --disable-pytest-warnings --doctest-modules tests || die "Tests failed with ${EPYTHON}"
|
||||
${EPYTHON} tests/run-tests.py -m largefiles --disable-pytest-warnings tests || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
export THG_QT_API=PyQt6
|
||||
distutils-r1_python_install_all
|
||||
dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
|
||||
newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
|
||||
domenu contrib/thg.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
elog "When startup of ${PN} fails with an API version mismatch error"
|
||||
elog "between dev-python/sip and dev-python/pyqt6 please rebuild"
|
||||
elog "dev-python/qscintilla."
|
||||
|
||||
optfeature "the core git extension support" dev-python/pygit2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit desktop distutils-r1 optfeature xdg-utils
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HG_DEPEND=">=dev-vcs/mercurial-6.2[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-vcs/mercurial-6.3.2[${PYTHON_USEDEP}]' python3_11 )
|
||||
<dev-vcs/mercurial-6.7[${PYTHON_USEDEP}]"
|
||||
S="${WORKDIR}/thg-${PV}"
|
||||
else
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://foss.heptapod.net/mercurial/${PN}/thg"
|
||||
EHG_REVISION="stable"
|
||||
HG_DEPEND=">=dev-vcs/mercurial-6.2[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Set of graphical tools for Mercurial"
|
||||
HOMEPAGE="https://tortoisehg.bitbucket.io/"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${HG_DEPEND}
|
||||
dev-python/iniparse[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pyqt5[network,svg,${PYTHON_USEDEP}]
|
||||
>=dev-python/qscintilla-2.11.6[qt5(+),${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc/source
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove file that collides with >=mercurial-4.0 (bug #599266).
|
||||
rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py"
|
||||
|
||||
sed -i -e 's:share/doc/tortoisehg:share/doc/'"${PF}"':' setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} tests/run-tests.py -m 'not largefiles' --disable-pytest-warnings --doctest-modules tests || die "Tests failed with ${EPYTHON}"
|
||||
${EPYTHON} tests/run-tests.py -m largefiles --disable-pytest-warnings tests || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
|
||||
newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
|
||||
domenu contrib/thg.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
elog "When startup of ${PN} fails with an API version mismatch error"
|
||||
elog "between dev-python/sip and dev-python/pyqt5 please rebuild"
|
||||
elog "dev-python/qscintilla."
|
||||
|
||||
optfeature "the core git extension support" dev-python/pygit2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user