summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-11-07 23:36:27 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-11-07 23:37:26 +0100
commit0ce13c1caeae717593012c75ac1554e3eb228260 (patch)
tree6c4c8f3f1c1e739767662b32749b9214c7110f0f /dev-vcs
parentgnustep-base/gnustep-base: fix hard dep on openssl with USE=libressl (diff)
downloadgentoo-0ce13c1caeae717593012c75ac1554e3eb228260.tar.gz
gentoo-0ce13c1caeae717593012c75ac1554e3eb228260.tar.bz2
gentoo-0ce13c1caeae717593012c75ac1554e3eb228260.zip
dev-vcs/tortoisehg: Bump to version 4.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/tortoisehg/Manifest1
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-4.0.ebuild78
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
index d8ac076ea2bb..f122b60cad15 100644
--- a/dev-vcs/tortoisehg/Manifest
+++ b/dev-vcs/tortoisehg/Manifest
@@ -2,3 +2,4 @@ DIST tortoisehg-3.7.3.tar.gz 7806350 SHA256 b0055ef6bee59244356179d5af98ffe20038
DIST tortoisehg-3.8.4.tar.gz 7817508 SHA256 c8608ab7f063d0edd46c1fdae3181ef8216ea029bca34f180f0adeefc50274f7 SHA512 d9d83007588e8e62a03976a229a7c325e6e7f203d4f8fc74cc32b3f2880a1873237b4c333cfdb0ece6acde51019f6f62a75d863f1f99e8a5930ad17c38c6358b WHIRLPOOL 0ae8136f8de546a50998672bfd892774d4e8497268ffaf1198c84ce725c02080e8631c203103f8c646ef3ad7b69c832124042d6d0c207e90d13e08b532d33862
DIST tortoisehg-3.9.1.tar.gz 7831181 SHA256 d65e72ad543f5c0e9c7380266a6698d95d6d579f37bea3292cd5acc9e7dc7889 SHA512 77835b0379ad03c855bcdccec7c16e56a31a506a5218f458b1b303a485d4cf9dcc52f41a3037ae27df8a7d39fd17668b0302519f0d8fc5b22c09948a7ff52469 WHIRLPOOL f78eee1873117eeab0e1afe2b877899e19ec4923041c20cb6dc2ec8cc792f32af852bdbaf29fbfbea28a329d47dfa8740729ede4c2102df17876ddf31c2a29b6
DIST tortoisehg-3.9.2.tar.gz 7869242 SHA256 02ba49f5c724557b89b7a1d3a2abd1aaee5da4564ff98dd859b69d1f92d38c9f SHA512 42e7dc4d1e76d68fd7a44d772afdb28bac380aad047ee10be6df0b70ad048e8e28361b2d45ee4eaadf7dc1a0f10d7e9bb0cee57bdaf1b284e005b484c6654e29 WHIRLPOOL 068fbbaf7e062cc72010c9bf7ad6525e61560f25bfa1cf0af8cb95a71bf568708dfe1ab3bf32c109c50c8ae9697cb003de938e9343c1f4bc46bcf8c5d3bb09c7
+DIST tortoisehg-4.0.tar.gz 7828059 SHA256 791ffa4270cb2f49454290a30da2a915b31a91b94ebc5546289a125e962f7910 SHA512 e47af4d9f06e9284fdf18216b456b22c74043af3e59b46f086a10c15eca2a644c9ce8836c4ba709ade0a56a79db537c2fd6f407e52318e5352e060f48d86167d WHIRLPOOL 8d2b1dda8717935598cf40a705d2b3d55aa1389f758dc93dc2c807bb5f645c84de607c1f8d834d433cb43373698e2cfb407088836d88ae34c285529dbb9fd6ae
diff --git a/dev-vcs/tortoisehg/tortoisehg-4.0.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.0.ebuild
new file mode 100644
index 000000000000..811a0e69f609
--- /dev/null
+++ b/dev-vcs/tortoisehg/tortoisehg-4.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils
+
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
+ HG_DEPEND=">=dev-vcs/mercurial-3.9 <dev-vcs/mercurial-4.1"
+else
+ inherit mercurial
+ EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
+ EHG_REVISION="stable"
+ KEYWORDS=""
+ SRC_URI=""
+ HG_DEPEND="dev-vcs/mercurial"
+fi
+
+DESCRIPTION="Set of graphical tools for Mercurial"
+HOMEPAGE="https://tortoisehg.bitbucket.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND="${HG_DEPEND}
+ dev-python/iniparse[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/PyQt4[svg,${PYTHON_USEDEP}]
+ dev-python/qscintilla-python[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( >=dev-python/sphinx-1.0.3 )"
+
+# Workaround race condition in build_qt
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_prepare_all() {
+ if [[ ${LINGUAS+set} ]]; then
+ cd i18n/tortoisehg || die
+ local x y keep
+ for x in *.po; do
+ keep=false
+ for y in ${LINGUAS}; do
+ if [[ ${y} == ${x%.po}* ]]; then
+ keep=true
+ break
+ fi
+ done
+ ${keep} || rm "${x}" || die
+ done
+ cd "${S}" || die
+ fi
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
+ if use doc ; then
+ dohtml -r doc/build/html/
+ fi
+ 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/PyQt4 please rebuild"
+ elog "dev-python/qscintilla-python."
+}