diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-11-10 10:00:05 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-11-10 10:00:47 +0100 |
commit | ee942bf0171c70df61a2a1d483e7d8cae57ff4d6 (patch) | |
tree | c75a3e017cac965a4e1d83114be9289decd8e22e /dev-vcs | |
parent | dev-vcs/mercurial: Bump to version 3.6.1 (diff) | |
download | gentoo-ee942bf0171c70df61a2a1d483e7d8cae57ff4d6.tar.gz gentoo-ee942bf0171c70df61a2a1d483e7d8cae57ff4d6.tar.bz2 gentoo-ee942bf0171c70df61a2a1d483e7d8cae57ff4d6.zip |
dev-vcs/tortoisehg: Bump to version 3.6
Package-Manager: portage-2.2.24
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/tortoisehg/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/tortoisehg/tortoisehg-3.6.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest index 7435a3b0f877..908081efb81c 100644 --- a/dev-vcs/tortoisehg/Manifest +++ b/dev-vcs/tortoisehg/Manifest @@ -3,3 +3,4 @@ DIST tortoisehg-3.3.3.tar.gz 8230380 SHA256 a22ec794b0152b25b085447a253594dde27f DIST tortoisehg-3.4.2.tar.gz 8205349 SHA256 d22692166dc6ff61c9d12bfe5ceb77fbf87e7dd52222c956976e7987d84145a1 SHA512 f771536508f1c72c15b1fe7fbf5b3ef6dafbb14314db45776632231dd2d74b46b862476fe78505a08b2271c2ce6419926e6090a2e0a6451da60314ba154fe9f4 WHIRLPOOL cfe0db33da10b2fcafff3e831937488a276924420cfff8a50396e0109c3edef7fb182036d38b72ff8fbf6aafae714eb1b6c4caf109938361babf04eed3addce4 DIST tortoisehg-3.5.1.tar.gz 7396361 SHA256 49ce7b492f38b54b0095d79b8122fb4f4d60947e2d5ac68072a70526ef0a6450 SHA512 24706bbc8eb92380b643488066b922b8c6fc460caedac447e9fb6803b22ffc4039e918a892052a0b2fcdc2d22e5b334d338728076f89a1d4fbc8699ac1f721eb WHIRLPOOL 523ae72ba483dc171f8b9de92500ca71d6e22c9e485aec0d33a3d710b7fad899a9b4342eab4938d2cb40e9b1350b42f7a5f8921444cc97a1225161bd6762e48f DIST tortoisehg-3.5.2.tar.gz 7399407 SHA256 f5d36d8f19b508dd00a7ac720af3889defd40e99fcb60d907a0fefb9c867dd63 SHA512 43ab341b4b01b2b28a9ac4290c9902720a10094390d323ab0c4e0962276cd333def7bec818e59a8bbacac9390cb22fd310875eb58f7092573c1254c517ada310 WHIRLPOOL c49707205e06fe269be3c69330d78ca8194a54d709b9056bea502403b4e047a1da46f1cd73ca5d7b052aab6f0d4b3ae4aa93f0544b78f12a6a9ffd8459edfb37 +DIST tortoisehg-3.6.tar.gz 7439819 SHA256 ec43d13f029bb23a12129d2a2c3b3b4daf3d8121cbb5c9c23e4872f7b0b75ad8 SHA512 2a0b90f3a7c0fdcb63f21c7885ebfa26de5da369b6a64b12282b72e144ef1c12a29a78f793c487f37dd5bf7b7ab93d3c6ea393c4607deabe5b0c4be7eb16342d WHIRLPOOL 73684fa3912c3fb1e7b8878ef20a1b1b49bc28cfde707ab626549e076bc176edd94b96f8ae67ae05e7a6a98389262b5872595c1d057369b4f928c391f03c72e8 diff --git a/dev-vcs/tortoisehg/tortoisehg-3.6.ebuild b/dev-vcs/tortoisehg/tortoisehg-3.6.ebuild new file mode 100644 index 000000000000..a4a2d28c129e --- /dev/null +++ b/dev-vcs/tortoisehg/tortoisehg-3.6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +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.5 <dev-vcs/mercurial-3.7" +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." +} |