diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-04-07 14:31:25 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-04-07 14:51:02 +0200 |
commit | c25af7b211d03b074d0101eef67a22040234f4be (patch) | |
tree | acb33be324d34c56aa33fddc5a9d938a8770a13e /dev-vcs/tortoisehg | |
parent | dev-libs/libindicator: remove old (diff) | |
download | gentoo-c25af7b211d03b074d0101eef67a22040234f4be.tar.gz gentoo-c25af7b211d03b074d0101eef67a22040234f4be.tar.bz2 gentoo-c25af7b211d03b074d0101eef67a22040234f4be.zip |
dev-vcs/tortoisehg: Bump to version 3.7.3
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-vcs/tortoisehg')
-rw-r--r-- | dev-vcs/tortoisehg/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/tortoisehg/tortoisehg-3.7.3.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest index d8d0bed4879d..3c52461eeff1 100644 --- a/dev-vcs/tortoisehg/Manifest +++ b/dev-vcs/tortoisehg/Manifest @@ -5,3 +5,4 @@ DIST tortoisehg-3.5.2.tar.gz 7399407 SHA256 f5d36d8f19b508dd00a7ac720af3889defd4 DIST tortoisehg-3.6.3.tar.gz 7748149 SHA256 99f4ed22082e8c9d7e52f6b0c94d0835cf40aa5a1624f07bb7839d7891ca843b SHA512 5b6fdf8b4233d6802aa0e501e9f9c22ee44391461c0552d73f65a6c26e041ac11efe0ad703558e1f589e421d8759ea0052c634960e51738cc2534d9a73030c1b WHIRLPOOL 9ab2d97658d8e82eb9d12a7be6349fff37e2b8642ff471ac2e30c9f65465f4d9dca86582968bf889e075574c300247583c60152220cd5024ad51f1109abd9431 DIST tortoisehg-3.7.1.tar.gz 7770904 SHA256 6612dacc2a41f259382ce321fc3dff9630327508062b56744a3a87c9ed448ef9 SHA512 5d4302c6b5db6dc3feaf0fd045500c574bb9eb8de7d7c00b54c6122c80af6eed9fc173173ba23f86aaa06728ec115635caeea5c10d079976e2a6a1c8bab10e3a WHIRLPOOL 06cdbbf7e86170ccd74a7e8cce5527ac7a3e020c13146134dc771bf34667f8ff6623b7ccc674d7b4a14f214e033ed006c5e6d657098c55dc8b970cfe5e5517f4 DIST tortoisehg-3.7.2.tar.gz 7806000 SHA256 59400f8c735763d608c27e500f0948fbd6b73967c42c266da915ca899ba9f5ed SHA512 66cb4e188e523c6b4923974d922708fced751c06ad1f335cd7721a9cc114c858a0f8d720b88856146fa3ed926fad499e2bbbc48d6a3661707168c50eae36cbf2 WHIRLPOOL 1fecc1ba227636e27ec931a588e2ad8c3ed0aba3f826b85ca4dd7ba21dfc8ba1cf9ada2c7ffd8d660a2159ebee6eb437be6343040a82a7ebea54317a733400df +DIST tortoisehg-3.7.3.tar.gz 7806350 SHA256 b0055ef6bee59244356179d5af98ffe200388133b17cd4ab5831b979b78a50ed SHA512 5ff57b98b93083cc78e161566f045474e70d474dab98ee99eaa6f453ac2521276a8384563a2e738a786a3c9cbe4c118837a8c534cfd4671c323eab261252e6f9 WHIRLPOOL 9a6e573b22b6dcf328a656dcd9e4f2bd500fc74f03f6d9ee8d350ec35cd7a02f239f6aa290b6ff9414d4b7aedde0b3003296f3520463669ce4f9b75a85a820ba diff --git a/dev-vcs/tortoisehg/tortoisehg-3.7.3.ebuild b/dev-vcs/tortoisehg/tortoisehg-3.7.3.ebuild new file mode 100644 index 000000000000..3b0a0c0fca0c --- /dev/null +++ b/dev-vcs/tortoisehg/tortoisehg-3.7.3.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.6 <dev-vcs/mercurial-3.8" +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." +} |