summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-06-23 15:13:09 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-06-23 15:13:09 +0000
commit3ca75cf6632f71fa37a3a8f2f1213d8ff37073c4 (patch)
treecedb38fbd705c6693bd9fff7eaeab0898e96f8e0 /dev-util/eric
parentRemove old ebuilds. Requested by Arfrever (diff)
downloadgentoo-2-3ca75cf6632f71fa37a3a8f2f1213d8ff37073c4.tar.gz
gentoo-2-3ca75cf6632f71fa37a3a8f2f1213d8ff37073c4.tar.bz2
gentoo-2-3ca75cf6632f71fa37a3a8f2f1213d8ff37073c4.zip
Remove old ebuilds. Requested by Arfrever
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/eric')
-rw-r--r--dev-util/eric/ChangeLog7
-rw-r--r--dev-util/eric/eric-4.4.11.ebuild92
-rw-r--r--dev-util/eric/eric-4.4.12.ebuild92
-rw-r--r--dev-util/eric/eric-4.4.13.ebuild92
-rw-r--r--dev-util/eric/eric-5.0.5.ebuild95
-rw-r--r--dev-util/eric/eric-5.1.0.ebuild95
-rw-r--r--dev-util/eric/eric-5.1.1.ebuild95
7 files changed, 6 insertions, 562 deletions
diff --git a/dev-util/eric/ChangeLog b/dev-util/eric/ChangeLog
index 755b8c72e50c..4730fd9885ef 100644
--- a/dev-util/eric/ChangeLog
+++ b/dev-util/eric/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/eric
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.163 2011/06/19 13:50:29 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.164 2011/06/23 15:13:09 hwoarang Exp $
+
+ 23 Jun 2011; Markos Chandras <hwoarang@gentoo.org> -eric-4.4.11.ebuild,
+ -eric-4.4.12.ebuild, -eric-4.4.13.ebuild, -eric-5.0.5.ebuild,
+ -eric-5.1.0.ebuild, -eric-5.1.1.ebuild:
+ Remove old ebuilds. Requested by Arfrever
19 Jun 2011; Markus Meier <maekke@gentoo.org> eric-5.1.2.ebuild:
x86 stable, bug #370533
diff --git a/dev-util/eric/eric-4.4.11.ebuild b/dev-util/eric/eric-4.4.11.ebuild
deleted file mode 100644
index 9b344b885b6c..000000000000
--- a/dev-util/eric/eric-4.4.11.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.4.11.ebuild,v 1.3 2011/02/10 23:21:06 hwoarang Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2:2.6"
-SUPPORT_PYTHON_ABIS="1"
-# 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
-RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
-
-inherit eutils python
-
-MY_PN="${PN}${PV%%.*}"
-MY_PV="${PV/_pre/-snapshot-}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
-HOMEPAGE="http://eric-ide.python-projects.org/"
-BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
-SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="4"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="kde spell"
-
-DEPEND="dev-python/PyQt4[assistant,svg,webkit,X]
- dev-python/qscintilla-python
- kde? ( kde-base/pykde4 )"
-RDEPEND="${DEPEND}
- >=dev-python/chardet-2.0
- dev-python/coverage
- >=dev-python/pygments-1.1"
-PDEPEND="spell? ( dev-python/pyenchant )"
-
-LANGS="cs de es fr it ru tr zh_CN"
-for L in ${LANGS}; do
- SRC_URI="${SRC_URI}
- linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
- IUSE="${IUSE} linguas_${L}"
-done
-unset L
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
-
-src_prepare() {
- epatch "${FILESDIR}/eric-4.4-no-interactive.patch"
- epatch "${FILESDIR}/remove_coverage.patch"
- use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
-
- # Delete internal copies of dev-python/chardet, dev-python/coverage, dev-python/pygments and dev-python/simplejson.
- rm -fr eric/ThirdParty
- rm -fr eric/DebugClients/Python{,3}/coverage
-}
-
-src_install() {
- installation() {
- "$(PYTHON)" install.py \
- -z \
- -b "${EPREFIX}/usr/bin" \
- -i "${T}/images/${PYTHON_ABI}" \
- -d "${EPREFIX}$(python_get_sitedir)" \
- -c
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- doicon eric/icons/default/eric.png || die "doicon failed"
- make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
-}
-
-pkg_postinst() {
- python_mod_optimize ${MY_PN}{,config.py,plugins}
-
- elog
- elog "If you want to use Eric with mod_python, have a look at"
- elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
- elog
- elog "The following packages will give Eric extended functionality:"
- elog " dev-python/pylint"
- elog " dev-python/pysvn"
- elog
- elog "This version has a plugin interface with plugin-autofetch from"
- elog "the application itself. You may want to check those as well."
- elog
-}
-
-pkg_postrm() {
- python_mod_cleanup ${MY_PN}{,config.py,plugins}
-}
diff --git a/dev-util/eric/eric-4.4.12.ebuild b/dev-util/eric/eric-4.4.12.ebuild
deleted file mode 100644
index 41a4e1e8ec68..000000000000
--- a/dev-util/eric/eric-4.4.12.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.4.12.ebuild,v 1.3 2011/04/11 06:09:47 phajdan.jr Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2:2.6"
-SUPPORT_PYTHON_ABIS="1"
-# 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
-RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
-
-inherit eutils python
-
-MY_PN="${PN}${PV%%.*}"
-MY_PV="${PV/_pre/-snapshot-}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
-HOMEPAGE="http://eric-ide.python-projects.org/"
-BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
-SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="4"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="kde spell"
-
-DEPEND="dev-python/PyQt4[assistant,svg,webkit,X]
- dev-python/qscintilla-python
- kde? ( kde-base/pykde4 )"
-RDEPEND="${DEPEND}
- >=dev-python/chardet-2.0
- dev-python/coverage
- >=dev-python/pygments-1.1"
-PDEPEND="spell? ( dev-python/pyenchant )"
-
-LANGS="cs de es fr it ru tr zh_CN"
-for L in ${LANGS}; do
- SRC_URI="${SRC_URI}
- linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
- IUSE="${IUSE} linguas_${L}"
-done
-unset L
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
-
-src_prepare() {
- epatch "${FILESDIR}/eric-4.4-no-interactive.patch"
- epatch "${FILESDIR}/remove_coverage.patch"
- use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
-
- # Delete internal copies of dev-python/chardet, dev-python/coverage, dev-python/pygments and dev-python/simplejson.
- rm -fr eric/ThirdParty
- rm -fr eric/DebugClients/Python{,3}/coverage
-}
-
-src_install() {
- installation() {
- "$(PYTHON)" install.py \
- -z \
- -b "${EPREFIX}/usr/bin" \
- -i "${T}/images/${PYTHON_ABI}" \
- -d "${EPREFIX}$(python_get_sitedir)" \
- -c
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- doicon eric/icons/default/eric.png || die "doicon failed"
- make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
-}
-
-pkg_postinst() {
- python_mod_optimize ${MY_PN}{,config.py,plugins}
-
- elog
- elog "If you want to use Eric with mod_python, have a look at"
- elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
- elog
- elog "The following packages will give Eric extended functionality:"
- elog " dev-python/pylint"
- elog " dev-python/pysvn"
- elog
- elog "This version has a plugin interface with plugin-autofetch from"
- elog "the application itself. You may want to check those as well."
- elog
-}
-
-pkg_postrm() {
- python_mod_cleanup ${MY_PN}{,config.py,plugins}
-}
diff --git a/dev-util/eric/eric-4.4.13.ebuild b/dev-util/eric/eric-4.4.13.ebuild
deleted file mode 100644
index c99389a03b30..000000000000
--- a/dev-util/eric/eric-4.4.13.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.4.13.ebuild,v 1.3 2011/05/09 08:55:16 hwoarang Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2:2.6"
-SUPPORT_PYTHON_ABIS="1"
-# 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
-RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
-
-inherit eutils python
-
-MY_PN="${PN}${PV%%.*}"
-MY_PV="${PV/_pre/-snapshot-}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
-HOMEPAGE="http://eric-ide.python-projects.org/"
-BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
-SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="4"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="kde spell"
-
-DEPEND="dev-python/PyQt4[assistant,svg,webkit,X]
- dev-python/qscintilla-python
- kde? ( kde-base/pykde4 )"
-RDEPEND="${DEPEND}
- >=dev-python/chardet-2.0
- dev-python/coverage
- >=dev-python/pygments-1.1"
-PDEPEND="spell? ( dev-python/pyenchant )"
-
-LANGS="cs de es fr it ru tr zh_CN"
-for L in ${LANGS}; do
- SRC_URI="${SRC_URI}
- linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
- IUSE="${IUSE} linguas_${L}"
-done
-unset L
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
-
-src_prepare() {
- epatch "${FILESDIR}/eric-4.4-no-interactive.patch"
- epatch "${FILESDIR}/remove_coverage.patch"
- use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
-
- # Delete internal copies of dev-python/chardet, dev-python/coverage, dev-python/pygments and dev-python/simplejson.
- rm -fr eric/ThirdParty
- rm -fr eric/DebugClients/Python{,3}/coverage
-}
-
-src_install() {
- installation() {
- "$(PYTHON)" install.py \
- -z \
- -b "${EPREFIX}/usr/bin" \
- -i "${T}/images/${PYTHON_ABI}" \
- -d "${EPREFIX}$(python_get_sitedir)" \
- -c
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- doicon eric/icons/default/eric.png || die "doicon failed"
- make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
-}
-
-pkg_postinst() {
- python_mod_optimize ${MY_PN}{,config.py,plugins}
-
- elog
- elog "If you want to use Eric with mod_python, have a look at"
- elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
- elog
- elog "The following packages will give Eric extended functionality:"
- elog " dev-python/pylint"
- elog " dev-python/pysvn"
- elog
- elog "This version has a plugin interface with plugin-autofetch from"
- elog "the application itself. You may want to check those as well."
- elog
-}
-
-pkg_postrm() {
- python_mod_cleanup ${MY_PN}{,config.py,plugins}
-}
diff --git a/dev-util/eric/eric-5.0.5.ebuild b/dev-util/eric/eric-5.0.5.ebuild
deleted file mode 100644
index 387c63cbe792..000000000000
--- a/dev-util/eric/eric-5.0.5.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.0.5.ebuild,v 1.3 2011/02/10 23:21:06 hwoarang Exp $
-
-EAPI="3"
-PYTHON_DEPEND="3"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.* *-jython"
-
-inherit eutils python
-
-MY_PN="${PN}${PV%%.*}"
-MY_PV="${PV/_pre/-snapshot-}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
-HOMEPAGE="http://eric-ide.python-projects.org/"
-BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
-SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="5"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="spell"
-
-DEPEND=">=dev-python/PyQt4-4.7[assistant,svg,webkit,X]
- >=dev-python/qscintilla-python-2.4"
-RDEPEND="${DEPEND}
- >=dev-python/chardet-2.0.1
- >=dev-python/coverage-3.2
- >=dev-python/pygments-1.1.1"
-PDEPEND="spell? ( dev-python/pyenchant )"
-
-LANGS="cs de es it ru"
-for L in ${LANGS}; do
- SRC_URI="${SRC_URI}
- linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
- IUSE="${IUSE} linguas_${L}"
-done
-unset L
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-5.0.2-remove_coverage.patch"
-
- # Avoid file collisions between different slots of Eric.
- sed -e "s/^Icon=eric$/&${SLOT}/" -i eric/${MY_PN}.desktop || die "sed failed"
- sed -e "s/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/" -i $(grep -lr eric.png .) || die "sed failed"
- mv eric/icons/default/eric{,5}.png || die "mv failed"
- mv eric/pixmaps/eric{,5}.png || die "mv failed"
- rm -f eric/APIs/Python/zope-*.api
- rm -f eric/APIs/Ruby/Ruby-*.api
-
- # Delete internal copies of dev-python/chardet, dev-python/coverage and dev-python/pygments.
- rm -fr eric/ThirdParty
- rm -fr eric/DebugClients/Python{,3}/coverage
-}
-
-src_install() {
- installation() {
- "$(PYTHON)" install.py \
- -z \
- -b "${EPREFIX}/usr/bin" \
- -i "${T}/images/${PYTHON_ABI}" \
- -d "${EPREFIX}$(python_get_sitedir)" \
- -c
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- doicon eric/icons/default/${MY_PN}.png || die "doicon failed"
-}
-
-pkg_postinst() {
- python_mod_optimize -x "/eric5/DebugClients/Python/" ${MY_PN}{,config.py,plugins}
-
- elog
- elog "If you want to use Eric with mod_python, have a look at"
- elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
- elog
- elog "The following packages will give Eric extended functionality:"
- elog " dev-python/pylint"
- elog " dev-python/pysvn"
- elog
- elog "This version has a plugin interface with plugin-autofetch from"
- elog "the application itself. You may want to check those as well."
- elog
-}
-
-pkg_postrm() {
- python_mod_cleanup ${MY_PN}{,config.py,plugins}
-}
diff --git a/dev-util/eric/eric-5.1.0.ebuild b/dev-util/eric/eric-5.1.0.ebuild
deleted file mode 100644
index 4b08698aef7c..000000000000
--- a/dev-util/eric/eric-5.1.0.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.1.0.ebuild,v 1.1 2011/03/03 18:44:15 arfrever Exp $
-
-EAPI="3"
-PYTHON_DEPEND="3"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.* *-jython"
-
-inherit eutils python
-
-MY_PN="${PN}${PV%%.*}"
-MY_PV="${PV/_pre/-snapshot-}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
-HOMEPAGE="http://eric-ide.python-projects.org/"
-BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
-SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="spell"
-
-DEPEND=">=dev-python/PyQt4-4.7[assistant,svg,webkit,X]
- >=dev-python/qscintilla-python-2.4"
-RDEPEND="${DEPEND}
- >=dev-python/chardet-2.0.1
- >=dev-python/coverage-3.2
- >=dev-python/pygments-1.4"
-PDEPEND="spell? ( dev-python/pyenchant )"
-
-LANGS="cs de es fr it ru tr zh_CN"
-for L in ${LANGS}; do
- SRC_URI="${SRC_URI}
- linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
- IUSE="${IUSE} linguas_${L}"
-done
-unset L
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-5.0.2-remove_coverage.patch"
-
- # Avoid file collisions between different slots of Eric.
- sed -e "s/^Icon=eric$/&${SLOT}/" -i eric/${MY_PN}.desktop || die "sed failed"
- sed -e "s/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/" -i $(grep -lr eric.png .) || die "sed failed"
- mv eric/icons/default/eric{,5}.png || die "mv failed"
- mv eric/pixmaps/eric{,5}.png || die "mv failed"
- rm -f eric/APIs/Python/zope-*.api
- rm -f eric/APIs/Ruby/Ruby-*.api
-
- # Delete internal copies of dev-python/chardet, dev-python/coverage and dev-python/pygments.
- rm -fr eric/ThirdParty
- rm -fr eric/DebugClients/Python{,3}/coverage
-}
-
-src_install() {
- installation() {
- "$(PYTHON)" install.py \
- -z \
- -b "${EPREFIX}/usr/bin" \
- -i "${T}/images/${PYTHON_ABI}" \
- -d "${EPREFIX}$(python_get_sitedir)" \
- -c
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- doicon eric/icons/default/${MY_PN}.png || die "doicon failed"
-}
-
-pkg_postinst() {
- python_mod_optimize -x "/eric5/(DebugClients/Python|UtilitiesPython2)/" ${MY_PN}{,config.py,plugins}
-
- elog
- elog "If you want to use Eric with mod_python, have a look at"
- elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
- elog
- elog "The following packages will give Eric extended functionality:"
- elog " dev-python/pylint"
- elog " dev-python/pysvn"
- elog
- elog "This version has a plugin interface with plugin-autofetch from"
- elog "the application itself. You may want to check those as well."
- elog
-}
-
-pkg_postrm() {
- python_mod_cleanup ${MY_PN}{,config.py,plugins}
-}
diff --git a/dev-util/eric/eric-5.1.1.ebuild b/dev-util/eric/eric-5.1.1.ebuild
deleted file mode 100644
index 317383c51a3a..000000000000
--- a/dev-util/eric/eric-5.1.1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.1.1.ebuild,v 1.3 2011/05/09 08:55:16 hwoarang Exp $
-
-EAPI="3"
-PYTHON_DEPEND="3"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.* *-jython"
-
-inherit eutils python
-
-MY_PN="${PN}${PV%%.*}"
-MY_PV="${PV/_pre/-snapshot-}"
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
-HOMEPAGE="http://eric-ide.python-projects.org/"
-BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
-SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="5"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="spell"
-
-DEPEND=">=dev-python/PyQt4-4.7[assistant,svg,webkit,X]
- >=dev-python/qscintilla-python-2.4"
-RDEPEND="${DEPEND}
- >=dev-python/chardet-2.0.1
- >=dev-python/coverage-3.2
- >=dev-python/pygments-1.4"
-PDEPEND="spell? ( dev-python/pyenchant )"
-
-LANGS="cs de es fr it ru tr zh_CN"
-for L in ${LANGS}; do
- SRC_URI="${SRC_URI}
- linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
- IUSE="${IUSE} linguas_${L}"
-done
-unset L
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-5.0.2-remove_coverage.patch"
-
- # Avoid file collisions between different slots of Eric.
- sed -e "s/^Icon=eric$/&${SLOT}/" -i eric/${MY_PN}.desktop || die "sed failed"
- sed -e "s/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/" -i $(grep -lr eric.png .) || die "sed failed"
- mv eric/icons/default/eric{,5}.png || die "mv failed"
- mv eric/pixmaps/eric{,5}.png || die "mv failed"
- rm -f eric/APIs/Python/zope-*.api
- rm -f eric/APIs/Ruby/Ruby-*.api
-
- # Delete internal copies of dev-python/chardet, dev-python/coverage and dev-python/pygments.
- rm -fr eric/ThirdParty
- rm -fr eric/DebugClients/Python{,3}/coverage
-}
-
-src_install() {
- installation() {
- "$(PYTHON)" install.py \
- -z \
- -b "${EPREFIX}/usr/bin" \
- -i "${T}/images/${PYTHON_ABI}" \
- -d "${EPREFIX}$(python_get_sitedir)" \
- -c
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- doicon eric/icons/default/${MY_PN}.png || die "doicon failed"
-}
-
-pkg_postinst() {
- python_mod_optimize -x "/eric5/(DebugClients/Python|UtilitiesPython2)/" ${MY_PN}{,config.py,plugins}
-
- elog
- elog "If you want to use Eric with mod_python, have a look at"
- elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
- elog
- elog "The following packages will give Eric extended functionality:"
- elog " dev-python/pylint"
- elog " dev-python/pysvn"
- elog
- elog "This version has a plugin interface with plugin-autofetch from"
- elog "the application itself. You may want to check those as well."
- elog
-}
-
-pkg_postrm() {
- python_mod_cleanup ${MY_PN}{,config.py,plugins}
-}