diff options
-rw-r--r-- | dev-util/eric/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/eric/eric-4.3.10.ebuild | 82 |
2 files changed, 89 insertions, 1 deletions
diff --git a/dev-util/eric/ChangeLog b/dev-util/eric/ChangeLog index 047c1ddfba7d..fa83262d0191 100644 --- a/dev-util/eric/ChangeLog +++ b/dev-util/eric/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/eric # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.98 2009/11/21 18:16:56 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.99 2009/12/12 22:10:23 arfrever Exp $ + +*eric-4.3.10 (12 Dec 2009) + + 12 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eric-4.3.10.ebuild: + Version bump (bug #296602). 21 Nov 2009; nixnut <nixnut@gentoo.org> eric-4.3.8.ebuild: ppc stable #292964 diff --git a/dev-util/eric/eric-4.3.10.ebuild b/dev-util/eric/eric-4.3.10.ebuild new file mode 100644 index 000000000000..3fdc0b8601c8 --- /dev/null +++ b/dev-util/eric/eric-4.3.10.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.3.10.ebuild,v 1.1 2009/12/12 22:10:23 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit eutils python + +MY_PN=${PN}4 +MY_P=${MY_PN}-${PV} +DESCRIPTION="A full featured Python IDE that is written in PyQt4 using the QScintilla editor widget" +HOMEPAGE="http://eric-ide.python-projects.org/index.html" +SRC_URI="mirror://sourceforge/eric-ide/${MY_P}.tar.gz + linguas_cs? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-cs-${PV}.tar.gz ) + linguas_de? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-de-${PV}.tar.gz ) + linguas_es? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-es-${PV}.tar.gz ) + linguas_fr? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-fr-${PV}.tar.gz ) + linguas_ru? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-ru-${PV}.tar.gz ) + linguas_tr? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-tr-${PV}.tar.gz ) + linguas_zh_CN? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-zh_CN.GB2312-${PV}.tar.gz )" + +SLOT="4" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="linguas_cs linguas_de linguas_es linguas_fr linguas_ru linguas_tr" + +DEPEND="dev-python/PyQt4[svg,webkit,X] + >=dev-python/qscintilla-python-2.2[qt4]" +RDEPEND="${DEPEND}" +RESTRICT_PYTHON_ABIS="3.*" + +S=${WORKDIR}/${MY_P} + +LANGS="cs de es fr ru tr" + +python_version + +src_prepare() { + epatch "${FILESDIR}/4.2.3-no-interactive.patch" +} + +src_install() { + # Change qt dir to be located in ${D} + dodir /usr/share/qt4 + + installation() { + "$(PYTHON)" install.py \ + -z \ + -b "/usr/bin" \ + -i "${D}" \ + -d "$(python_get_sitedir)" \ + -c + } + python_execute_function installation + + python_version + make_desktop_entry "eric4 --nosplash" \ + eric4 \ + "/usr/$(get_libdir)/python${PYVER}/site-packages/eric4/icons/default/eric.png" \ + "Development;IDE;Qt" +} + +pkg_postinst() { + python_mod_optimize eric4{,config.py,plugins} + + elog + elog "If you want to use eric4 with mod_python, have a look at" + elog "\"${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/eric4/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 App itself. You may want to check those as well." + elog +} + +pkg_postrm() { + python_mod_cleanup eric4{,config.py,plugins} +} |