summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-04-07 10:04:46 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-04-07 10:08:52 +0200
commit757f0efcfd779d25d205b5de87a5bbc1296d5552 (patch)
tree7f1a4a95993bf1b12a719c6dccf44bdab5b156e8 /dev-vcs
parentx11-misc/py3status: version bump (diff)
downloadgentoo-757f0efcfd779d25d205b5de87a5bbc1296d5552.tar.gz
gentoo-757f0efcfd779d25d205b5de87a5bbc1296d5552.tar.bz2
gentoo-757f0efcfd779d25d205b5de87a5bbc1296d5552.zip
dev-vcs/tortoisehg: Bump to version 4.1.2
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/tortoisehg/Manifest1
-rw-r--r--dev-vcs/tortoisehg/tortoisehg-4.1.2.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
index ef73926fb6a2..f5b831b56cc7 100644
--- a/dev-vcs/tortoisehg/Manifest
+++ b/dev-vcs/tortoisehg/Manifest
@@ -2,4 +2,5 @@ DIST tortoisehg-3.8.4.tar.gz 7817508 SHA256 c8608ab7f063d0edd46c1fdae3181ef8216e
DIST tortoisehg-3.9.2.tar.gz 7869242 SHA256 02ba49f5c724557b89b7a1d3a2abd1aaee5da4564ff98dd859b69d1f92d38c9f SHA512 42e7dc4d1e76d68fd7a44d772afdb28bac380aad047ee10be6df0b70ad048e8e28361b2d45ee4eaadf7dc1a0f10d7e9bb0cee57bdaf1b284e005b484c6654e29 WHIRLPOOL 068fbbaf7e062cc72010c9bf7ad6525e61560f25bfa1cf0af8cb95a71bf568708dfe1ab3bf32c109c50c8ae9697cb003de938e9343c1f4bc46bcf8c5d3bb09c7
DIST tortoisehg-4.0.2.tar.gz 7916581 SHA256 402230d547c4a2a9b3e5f42701a4b91509ce23c5d7837fc149152fbf7cf1e903 SHA512 0180f4041658f0cf394f3239fc4f8bb771aacdf551e5bf2e89427c2fd92d375e9c62d7b6163c171a4b3df941534c87485d8dc3554b3035130b2f5b43512c4bb1 WHIRLPOOL e4499ae086b0a3a55b9ac8547dd7a0e70e7aa126038478d7b7f6340dd09c2470fb0b1574f0c9db7dad43535bca79e3cb79de3aeffd08595cb2c1d1a8469aea4c
DIST tortoisehg-4.1.1.tar.gz 7917162 SHA256 4f483b091d8a67e7dd3a044893a5a6a9e59b6d3a26a9ea679131920ecb2dde91 SHA512 d8b28e92d05b4f84e8c6158825cb8a48306492f59973a7f0a23eb0245c3b703c27838afc8657f228d452927cb9321c8cb6cacf3f2d4c2321f3d65428ef8da7aa WHIRLPOOL 9e70aab22a7f6291d5d2bfe48c2e0074cf65a7d5beccc5040923dcff1da882c2c9033a81c3dde4cd23db94a1938e43cca9ab83e007c14295ccc8b8bdceafee3b
+DIST tortoisehg-4.1.2.tar.gz 7916802 SHA256 1e1dbee323acd9046cf940d74f909f815fd07191b64b9ed1576b973af23d7feb SHA512 5d02edfe786654f1a8ed8b38a6decbd0e3aad0fdd4aea2347af9cad1bb12441e93441e30f07459528a5eca93b97721f18447a40c43efd572bceabc20494a7e09 WHIRLPOOL 632417fcb69669f3c17f7a4e356fabe033f4955988874825f80223d70684adffd404d5ffc3e09c2ffcc28b4575a68ee18806c3e9324a9d87bbcff73b64727b02
DIST tortoisehg-4.1.tar.gz 7916903 SHA256 0aea9d73b07fbc74d26a5e8bddc1d2e0edb8d628a679af966b99ae384677f770 SHA512 86a00e4238d0f4117d9d601fd2a1eec0d3488c85ac5fb7db6b1fc3fd5e87e1d6d1e598950d2037e1fffeac10585dc684d39b5f3f3e43d1225b2fae30c3a3ee3f WHIRLPOOL a239bab4e11b8f1de4002ba5c39e324a13e1d91b0395f22bc20dbbf701a6a80034005221f545762cee22fcddbf86c40c9615312584964f0a6be790f664d1897b
diff --git a/dev-vcs/tortoisehg/tortoisehg-4.1.2.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.1.2.ebuild
new file mode 100644
index 000000000000..84eb5987a578
--- /dev/null
+++ b/dev-vcs/tortoisehg/tortoisehg-4.1.2.ebuild
@@ -0,0 +1,82 @@
+# 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.0 <dev-vcs/mercurial-4.2"
+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[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."
+}