summaryrefslogtreecommitdiff
path: root/dev-vcs/tortoisehg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-24 02:11:45 +0100
commitb49088575eb777ced2551f484da86317332d6087 (patch)
treebf9a151cf2d61956340d555659ffc098ee1da466 /dev-vcs/tortoisehg
parent514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff)
gentoo resync : 24.07.2021
Diffstat (limited to 'dev-vcs/tortoisehg')
-rw-r--r--dev-vcs/tortoisehg/Manifest6
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-5.8.1.ebuild80
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-5.8.ebuild2
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-9999.ebuild2
4 files changed, 86 insertions, 4 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
index bb6eabd4d62e..b401a6e2a622 100644
--- a/dev-vcs/tortoisehg/Manifest
+++ b/dev-vcs/tortoisehg/Manifest
@@ -1,4 +1,6 @@
+DIST tortoisehg-5.8.1.tar.gz 8636858 BLAKE2B 66473695e1364ff676ab314ce8b5a5e59cbe6ece68795d92278e450f70386a9e047dfd8975e7312bda10c183879d9634767f64a9c916f889f3edcf4847bf2468 SHA512 29903240c5522841e0ddc0f78741d20d589b6b48e82bf38023b87184e987721111a6a9675ccb85a31d9781cf1b8fa3d28801fef5bae187ae467d7da8f1ef982f
DIST tortoisehg-5.8.tar.gz 8636455 BLAKE2B 1f4171ca4eb465aabacaf53b97785c5f05fc501a11329af008695f706d8d2cb9c5eee5e64bb5a60fdf7234f33ed6a937dfacce49cb36ac9e9b8505be271b4f35 SHA512 b9fe80a98cfafe0dbc90be5fe6f83b466fe596b4ec135d0eacc5618e39c0249a3a352bed640a7cecb99d53eaf60908d60d7748009492cbd8202fc191ef428278
-EBUILD tortoisehg-5.8.ebuild 2130 BLAKE2B d839112c2667f8d9c2a1f77e6a39f03bab7e00ffccd7155d0f237aaa02cdad43ee0f765e5abdde2aa0b3f502683a0073594e74242c77872e6183ad17b84d617e SHA512 f2a901430c69089581175679d3af8ddc636d29dc71fbb5c594a6878b6433240d4c067c3e13375f6f9894daaf44cd8b8942c785e7e98efaccc0e77d7246b225bb
-EBUILD tortoisehg-9999.ebuild 2130 BLAKE2B d839112c2667f8d9c2a1f77e6a39f03bab7e00ffccd7155d0f237aaa02cdad43ee0f765e5abdde2aa0b3f502683a0073594e74242c77872e6183ad17b84d617e SHA512 f2a901430c69089581175679d3af8ddc636d29dc71fbb5c594a6878b6433240d4c067c3e13375f6f9894daaf44cd8b8942c785e7e98efaccc0e77d7246b225bb
+EBUILD tortoisehg-5.8.1.ebuild 2130 BLAKE2B b0f89f298951d001f963f03c19d8c7a468d8704b322d844e543ce2212a01a4de5e4507249cd4254a9dee028356d7ea6a69381bca029e693c93ac5323c9c074a7 SHA512 7e15dfe356dd5bc92bd1c97a182726b177a858a7e0d342a45cc8b52451e1bd673bf084feaa982b4a3b978b3e7d31b1d25a9b82d7b811ef39f59db34189a1f707
+EBUILD tortoisehg-5.8.ebuild 2130 BLAKE2B b0f89f298951d001f963f03c19d8c7a468d8704b322d844e543ce2212a01a4de5e4507249cd4254a9dee028356d7ea6a69381bca029e693c93ac5323c9c074a7 SHA512 7e15dfe356dd5bc92bd1c97a182726b177a858a7e0d342a45cc8b52451e1bd673bf084feaa982b4a3b978b3e7d31b1d25a9b82d7b811ef39f59db34189a1f707
+EBUILD tortoisehg-9999.ebuild 2130 BLAKE2B b0f89f298951d001f963f03c19d8c7a468d8704b322d844e543ce2212a01a4de5e4507249cd4254a9dee028356d7ea6a69381bca029e693c93ac5323c9c074a7 SHA512 7e15dfe356dd5bc92bd1c97a182726b177a858a7e0d342a45cc8b52451e1bd673bf084feaa982b4a3b978b3e7d31b1d25a9b82d7b811ef39f59db34189a1f707
MISC metadata.xml 804 BLAKE2B 23d41703f9bdd446ac385fae5919c21684a73c4bfd468f7a0a18c9dc728964e71ee9724dfa4eacb544da54e79c2b9a5f4009ba8318d1e97f2314826cbe4429a9 SHA512 14fcda893984839424b6bcc6d6b0b966edb862fdd3b483f909c552da2775dba413b2155915480526780afec05a5ad7e3652391ccdbe5e76f7daa265fdfd6ef75
diff --git a/dev-vcs/tortoisehg/tortoisehg-5.8.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-5.8.1.ebuild
new file mode 100644
index 000000000000..702819ea4b0b
--- /dev/null
+++ b/dev-vcs/tortoisehg/tortoisehg-5.8.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8..9} )
+
+DISTUTILS_USE_SETUPTOOLS=no
+
+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-5.7[${PYTHON_USEDEP}]
+ <dev-vcs/mercurial-5.9[${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-5.7[${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-python-2.9.4[qt5(+),${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-python/mock
+ dev-python/pytest
+ )
+"
+
+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' --doctest-modules tests || die
+ ${EPYTHON} tests/run-tests.py -m largefiles tests || die
+}
+
+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-python."
+
+ optfeature "the core git extension support" dev-python/pygit2
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-vcs/tortoisehg/tortoisehg-5.8.ebuild b/dev-vcs/tortoisehg/tortoisehg-5.8.ebuild
index f54b981fe3da..702819ea4b0b 100644
--- a/dev-vcs/tortoisehg/tortoisehg-5.8.ebuild
+++ b/dev-vcs/tortoisehg/tortoisehg-5.8.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
DISTUTILS_USE_SETUPTOOLS=no
diff --git a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
index f54b981fe3da..702819ea4b0b 100644
--- a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
+++ b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
DISTUTILS_USE_SETUPTOOLS=no