diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-03-09 08:41:26 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-03-09 09:02:03 +0100 |
commit | b6843e84362950faa74238d5ff50e095537b8c8e (patch) | |
tree | 40fbc138499a16f07553d94838327541a5e597e7 /dev-vcs/tortoisehg | |
parent | net-libs/nodejs: Bump (diff) | |
download | gentoo-b6843e84362950faa74238d5ff50e095537b8c8e.tar.gz gentoo-b6843e84362950faa74238d5ff50e095537b8c8e.tar.bz2 gentoo-b6843e84362950faa74238d5ff50e095537b8c8e.zip |
dev-vcs/tortoisehg: Bump to version 3.7.2
Package-Manager: portage-2.2.27
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.2.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest index 894a93cf3d37..d8d0bed4879d 100644 --- a/dev-vcs/tortoisehg/Manifest +++ b/dev-vcs/tortoisehg/Manifest @@ -4,3 +4,4 @@ DIST tortoisehg-3.4.2.tar.gz 8205349 SHA256 d22692166dc6ff61c9d12bfe5ceb77fbf87e DIST tortoisehg-3.5.2.tar.gz 7399407 SHA256 f5d36d8f19b508dd00a7ac720af3889defd40e99fcb60d907a0fefb9c867dd63 SHA512 43ab341b4b01b2b28a9ac4290c9902720a10094390d323ab0c4e0962276cd333def7bec818e59a8bbacac9390cb22fd310875eb58f7092573c1254c517ada310 WHIRLPOOL c49707205e06fe269be3c69330d78ca8194a54d709b9056bea502403b4e047a1da46f1cd73ca5d7b052aab6f0d4b3ae4aa93f0544b78f12a6a9ffd8459edfb37 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 diff --git a/dev-vcs/tortoisehg/tortoisehg-3.7.2.ebuild b/dev-vcs/tortoisehg/tortoisehg-3.7.2.ebuild new file mode 100644 index 000000000000..3b0a0c0fca0c --- /dev/null +++ b/dev-vcs/tortoisehg/tortoisehg-3.7.2.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." +} |