diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-17 21:21:22 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-17 21:21:22 +0000 |
commit | 7d5b80e76fc1b8e5d8c7732659c24a8845e443d5 (patch) | |
tree | 2edf657b67efdc7a2395b4b1be738d7e73764c76 /dev-util | |
parent | Version bump. Per bug #332057 (diff) | |
download | gentoo-2-7d5b80e76fc1b8e5d8c7732659c24a8845e443d5.tar.gz gentoo-2-7d5b80e76fc1b8e5d8c7732659c24a8845e443d5.tar.bz2 gentoo-2-7d5b80e76fc1b8e5d8c7732659c24a8845e443d5.zip |
Version bump.
(Portage version: 2.2_rc97_p2/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/eric/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/eric/eric-4.4.9.ebuild | 89 |
2 files changed, 96 insertions, 1 deletions
diff --git a/dev-util/eric/ChangeLog b/dev-util/eric/ChangeLog index e402c00e3762..be3012238afb 100644 --- a/dev-util/eric/ChangeLog +++ b/dev-util/eric/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/eric # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.135 2010/10/05 21:06:31 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.136 2010/10/17 21:21:22 arfrever Exp $ + +*eric-4.4.9 (17 Oct 2010) + + 17 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eric-4.4.9.ebuild: + Version bump. 05 Oct 2010; Markus Meier <maekke@gentoo.org> eric-4.4.7.ebuild: amd64/x86 stable, bug #337148 diff --git a/dev-util/eric/eric-4.4.9.ebuild b/dev-util/eric/eric-4.4.9.ebuild new file mode 100644 index 000000000000..294c18bd5532 --- /dev/null +++ b/dev-util/eric/eric-4.4.9.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.4.9.ebuild,v 1.1 2010/10/17 21:21:22 arfrever 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.*" + +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 ~hppa ~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}" + +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 "${D}" \ + -d "${EPREFIX}$(python_get_sitedir)" \ + -c + } + python_execute_function installation + + 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} +} |