summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-08-14 09:15:22 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-08-14 09:16:09 +0200
commit2327afcaa9ab48076172499679d43b79a5cdffae (patch)
treeaf129f561b75bab405a3d5c18fcd2f2ce79a6709 /dev-vcs/tortoisehg
parentpackage.mask: Lengthen removal for net-dialup/gtkterm (diff)
downloadgentoo-2327afcaa9ab48076172499679d43b79a5cdffae.tar.gz
gentoo-2327afcaa9ab48076172499679d43b79a5cdffae.tar.bz2
gentoo-2327afcaa9ab48076172499679d43b79a5cdffae.zip
dev-vcs/tortoisehg: Bump to version 4.3.1
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-vcs/tortoisehg')
-rw-r--r--dev-vcs/tortoisehg/Manifest1
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-4.3.1.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
index d2f6265fbefb..3e437a816011 100644
--- a/dev-vcs/tortoisehg/Manifest
+++ b/dev-vcs/tortoisehg/Manifest
@@ -2,3 +2,4 @@ DIST tortoisehg-3.8.4.tar.gz 7817508 SHA256 c8608ab7f063d0edd46c1fdae3181ef8216e
DIST tortoisehg-4.1.3.tar.gz 7919254 SHA256 003ca6b45b2e32c754dc1fa3905f76b82181e51734ca32450a115d7a9e015c4d SHA512 a33bc596bc36fa81612917409099cee6424daf3f31f96daa3ee15b88f94f15b90018fc6a58715ed4a04b92ce5a1e172d3627e6571cf7c6ec2e74c1b1d1f021c0 WHIRLPOOL 1285da85691ab6c58199fb750d4b9f8704ddc92adb0fb51090bcf3462c80b6d675001ccbc839b02efac0f722a8e9bf90c78fb3940c7c8696549d13bd8c62ab6b
DIST tortoisehg-4.2.1.tar.gz 7921681 SHA256 e821b9c4fc2c8ab8a1d743c56b6f002c4994d737120b388d38b4891dcd57ecca SHA512 cc3c54b69d14a8058c4cfe4e19a4108815f2725cffc82b370128c7a9560b2e55e22187470735d0aec087ea8375d4830ed9ce0c87d98cca4a96d6bc43ceec0382 WHIRLPOOL cb6847e6cdc9436ae3ac97ad52078f444b92c52c788be82ae4ad9d504e1a079f7bce81ca7c57c5047b9168799452a3c171ca42026db112d337ad8c02d071b203
DIST tortoisehg-4.2.2.tar.gz 7922997 SHA256 332a96ad20035d306c24ce7561b5c4aa21ed34fe02903aece61d281eead61df3 SHA512 3adff354ca5571842d877031ba5d53cf59226f4a0315e57e344398b09742bf10bf8f175a926c2aa7243a840abe97e8ef31941fa5984ec388ea3f23567ad3beee WHIRLPOOL 95fcd049888692a75832c7a46a5975e7d2e2bcc4b5d6ccae4e6a9bb8a7d325b567bfd9ff2dc7483c4f2458b1a3c72f4e1e22cc6234441d42e03225ddce95331b
+DIST tortoisehg-4.3.1.tar.gz 7930491 SHA256 5698db60320574769c73e4f910909e75a8e32ba84adcea902f9457899bbcb753 SHA512 dc43f2acd780a7868b642d6ce8a8dbf8f32be94134ddbb72178d7f1eab1e9f58c8e9bcfc75ad589ec9404cabefd9ccfc697af9ccd037c20bd933ee862e812f99 WHIRLPOOL 0275b5d2d76483559d829a6c32b8888af2134fc58367407ff670da21a8d0ae5d98815410520955f41e227af1eb55dd37052af19534756f49d9cb09a91b441de1
diff --git a/dev-vcs/tortoisehg/tortoisehg-4.3.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.3.1.ebuild
new file mode 100644
index 000000000000..830b1ef37eec
--- /dev/null
+++ b/dev-vcs/tortoisehg/tortoisehg-4.3.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-4.2 <dev-vcs/mercurial-4.4"
+else
+ inherit mercurial
+ EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
+ EHG_REVISION="stable"
+ 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[qt4(+),${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
+ docinto html
+ dodoc -r doc/build/html/
+ fi
+ newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
+ domenu contrib/thg.desktop
+
+ # Remove file that collides with >=mercurial-4.0 (bug #599266).
+ rm "${ED}"/usr/$(get_libdir)/${EPYTHON}/site-packages/hgext3rd/__init__.py \
+ || die
+}
+
+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."
+}