diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-12-30 23:54:28 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-12-30 23:54:51 +0100 |
commit | 6810badb48c1e376b7e67644ae4610100168d5c3 (patch) | |
tree | e1dedf60c8d6a4a3c8e4aa7d1794b3f4c1972be6 /dev-vcs | |
parent | Revert "sys-devel/binutils-config: add avr/msp symlink handling" (diff) | |
download | gentoo-6810badb48c1e376b7e67644ae4610100168d5c3.tar.gz gentoo-6810badb48c1e376b7e67644ae4610100168d5c3.tar.bz2 gentoo-6810badb48c1e376b7e67644ae4610100168d5c3.zip |
dev-vcs/tortoisehg: Bump to version 4.4.2
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/tortoisehg/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest index 527b5bf1c45a..23e9511e6a9d 100644 --- a/dev-vcs/tortoisehg/Manifest +++ b/dev-vcs/tortoisehg/Manifest @@ -1,2 +1,3 @@ DIST tortoisehg-4.3.1.tar.gz 7930491 BLAKE2B 9f47504961fb97e2acbec272cea959fef00f5aa120d1ef902af3839beb11813ea93ad8f6e497ba610b65c73596dcf80eb1728a24727cd029d2774187824ae7ca SHA512 dc43f2acd780a7868b642d6ce8a8dbf8f32be94134ddbb72178d7f1eab1e9f58c8e9bcfc75ad589ec9404cabefd9ccfc697af9ccd037c20bd933ee862e812f99 DIST tortoisehg-4.4.1.tar.gz 7923557 BLAKE2B b2574bb87693a3fb824c3c02424b8f5828c1e3673b111ae82ff0692588083eec639a67b200ce6e3def58e5a0e021898c3df62a053fa61d477f92d4226d3a1b69 SHA512 b364e6d16845c03aacaf691e8528e0bd87151026f9f55bcaf61ba67d1eebfc3f9935457e5ca3391e29417682367b9b33803a9870817c22db31f1dd26850e9d53 +DIST tortoisehg-4.4.2.tar.gz 8939270 BLAKE2B 858ef57f6e80244ebb99b43608b1d939896f60d2154e461a128efdb0d5ebffbf1b8d5a9a40596316b0bed8edd74e292b5e562e3119f75177d430c081ba07511c SHA512 6b0335d8022d015846d456d351b168f826afa5223b77ee45f2124fbd1099904cca4e2a3ca6cb7a48324491211a149bd431d29fab6932e8f8240542e13d814381 diff --git a/dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild new file mode 100644 index 000000000000..441fed1aec6e --- /dev/null +++ b/dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild @@ -0,0 +1,79 @@ +# 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.3 <dev-vcs/mercurial-4.5" +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.io/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc" + +RDEPEND="${HG_DEPEND} + dev-python/iniparse[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/PyQt5[network,svg,${PYTHON_USEDEP}] + >=dev-python/qscintilla-python-2.9.4:=[qt5(+),${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 + + # 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/PyQt5 please rebuild" + elog "dev-python/qscintilla-python." +} |