summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/eric/Manifest1
-rw-r--r--dev-util/eric/eric-17.09.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-util/eric/Manifest b/dev-util/eric/Manifest
index ac79e91196dd..48651efb2648 100644
--- a/dev-util/eric/Manifest
+++ b/dev-util/eric/Manifest
@@ -1,2 +1,3 @@
DIST eric6-17.07.tar.gz 18822449 SHA256 6d3d83c6815e89634aca532468cbedff8ae636dfc0b4187206e548af24468e04 SHA512 5d1430262fce9eba19487f45c663c5e455bbf85b07c753d9bca78ec658db5f4eedd4db177d293335466dbc2362dc8a775ffac8d18eb48592451a61ef7592ca13 WHIRLPOOL 43f089156dccfe40f56cc026a5b5fc4fa982aca50c741990595bd4e8a210169f10cef0627ffd1fd99d1c717fba818fcb62b74295fbf0f1ced1a149542971561a
DIST eric6-17.08.tar.gz 18867453 SHA256 15283d103dd4295d0c539d670e41f6fd8645cb5cddc630917c41f880efde90fa SHA512 9a8184318cbd4d578606e57f9ad55571387288df86fc87d661f8235b2fde0a74102c7af627ac0d32ae7c2a990c38e7df96fa3e1525f10290c2d2726e71fcd68b WHIRLPOOL de6dcfe8aeb641b912975c37c2a5c2012ac08af936600426ef75a190f22bb6c7b35aae89036b095f1e7f41ad84184b85b272c68718073196d893b2b4eebf7300
+DIST eric6-17.09.tar.gz 18914614 SHA256 e006e3d7d98e16bc210799fc116182ffd6dc89dfd5715cdb798a53e07a471989 SHA512 73631ff1faef01b51a640af13dbb3adabebc63280f15b5e594e1fcbfb799a40a8e7ecb7395c52c6878b1fa232d7c00fb531a24be9f89a3592602aeb10520737d WHIRLPOOL 1079c63aa95efb623f36481357dde15e2669c8a56c0cbf481f4531fce4e3c8e08e348f22baaa9b37e39c6eb268b060878ee6c878c78875f0ace8cea184e57afe
diff --git a/dev-util/eric/eric-17.09.ebuild b/dev-util/eric/eric-17.09.ebuild
new file mode 100644
index 000000000000..02c5b8f9d387
--- /dev/null
+++ b/dev-util/eric/eric-17.09.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_REQ_USE="sqlite,xml"
+
+inherit python-single-r1
+
+DESCRIPTION="A full featured Python IDE using PyQt and QScintilla"
+HOMEPAGE="http://eric-ide.python-projects.org/"
+LICENSE="GPL-3"
+SLOT="6"
+
+MY_P=${PN}${SLOT}-${PV}
+SRC_URI="mirror://sourceforge/eric-ide/${PN}${SLOT}/stable/${PV}/${MY_P}.tar.gz"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="
+ ${PYTHON_DEPS}
+ >=dev-python/sip-4.14.3[${PYTHON_USEDEP}]
+ >=dev-python/PyQt5-5.5.1[${PYTHON_USEDEP},gui,help,network,printsupport,sql,svg,webkit]
+ >=dev-python/qscintilla-python-2.8[qt5,${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}
+ >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
+ >=dev-python/coverage-4.1.0[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]
+ !dev-util/eric:4
+ !dev-util/eric:5
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=(changelog README.rst THANKS)
+
+src_prepare() {
+ default
+
+ # Delete internal copies of dev-python/chardet and dev-python/pygments
+ rm -fr eric/ThirdParty/{CharDet,Pygments} || die
+
+ # Delete internal copy of dev-python/coverage
+ rm -fr eric/DebugClients/Python{,3}/coverage || die
+ sed -i -e 's/from DebugClients\.Python3\?\.coverage/from coverage/' \
+ $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
+
+ # Fix desktop files (bug 458092)
+ sed -i -re '/^Categories=/s:(Python|QtWeb):X-&:g' eric/eric6{,_{,web}browser}.desktop || die
+}
+
+src_install() {
+ "${PYTHON}" install.py \
+ -b "${EPREFIX}/usr/bin" \
+ -d "$(python_get_sitedir)" \
+ -i "${D}" \
+ -c \
+ -z \
+ || die
+
+ python_optimize
+ einstalldocs
+}