diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-09-01 11:01:51 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-09-01 11:01:51 +0000 |
commit | 95ddf7a371d7ede82acfa829e88fb920e7d0cbdd (patch) | |
tree | c1d280931090a22fef51c7d495da74be5651a421 /app-portage | |
parent | Bump to 0.13. Ebuild patches by Rene Neumann. Closes #283071 (diff) | |
download | gentoo-2-95ddf7a371d7ede82acfa829e88fb920e7d0cbdd.tar.gz gentoo-2-95ddf7a371d7ede82acfa829e88fb920e7d0cbdd.tar.bz2 gentoo-2-95ddf7a371d7ede82acfa829e88fb920e7d0cbdd.zip |
Remove old
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/portato/ChangeLog | 6 | ||||
-rw-r--r-- | app-portage/portato/portato-0.10.ebuild | 97 | ||||
-rw-r--r-- | app-portage/portato/portato-0.11.1.ebuild | 110 |
3 files changed, 5 insertions, 208 deletions
diff --git a/app-portage/portato/ChangeLog b/app-portage/portato/ChangeLog index c7adac5b417f..aa5c9cf34bb8 100644 --- a/app-portage/portato/ChangeLog +++ b/app-portage/portato/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-portage/portato # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.18 2009/09/01 11:00:13 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.19 2009/09/01 11:01:51 patrick Exp $ + + 01 Sep 2009; Patrick Lauer <patrick@gentoo.org> -portato-0.10.ebuild, + -portato-0.11.1.ebuild: + Remove old *portato-0.13 (01 Sep 2009) diff --git a/app-portage/portato/portato-0.10.ebuild b/app-portage/portato/portato-0.10.ebuild deleted file mode 100644 index 172402f5d311..000000000000 --- a/app-portage/portato/portato-0.10.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/portato-0.10.ebuild,v 1.3 2009/03/07 20:08:53 betelgeuse Exp $ - -EAPI="2" - -NEED_PYTHON="2.5" -inherit python eutils distutils - -DESCRIPTION="A GUI for Portage written in Python." -HOMEPAGE="http://portato.origo.ethz.ch/" -SRC_URI="http://download.origo.ethz.ch/portato/506/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="etc-proposals kde +libnotify nls userpriv" -LANGS="ca de pl tr" -for LANG in $LANGS; do IUSE="${IUSE} linguas_${LANG}"; done - -RDEPEND="x11-libs/vte[python] - gnome-base/libglade - dev-python/pygtksourceview:2 - app-portage/portage-utils - || ( =dev-python/lxml-1.3.6 >=dev-python/lxml-2.0.4 ) - >=dev-python/pygtk-2.12.0 - >=sys-apps/portage-2.1.2 <sys-apps/portage-2.2 - - !userpriv? ( - kde? ( || ( kde-base/kdesu kde-base/kdebase ) ) - !kde? ( x11-libs/gksu ) ) - - libnotify? ( dev-python/notify-python ) - nls? ( virtual/libintl ) - etc-proposals? ( app-portage/etc-proposals )" - -# only needs gettext as build dependency -# python should be set as DEPEND in the python-eclass -DEPEND="nls? ( sys-devel/gettext )" - -S="${WORKDIR}/${PN}" -CONFIG_DIR="etc/${PN}/" -DATA_DIR="usr/share/${PN}/" -LOCALE_DIR="usr/share/locale/" -PLUGIN_DIR="${DATA_DIR}/plugins" -ICON_DIR="${DATA_DIR}/icons" -TEMPLATE_DIR="${DATA_DIR}/templates" - -src_compile () -{ - cd "${S}" - - local su="\"gksu -D 'Portato'\"" - use kde && su="\"kdesu -t -d -i %s --nonewdcop -c\" % APP_ICON" - - sed -i -e "s;^\(VERSION\s*=\s*\).*;\1\"${PV}\";" \ - -e "s;^\(CONFIG_DIR\s*=\s*\).*;\1\"${ROOT}${CONFIG_DIR}\";" \ - -e "s;^\(DATA_DIR\s*=\s*\).*;\1\"${ROOT}${DATA_DIR}\";" \ - -e "s;^\(TEMPLATE_DIR\s*=\s*\).*;\1\"${ROOT}${TEMPLATE_DIR}\";" \ - -e "s;^\(ICON_DIR\s*=\s*\).*;\1\"${ROOT}${ICON_DIR}\";" \ - -e "s;^\(LOCALE_DIR\s*=\s*\).*;\1\"${ROOT}${LOCALE_DIR}\";" \ - -e "s;^\(SU_COMMAND\s*=\s*\).*;\1${su};" \ - -e "s;^\(USE_CATAPULT\s*=\s*\).*;\1False;" \ - "${PN}"/constants.py - - use userpriv && sed -i -e "s/Exec=.*/Exec=portato --no-listener/" portato.desktop - use nls && ./pocompile.sh -emerge ${LINGUAS} - - distutils_src_compile -} - -src_install () -{ - dodir ${DATA_DIR} - distutils_src_install - - newbin portato.py portato - dodoc doc/* - - # config - insinto ${CONFIG_DIR} - doins etc/* - - # plugins - insinto ${PLUGIN_DIR} - keepdir ${PLUGIN_DIR} - - use etc-proposals && doins plugins/etc_proposals.xml - use libnotify && doins plugins/notify.xml - - # desktop - doicon icons/portato-icon.png - domenu portato.desktop - - # nls - use nls && domo i18n/mo/* -} diff --git a/app-portage/portato/portato-0.11.1.ebuild b/app-portage/portato/portato-0.11.1.ebuild deleted file mode 100644 index f5c5320d3614..000000000000 --- a/app-portage/portato/portato-0.11.1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/portato-0.11.1.ebuild,v 1.2 2009/03/07 20:08:53 betelgeuse Exp $ - -EAPI="2" - -NEED_PYTHON="2.5" -inherit python eutils distutils - -DESCRIPTION="A GUI for Portage written in Python." -HOMEPAGE="http://portato.origo.ethz.ch/" -SRC_URI="http://download.origo.ethz.ch/portato/775/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kde +libnotify nls userpriv" -LANGS="ca de pl tr" -for LANG in $LANGS; do IUSE="${IUSE} linguas_${LANG}"; done - -RDEPEND="app-portage/portage-utils - x11-libs/vte[python] - gnome-base/libglade - dev-python/pygtksourceview:2 - >=dev-python/pygtk-2.12.0 - >=sys-apps/portage-2.1.2 - - !userpriv? ( - dev-python/shm - kde? ( || ( kde-base/kdesu kde-base/kdebase ) ) - !kde? ( x11-libs/gksu ) ) - - libnotify? ( dev-python/notify-python ) - nls? ( virtual/libintl )" - -# only needs gettext as build dependency -# python should be set as DEPEND in the python-eclass -DEPEND="nls? ( sys-devel/gettext )" - -S="${WORKDIR}/${PN}" -CONFIG_DIR="etc/${PN}" -DATA_DIR="usr/share/${PN}" -LOCALE_DIR="usr/share/locale" -PLUGIN_DIR="${DATA_DIR}/plugins" -ICON_DIR="${DATA_DIR}/icons" -TEMPLATE_DIR="${DATA_DIR}/templates" - -src_compile () -{ - local su="\"gksu -D 'Portato'\"" - use kde && su="\"kdesu -t -d -i '%s' --nonewdcop -c\" % APP_ICON" - - sed -i -e "s;^\(VERSION\s*=\s*\).*;\1\"${PV}\";" \ - -e "s;^\(CONFIG_DIR\s*=\s*\).*;\1\"${ROOT}${CONFIG_DIR}/\";" \ - -e "s;^\(DATA_DIR\s*=\s*\).*;\1\"${ROOT}${DATA_DIR}/\";" \ - -e "s;^\(TEMPLATE_DIR\s*=\s*\).*;\1\"${ROOT}${TEMPLATE_DIR}/\";" \ - -e "s;^\(ICON_DIR\s*=\s*\).*;\1\"${ROOT}${ICON_DIR}/\";" \ - -e "s;^\(LOCALE_DIR\s*=\s*\).*;\1\"${ROOT}${LOCALE_DIR}/\";" \ - -e "s;^\(SU_COMMAND\s*=\s*\).*;\1$su;" \ - "${PN}"/constants.py || die "sed failed" - - if use userpriv; then - sed -i -e "s/Exec=.*/Exec=portato --no-fork/" portato.desktop || die "sed failed" - fi - - if use nls; then - ./pocompile.sh -emerge ${LINGUAS} || die "pocompile failed" - fi - - distutils_src_compile -} - -src_install () -{ - dodir ${DATA_DIR} || die - distutils_src_install - - newbin portato.py portato || die - dodoc doc/* - - # config - insinto ${CONFIG_DIR} - doins etc/* || die - - # plugins - insinto ${PLUGIN_DIR} - - # desktop - doicon icons/portato-icon.png || die - domenu portato.desktop || die - - # nls - use nls && domo i18n/mo/* -} - -pkg_postinst () -{ - distutils_pkg_postinst - python_mod_optimize "/${PLUGIN_DIR}" -} - -pkg_postrm () -{ - distutils_pkg_postrm - python_mod_cleanup "/${PLUGIN_DIR}" - - # try to remove the DATA_DIR, because it may still reside there, as it was tried - # to remove it before plugin stuff was purged - rmdir "${ROOT}"${DATA_DIR} 2> /dev/null -} |