diff options
author | Davide Pesavento <pesa@gentoo.org> | 2013-02-19 09:04:51 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2013-02-19 09:04:51 +0000 |
commit | c577203b3b18496f7d479e711ebe5bc2073bf631 (patch) | |
tree | 3032be68eaa90b15d968cbaee96d2c0f697c1f47 /dev-util/eric | |
parent | old (diff) | |
download | gentoo-2-c577203b3b18496f7d479e711ebe5bc2073bf631.tar.gz gentoo-2-c577203b3b18496f7d479e711ebe5bc2073bf631.tar.bz2 gentoo-2-c577203b3b18496f7d479e711ebe5bc2073bf631.zip |
Raise qscintilla and pygments deps, add dep on PyQt4[sql], fix desktop files (bug 458092). Remove old.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'dev-util/eric')
-rw-r--r-- | dev-util/eric/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/eric/eric-4.5.6.ebuild | 101 | ||||
-rw-r--r-- | dev-util/eric/eric-5.2.5.ebuild | 104 | ||||
-rw-r--r-- | dev-util/eric/eric-5.3.0.ebuild | 11 |
4 files changed, 13 insertions, 210 deletions
diff --git a/dev-util/eric/ChangeLog b/dev-util/eric/ChangeLog index 88622561aff2..323b48ca84a6 100644 --- a/dev-util/eric/ChangeLog +++ b/dev-util/eric/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/eric # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.191 2013/02/18 11:05:43 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.192 2013/02/19 09:04:51 pesa Exp $ + + 19 Feb 2013; Davide Pesavento <pesa@gentoo.org> -eric-4.5.6.ebuild, + -eric-5.2.5.ebuild, eric-5.3.0.ebuild: + Raise qscintilla and pygments deps, add dep on PyQt4[sql], fix desktop files + (bug 458092). Remove old. 18 Feb 2013; Agostino Sarubbo <ago@gentoo.org> eric-4.5.8.ebuild, eric-5.2.7.ebuild: diff --git a/dev-util/eric/eric-4.5.6.ebuild b/dev-util/eric/eric-4.5.6.ebuild deleted file mode 100644 index 2a8f9041d1d6..000000000000 --- a/dev-util/eric/eric-4.5.6.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.5.6.ebuild,v 1.4 2012/12/26 03:46:58 pesa Exp $ - -EAPI="4" -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 2.7-pypy-*" - -inherit eutils python - -SLOT="4" -MY_PN="${PN}${SLOT}" -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" -KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="kde spell" - -DEPEND=" - >=dev-python/sip-4.12.4 - || ( >=dev-python/PyQt4-4.9.6-r1[X,help,svg,webkit] - <dev-python/PyQt4-4.9.6-r1[X,assistant,svg,webkit] ) - >=dev-python/qscintilla-python-2.3 - kde? ( kde-base/pykde4 ) -" -RDEPEND="${DEPEND} - >=dev-python/chardet-2.0.1 - >=dev-python/coverage-3.0.1 - >=dev-python/pygments-1.3.1 -" -PDEPEND=" - spell? ( dev-python/pyenchant ) -" - -LANGS="cs de en es fr it ru tr zh_CN" -for L in ${LANGS}; do - SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )" - 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" - 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 - sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die - sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \ - $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die -} - -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 - 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.2.5.ebuild b/dev-util/eric/eric-5.2.5.ebuild deleted file mode 100644 index b644fd467068..000000000000 --- a/dev-util/eric/eric-5.2.5.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.2.5.ebuild,v 1.4 2012/12/26 03:46:58 pesa Exp $ - -EAPI="4" -PYTHON_DEPEND="3:3.1" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.* *-jython 2.7-pypy-*" - -inherit eutils python - -SLOT="5" -MY_PN="${PN}${SLOT}" -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" -KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="spell" - -DEPEND=" - >=dev-python/sip-4.12.4 - || ( >=dev-python/PyQt4-4.9.6-r1[X,help,svg,webkit] - <dev-python/PyQt4-4.9.6-r1[X,assistant,svg,webkit] ) - >=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 en es fr it ru tr zh_CN" -for L in ${LANGS}; do - SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )" - IUSE+=" linguas_${L}" -done -unset L - -S=${WORKDIR}/${MY_P} - -PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*") - -src_prepare() { - # Avoid file collisions between different slots of Eric. - sed -e "s/^Icon=eric$/&${SLOT}/" -i eric/${MY_PN}.desktop || die - sed -e "s/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/" \ - -i $(grep -lr "eric\.png" .) || die - mv eric/icons/default/eric{,5}.png || die - mv eric/pixmaps/eric{,5}.png || die - 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 - sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die - sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \ - $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die -} - -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 -} - -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.3.0.ebuild b/dev-util/eric/eric-5.3.0.ebuild index eff8f3a1bed9..21a03ecd24dd 100644 --- a/dev-util/eric/eric-5.3.0.ebuild +++ b/dev-util/eric/eric-5.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.3.0.ebuild,v 1.1 2013/02/04 05:01:00 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.3.0.ebuild,v 1.2 2013/02/19 09:04:51 pesa Exp $ EAPI="4" PYTHON_DEPEND="3:3.1" @@ -25,13 +25,13 @@ IUSE="spell" DEPEND=" >=dev-python/sip-4.12.4 - >=dev-python/PyQt4-4.9.6-r1[X,help,svg,webkit] - >=dev-python/qscintilla-python-2.4 + >=dev-python/PyQt4-4.9.6-r1[X,help,sql,svg,webkit] + >=dev-python/qscintilla-python-2.6 " RDEPEND="${DEPEND} >=dev-python/chardet-2.0.1 >=dev-python/coverage-3.2 - >=dev-python/pygments-1.4 + >=dev-python/pygments-1.5 " PDEPEND=" spell? ( dev-python/pyenchant ) @@ -65,6 +65,9 @@ src_prepare() { sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || 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 -e '/^Categories=/s:Python:X-&:' eric/eric5{,_webbrowser}.desktop || die } src_install() { |