Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/tortoisehg/
Date: Sat, 09 Dec 2017 23:52:40
Message-Id: 1512863521.0a3ff887e4b7312395bb37cec89e23636b92c743.asturm@gentoo
1 commit: 0a3ff887e4b7312395bb37cec89e23636b92c743
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 9 23:46:12 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 23:52:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a3ff887
7
8 dev-vcs/tortoisehg: Drop 4.4.1 (r0)
9
10 Package-Manager: Portage-2.3.17, Repoman-2.3.6
11
12 dev-vcs/tortoisehg/tortoisehg-4.4.1.ebuild | 80 ------------------------------
13 1 file changed, 80 deletions(-)
14
15 diff --git a/dev-vcs/tortoisehg/tortoisehg-4.4.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.4.1.ebuild
16 deleted file mode 100644
17 index 809f95e7806..00000000000
18 --- a/dev-vcs/tortoisehg/tortoisehg-4.4.1.ebuild
19 +++ /dev/null
20 @@ -1,80 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -PYTHON_COMPAT=( python2_7 )
26 -
27 -inherit distutils-r1 eutils
28 -
29 -if [[ ${PV} != *9999* ]]; then
30 - KEYWORDS="~amd64 ~x86"
31 - SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
32 - HG_DEPEND=">=dev-vcs/mercurial-4.3 <dev-vcs/mercurial-4.5"
33 -else
34 - inherit mercurial
35 - EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
36 - EHG_REVISION="stable"
37 - HG_DEPEND="dev-vcs/mercurial"
38 -fi
39 -
40 -DESCRIPTION="Set of graphical tools for Mercurial"
41 -HOMEPAGE="https://tortoisehg.bitbucket.io/"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -IUSE="doc"
46 -
47 -RDEPEND="${HG_DEPEND}
48 - dev-python/iniparse[${PYTHON_USEDEP}]
49 - dev-python/pygments[${PYTHON_USEDEP}]
50 - dev-python/PyQt4[svg,${PYTHON_USEDEP}]
51 - dev-python/qscintilla-python[qt4(+),${PYTHON_USEDEP}]"
52 -DEPEND="${RDEPEND}
53 - doc? ( >=dev-python/sphinx-1.0.3 )"
54 -
55 -# Workaround race condition in build_qt
56 -DISTUTILS_IN_SOURCE_BUILD=1
57 -
58 -python_prepare_all() {
59 - if [[ ${LINGUAS+set} ]]; then
60 - cd i18n/tortoisehg || die
61 - local x y keep
62 - for x in *.po; do
63 - keep=false
64 - for y in ${LINGUAS}; do
65 - if [[ ${y} == ${x%.po}* ]]; then
66 - keep=true
67 - break
68 - fi
69 - done
70 - ${keep} || rm "${x}" || die
71 - done
72 - cd "${S}" || die
73 - fi
74 - distutils-r1_python_prepare_all
75 -}
76 -
77 -python_compile_all() {
78 - use doc && emake -C doc html
79 -}
80 -
81 -python_install_all() {
82 - distutils-r1_python_install_all
83 - dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
84 - if use doc ; then
85 - docinto html
86 - dodoc -r doc/build/html/
87 - fi
88 - newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
89 - domenu contrib/thg.desktop
90 -
91 - # Remove file that collides with >=mercurial-4.0 (bug #599266).
92 - rm "${ED}"/usr/$(get_libdir)/${EPYTHON}/site-packages/hgext3rd/__init__.py \
93 - || die
94 -}
95 -
96 -pkg_postinst() {
97 - elog "When startup of ${PN} fails with an API version mismatch error"
98 - elog "between dev-python/sip and dev-python/PyQt4 please rebuild"
99 - elog "dev-python/qscintilla-python."
100 -}