Gentoo Archives: gentoo-commits

From: "Davide Pesavento (pesa)" <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/eric: eric-4.5.25-r1.ebuild ChangeLog eric-4.5.25.ebuild
Date: Sat, 28 Feb 2015 01:50:56
Message-Id: 20150228015051.7AE6412B40@oystercatcher.gentoo.org
1 pesa 15/02/28 01:50:51
2
3 Modified: ChangeLog
4 Added: eric-4.5.25-r1.ebuild
5 Removed: eric-4.5.25.ebuild
6 Log:
7 Add missing USE deps, bug 541560.
8
9 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
10
11 Revision Changes Path
12 1.217 dev-util/eric/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.217&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.217&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.216&r2=1.217
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
21 retrieving revision 1.216
22 retrieving revision 1.217
23 diff -u -r1.216 -r1.217
24 --- ChangeLog 9 Dec 2014 03:29:55 -0000 1.216
25 +++ ChangeLog 28 Feb 2015 01:50:51 -0000 1.217
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-util/eric
28 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.216 2014/12/09 03:29:55 pesa Exp $
30 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.217 2015/02/28 01:50:51 pesa Exp $
32 +
33 +*eric-4.5.25-r1 (28 Feb 2015)
34 +
35 + 28 Feb 2015; Davide Pesavento <pesa@g.o> +eric-4.5.25-r1.ebuild,
36 + -eric-4.5.25.ebuild:
37 + Add missing USE deps, bug 541560.
38
39 *eric-5.5.2 (09 Dec 2014)
40
41
42
43
44 1.1 dev-util/eric/eric-4.5.25-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.25-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.25-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: eric-4.5.25-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.5.25-r1.ebuild,v 1.1 2015/02/28 01:50:51 pesa Exp $
54
55 EAPI=4
56
57 PYTHON_DEPEND="2:2.7"
58 SUPPORT_PYTHON_ABIS="1"
59 # 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson
60 RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython 2.7-pypy-*"
61 PYTHON_USE_WITH="sqlite xml"
62
63 PLOCALES="cs de en es fr it ru tr zh_CN"
64
65 inherit eutils l10n python
66
67 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
68 HOMEPAGE="http://eric-ide.python-projects.org/"
69
70 SLOT="4"
71 MY_PV=${PV/_rc/-RC}
72 MY_P=${PN}${SLOT}-${MY_PV}
73
74 BASE_URI="mirror://sourceforge/eric-ide/${PN}${SLOT}/stable/${MY_PV}"
75 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
76 for L in ${PLOCALES}; do
77 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${PN}${SLOT}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
78 done
79 unset L
80
81 LICENSE="GPL-3"
82 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
83 IUSE="kde"
84
85 DEPEND="
86 >=dev-python/sip-4.12.4
87 >=dev-python/PyQt4-4.9.6-r1[X,help,svg,webkit]
88 >=dev-python/qscintilla-python-2.3
89 kde? ( kde-base/pykde4 )
90 "
91 RDEPEND="${DEPEND}
92 >=dev-python/chardet-2.0.1
93 >=dev-python/coverage-3.0.1
94 >=dev-python/pygments-1.5
95 "
96
97 S=${WORKDIR}/${MY_P}
98
99 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
100
101 src_prepare() {
102 epatch "${FILESDIR}/eric-4.5-no-interactive.patch"
103 use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
104
105 # Delete internal copies of dev-python/chardet,
106 # dev-python/pygments and dev-python/simplejson
107 rm -fr eric/ThirdParty
108
109 # Delete internal copy of dev-python/coverage
110 rm -fr eric/DebugClients/Python{,3}/coverage
111 sed -i -e 's/from DebugClients\.Python3\?\.coverage/from coverage/' \
112 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
113 }
114
115 src_install() {
116 installation() {
117 "$(PYTHON)" install.py \
118 -z \
119 -b "${EPREFIX}/usr/bin" \
120 -i "${T}/images/${PYTHON_ABI}" \
121 -d "${EPREFIX}$(python_get_sitedir)" \
122 -c
123 }
124 python_execute_function installation
125 python_merge_intermediate_installation_images "${T}/images"
126
127 doicon eric/icons/default/eric.png
128 make_desktop_entry "eric4 --nosplash" eric4 eric "Development;IDE;Qt"
129 }
130
131 pkg_postinst() {
132 python_mod_optimize eric4{,config.py,plugins}
133
134 elog "The following packages will give Eric extended functionality:"
135 elog " dev-python/cx_Freeze"
136 elog " dev-python/pyenchant"
137 elog " dev-python/pylint"
138 elog " dev-python/pysvn"
139 elog " dev-vcs/mercurial"
140 elog
141 elog "This version has a plugin interface with plugin-autofetch from"
142 elog "the application itself. You may want to check that as well."
143 }
144
145 pkg_postrm() {
146 python_mod_cleanup eric4{,config.py,plugins}
147 }