diff options
author | Denis Reva <denis7774@gmail.com> | 2020-06-10 16:30:53 +0500 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-06-20 22:30:52 +0200 |
commit | f7d376fe8ef2c3fb22ab0b507381b71f5ce90b63 (patch) | |
tree | f17e947b3bfd52c23589fe66ad0cecfe7078b00c /dev-vcs | |
parent | mail-filter/spamassassin: Add example geoip.cf (diff) | |
download | gentoo-f7d376fe8ef2c3fb22ab0b507381b71f5ce90b63.tar.gz gentoo-f7d376fe8ef2c3fb22ab0b507381b71f5ce90b63.tar.bz2 gentoo-f7d376fe8ef2c3fb22ab0b507381b71f5ce90b63.zip |
dev-vcs/tortoisehg-5.4.1: updated version
Updated version to 5.4.1. I had to use direct
download from bitbucket and had to use magic
numbers, but that does not seems like great
trouble
Anyway, it also updates to latest mercurial
and all seems working except python3_8 that I
still simply does not test
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Denis Reva <denis7774@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16162
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/tortoisehg/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/tortoisehg/tortoisehg-5.4.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest index 7302e05825fb..9d19f8ef68d2 100644 --- a/dev-vcs/tortoisehg/Manifest +++ b/dev-vcs/tortoisehg/Manifest @@ -1 +1,2 @@ DIST tortoisehg-5.3.2.tar.gz 8910859 BLAKE2B 4cc2253f0adbd79fe84507043491198ddd9fa559c3e9296c831b8e0fccd6cb2806a31ffd6d417591f5fcb3afce78e696f7052d70b760a566bf72c6602ca31ea8 SHA512 b15894158a0d5e628015d07b4f8c77c96f3e1d7543fe2984693b99b2acfa411922b06683e62de437cb50dd5817155d4e59045d7fb47c9be8ee27b9bccf77da7e +DIST tortoisehg-5.4.1.tar.gz 8580608 BLAKE2B db66e114d046fdf2228779a2e224c6244afe4e6463d8f00b7f3b291f0dc9fd043ca3e938a6769e3c6a54ec4d2252dca44fedf790ca9683fa42a55d0cdfce0cb9 SHA512 f8d4bda4ac23b49f304e3561930b75f899ac09937b4da446ee3f38236fa0095e19228dc2e388d5608077096209ded161d194f6edef5d2d4a257b5bf57c0634cc diff --git a/dev-vcs/tortoisehg/tortoisehg-5.4.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-5.4.1.ebuild new file mode 100644 index 000000000000..22bb6864ee17 --- /dev/null +++ b/dev-vcs/tortoisehg/tortoisehg-5.4.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit desktop distutils-r1 + +KEYWORDS="~amd64 ~arm64 ~x86" +SRC_URI="https://bitbucket.org/tortoisehg/thg/get/${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Set of graphical tools for Mercurial" +HOMEPAGE="https://tortoisehg.bitbucket.io/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc" +S_MAGIC="290ae7c8fa05" +S="${WORKDIR}/tortoisehg-thg-${S_MAGIC}" +distutils_enable_sphinx html + +RDEPEND=">=dev-vcs/mercurial-5.4[${PYTHON_USEDEP}] + <dev-vcs/mercurial-5.5[${PYTHON_USEDEP}] + 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}" + +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" + distutils-r1_python_prepare_all +} + +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() { + 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." +} |