summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-09-19 11:09:52 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-09-19 11:14:22 +0200
commit4ab8f27dbe5e7abfe633d391254b495d2c21eee2 (patch)
tree688735a8bf98f2da342b0803d816dfc1e3010675 /dev-vcs
parentmedia-video/ffmpeg: bump to 2.8.8 (diff)
downloadgentoo-4ab8f27dbe5e7abfe633d391254b495d2c21eee2.tar.gz
gentoo-4ab8f27dbe5e7abfe633d391254b495d2c21eee2.tar.bz2
gentoo-4ab8f27dbe5e7abfe633d391254b495d2c21eee2.zip
dev-vcs/tortoisehg: Bump to version 3.9.1
Package-Manager: portage-2.3.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/tortoisehg/Manifest1
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-3.9.1.ebuild78
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
index 2ac62465d3f6..53372797018b 100644
--- a/dev-vcs/tortoisehg/Manifest
+++ b/dev-vcs/tortoisehg/Manifest
@@ -1,3 +1,4 @@
DIST tortoisehg-3.7.3.tar.gz 7806350 SHA256 b0055ef6bee59244356179d5af98ffe200388133b17cd4ab5831b979b78a50ed SHA512 5ff57b98b93083cc78e161566f045474e70d474dab98ee99eaa6f453ac2521276a8384563a2e738a786a3c9cbe4c118837a8c534cfd4671c323eab261252e6f9 WHIRLPOOL 9a6e573b22b6dcf328a656dcd9e4f2bd500fc74f03f6d9ee8d350ec35cd7a02f239f6aa290b6ff9414d4b7aedde0b3003296f3520463669ce4f9b75a85a820ba
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.tar.gz 7816824 SHA256 7f0eac2bb1d2540a05993390f1ebdaa62f2a98160eeee6e8129a665c4d88c19e SHA512 5b67a98e9503974d7dfe001178c3343f7426a17b2ddc5f9ad67fd3c7a372a5d153903ec40e2906a3eefa6c8b994a9f08b0f6d8733668b15731e8bd6fc8a5b69a WHIRLPOOL 15dc2361bbae3a1829e0b0e3d96ffeb5d05f3f76a703ab362fc004b471046bf1d7c7310681446a06ab2492d64c92681e493e7fca5eb8241682639318ca060fb4
diff --git a/dev-vcs/tortoisehg/tortoisehg-3.9.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-3.9.1.ebuild
new file mode 100644
index 000000000000..d6b86c8f9a81
--- /dev/null
+++ b/dev-vcs/tortoisehg/tortoisehg-3.9.1.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.8 <dev-vcs/mercurial-3.10"
+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."
+}