diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-20 14:02:40 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-20 14:06:35 +0200 |
commit | 56f64a62917a453171a4dd08935f6a8946cd006a (patch) | |
tree | 72506efee9d2bd0eccf837006af254c7a349d2bb /dev-vcs | |
parent | sys-block/sedutil: Bump to version 1.15 (diff) | |
download | gentoo-56f64a62917a453171a4dd08935f6a8946cd006a.tar.gz gentoo-56f64a62917a453171a4dd08935f6a8946cd006a.tar.bz2 gentoo-56f64a62917a453171a4dd08935f6a8946cd006a.zip |
dev-vcs/tortoisehg: Bump to version 4.2.2
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/tortoisehg/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/tortoisehg/tortoisehg-4.2.2.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest index 7e2ada6504ad..53c0cf11c7ad 100644 --- a/dev-vcs/tortoisehg/Manifest +++ b/dev-vcs/tortoisehg/Manifest @@ -1,4 +1,5 @@ DIST tortoisehg-3.8.4.tar.gz 7817508 SHA256 c8608ab7f063d0edd46c1fdae3181ef8216ea029bca34f180f0adeefc50274f7 SHA512 d9d83007588e8e62a03976a229a7c325e6e7f203d4f8fc74cc32b3f2880a1873237b4c333cfdb0ece6acde51019f6f62a75d863f1f99e8a5930ad17c38c6358b WHIRLPOOL 0ae8136f8de546a50998672bfd892774d4e8497268ffaf1198c84ce725c02080e8631c203103f8c646ef3ad7b69c832124042d6d0c207e90d13e08b532d33862 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.2.tar.gz 7921090 SHA256 4f3463ebb58a83aa7266c3bdc7e03de9c5e8c39d6793a56b76fd9cdfc29abd11 SHA512 3d9d118d604f261cd35635dca9a5e90bfbaa9a367661b115279101f53388a4d4ed942a8ca6c834fbe5f8a939dc7f0538c64d7e4644e2002054c2ec6efc347359 WHIRLPOOL 3286db04d6ab7b75f6203d6d8ea80798043e7a02befbf0d4edd460216dcdad4e81a21361a717591f7e433a8c39159fbee038cbd49298d7328a69a8b9c985ecd3 diff --git a/dev-vcs/tortoisehg/tortoisehg-4.2.2.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.2.2.ebuild new file mode 100644 index 000000000000..3500ebeba028 --- /dev/null +++ b/dev-vcs/tortoisehg/tortoisehg-4.2.2.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.1 <dev-vcs/mercurial-4.3" +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." +} |