Mercurial > hg > portage
annotate dev-util/eric/eric-16.12.ebuild @ 523:a3240846c9cd
Update to vscodium 1.46.1
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Fri, 19 Jun 2020 13:05:12 +0200 |
parents | d27b7787b1f8 |
children |
rev | line source |
---|---|
440
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 # Copyright 1999-2017 Gentoo Foundation |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # Distributed under the terms of the GNU General Public License v2 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 EAPI=6 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 PYTHON_REQ_USE="sqlite,xml" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 inherit python-single-r1 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 DESCRIPTION="A full featured Python IDE using PyQt and QScintilla" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 HOMEPAGE="http://eric-ide.python-projects.org/" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 LICENSE="GPL-3" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 SLOT="6" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 MY_P=${PN}${SLOT}-${PV} |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 SRC_URI="mirror://sourceforge/eric-ide/${PN}${SLOT}/stable/${PV}/${MY_P}.tar.gz" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 IUSE="" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 DEPEND=" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 ${PYTHON_DEPS} |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 >=dev-python/sip-4.14.3[${PYTHON_USEDEP}] |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 >=dev-python/PyQt4-4.10[${PYTHON_USEDEP},X,help,sql,svg,webkit] |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 >=dev-python/qscintilla-python-2.8[qt4(+),${PYTHON_USEDEP}] |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 " |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 RDEPEND="${DEPEND} |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 >=dev-python/chardet-2.3.0[${PYTHON_USEDEP}] |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 >=dev-python/coverage-4.1.0[${PYTHON_USEDEP}] |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 >=dev-python/pygments-2.1.3[${PYTHON_USEDEP}] |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 !dev-util/eric:4 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 !dev-util/eric:5 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
33 " |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
34 REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
35 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
36 S=${WORKDIR}/${MY_P} |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
37 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
38 DOCS=(changelog README.rst THANKS) |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
39 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
40 src_prepare() { |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
41 default |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
42 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
43 # Delete internal copies of dev-python/chardet and dev-python/pygments |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
44 rm -fr eric/ThirdParty/{CharDet,Pygments} || die |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
45 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
46 # Delete internal copy of dev-python/coverage |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
47 rm -fr eric/DebugClients/Python{,3}/coverage || die |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
48 sed -i -e 's/from DebugClients\.Python3\?\.coverage/from coverage/' \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
49 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
50 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
51 # Fix desktop files (bug 458092) |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
52 sed -i -re '/^Categories=/s:(Python|QtWeb):X-&:g' eric/eric6{,_{,web}browser}.desktop || die |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
53 } |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
54 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
55 src_install() { |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
56 "${PYTHON}" install.py \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
57 -b "${EPREFIX}/usr/bin" \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
58 -d "$(python_get_sitedir)" \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
59 -i "${D}" \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
60 -c \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
61 -z \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
62 --pyqt=4 \ |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
63 || die |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
64 |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
65 python_optimize |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
66 einstalldocs |
d27b7787b1f8
revive the eric ebuild - cannot update due to hard masked dependencies
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
67 } |