From 32b854971886edd3460e693e4cac3545de4dca79 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Tue, 11 May 2010 21:43:20 +0000 Subject: [PATCH] Version bump to 0.14. Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- app-portage/portato/ChangeLog | 8 +- app-portage/portato/Manifest | 14 ++- app-portage/portato/metadata.xml | 25 +++-- app-portage/portato/portato-0.14.ebuild | 141 ++++++++++++++++++++++++ 4 files changed, 169 insertions(+), 19 deletions(-) create mode 100644 app-portage/portato/portato-0.14.ebuild diff --git a/app-portage/portato/ChangeLog b/app-portage/portato/ChangeLog index 6db7f1f31e58..2c00fbaea211 100644 --- a/app-portage/portato/ChangeLog +++ b/app-portage/portato/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-portage/portato # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.25 2010/04/13 14:02:48 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.26 2010/05/11 21:43:20 idl0r Exp $ + +*portato-0.14 (11 May 2010) + + 11 May 2010; Christian Ruppert +portato-0.14.ebuild, + metadata.xml: + Version bump to 0.14. *portato-0.13.1-r1 (13 Apr 2010) diff --git a/app-portage/portato/Manifest b/app-portage/portato/Manifest index 55309f056307..a3d9d2232c33 100644 --- a/app-portage/portato/Manifest +++ b/app-portage/portato/Manifest @@ -2,13 +2,15 @@ Hash: SHA1 DIST portato-0.13.1.tar.gz 176583 RMD160 4871a7e9ad78f39509b1476e4960b92d18eec288 SHA1 5fb8668ffc77cf5eebdad2b05c678a18589991ce SHA256 401606a4c6dc8431606c295c86abc89cca36f05eac92f1dcc3035cca6c4b6d9c +DIST portato-0.14.tar.gz 258470 RMD160 87dbd61c66942ef026a7fd201514985b133793b4 SHA1 b5f7a03c41a9e5b745c2754892f51296a9a76299 SHA256 952e0db7f76d8eed3ea7150a955fbd255329691170373e41ba799a387692b8f6 EBUILD portato-0.13.1-r1.ebuild 2775 RMD160 72e17447aa38b22cbbd27b320135ecac6a7a312f SHA1 9a6fa6ffdb66f35d21235c4dd159b95b83b51c7d SHA256 cc2f0e90c4282ff6e9696c7e4ac76ad4a77500e4cd860a9c75c2ab5df7df7b59 -MISC ChangeLog 5349 RMD160 c299d077bf38fc3ee4625c8fb581b302e900037b SHA1 960a7fa7c765ece9e38dc840e4d7b47de73f6f6b SHA256 588718fb2062242664bfc70efefd1e5cd3e60c4cc06f449d5760dd7958cca5f1 -MISC metadata.xml 429 RMD160 ffb9fddcbd8d43ea6a9b7a28fc7a3f7261df94b2 SHA1 5c77c3fde203318107826294f8cf44430a2ee4ff SHA256 99ffbce3acec7cc0be80e27419ea46d0f33b388fda10ac169f554e7ebb741c27 +EBUILD portato-0.14.ebuild 3208 RMD160 4629bf61b958ea7a7851121cc1edb3aa1eadc172 SHA1 139581bef7e662ceec04569eadebc7c26c6f7c38 SHA256 ac05d2784b468422e80674f32c87a3d433126bce53dcb0beffe3c90ef2092189 +MISC ChangeLog 5493 RMD160 f4072208dbb36a565c5e8f8d3ee2ae7bf0b85be0 SHA1 adf591847b08007fa5c79ee927b7dece31695e3a SHA256 d27eb2ed186946a1f63334651b127c5036101aa7816b4c0a45b7b38d9841f1f2 +MISC metadata.xml 481 RMD160 fa29ad2978a9cfcf8e87a5681b78fff9318f767f SHA1 e78f24d681778339a80dc3103b1fbbe32f38db22 SHA256 025bbd54ed5758ce49bc7f05cad123381b7bf47b428ae112b956f5554435fab2 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkvEeZMACgkQixe2jn+ufThAxQCdFiXgYnpoUo1UZjo9qLO4QBcR -1foAn0SzlnHlJaSTZG4uS4cENV3lWdr6 -=mng9 +iEYEARECAAYFAkvpz4YACgkQixe2jn+ufThzyQCfTf4sIAxMvQQ/CkaxE14OdpbL +mlYAn2UdMogG7Ru4yn4kiYTiFdbhzkj/ +=Eruh -----END PGP SIGNATURE----- diff --git a/app-portage/portato/metadata.xml b/app-portage/portato/metadata.xml index 8932070e8937..8f203a761ae5 100644 --- a/app-portage/portato/metadata.xml +++ b/app-portage/portato/metadata.xml @@ -1,16 +1,17 @@ -tools-portage - - jokey@gentoo.org - Markus Ullmann - - - gentoo@necoro.eu - René Neumann - - - Allow emerge processes as normal user - + tools-portage + + jokey@gentoo.org + Markus Ullmann + + + gentoo@necoro.eu + René Neumann + + + Enable eix support + Allow emerge processes as normal user + diff --git a/app-portage/portato/portato-0.14.ebuild b/app-portage/portato/portato-0.14.ebuild new file mode 100644 index 000000000000..be556ca3b0c4 --- /dev/null +++ b/app-portage/portato/portato-0.14.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/portato-0.14.ebuild,v 1.1 2010/05/11 21:43:20 idl0r Exp $ + +EAPI="2" + +inherit python eutils distutils + +DESCRIPTION="A GUI for Portage written in Python" +HOMEPAGE="http://necoro.eu/portato" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="+eix kde libnotify nls +sqlite userpriv" +LANGS="ca de es fr it pl pt_BR tr" +for X in $LANGS; do IUSE="${IUSE} linguas_${X}"; done + +COMMON_DEPEND="|| ( + dev-lang/python:2.7[sqlite?,threads] + dev-lang/python:2.6[sqlite?,threads] )" + +RDEPEND="$COMMON_DEPEND + app-portage/portage-utils + x11-libs/vte[python] + >=dev-python/pygtk-2.14.0 + dev-python/pygtksourceview:2 + >=sys-apps/portage-2.1.7.17 + + kde? ( kde-base/kdesu ) + !kde? ( || ( x11-misc/ktsuss x11-libs/gksu ) ) + libnotify? ( dev-python/notify-python ) + nls? ( virtual/libintl ) + eix? ( >=app-portage/eix-0.15.4 )" + +DEPEND="$COMMON_DEPEND + nls? ( sys-devel/gettext )" + +# filled later on +PLUGIN_DIR="" + +pkg_setup() +{ + python_set_active_version 2 + + if use eix && ! use sqlite; then + ewarn "You have enabled 'eix' but not 'sqlite'!" + ewarn "eix-support depends on sqlite, so it will be disabled as well." + fi +} + +src_configure () +{ + # set this before changing ROOT_DIR + # else it would include $ROOT -- which would be plusungood + PLUGIN_DIR=$(./portato.py --plugin-dir) + + sed -i -e "s;^\(ROOT_DIR\s*=\s*\).*;\1\"${ROOT}\";" portato/constants.py || die "sed failed" + + if use userpriv; then + sed -i -e "s/Exec=.*/Exec=portato --no-fork/" portato.desktop || die "sed failed" + fi + + # change configured db-type depending on useflags + local dbtype="dict" + + if use sqlite; then + if use eix; then + dbtype="eixsql" + else + dbtype="sql" + fi + fi + + sed -i -e "s;^\(type\s*=\s*\).*;\1${dbtype};" etc/portato.cfg || die "sed failed" +} + +src_compile () +{ + if use nls; then + ./pocompile.sh -emerge ${LINGUAS} || die "pocompile failed" + fi + + if ! use eix || ! use sqlite; then + distutils_src_compile --disable-eix + else + distutils_src_compile + fi +} + +src_install () +{ + if ! use eix || ! use sqlite; then + distutils_src_install --disable-eix + else + distutils_src_install + fi + + newbin portato.py portato || die "newbin failed" + dodoc doc/* || die "dodoc failed" + + # config + insinto /etc + doins etc/* || die "installing config files failed" + + # desktop + doicon icons/portato-icon.png || die "doicon failed" + domenu portato.desktop || die "domenu failed" + + # nls + if use nls && [ -d i18n/mo ]; then + domo i18n/mo/* + fi + + # man page + doman portato.1 +} + +pkg_postinst () +{ + distutils_pkg_postinst + python_mod_optimize "${PLUGIN_DIR}" + + if use eix && use sqlite; then + einfo + elog "If you are using eix-remote there is no guarantee," + elog "that portato will work as expected with the eixsql database." + elog "If in doubt, change back to sql." + fi +} + +pkg_postrm () +{ + distutils_pkg_postrm + python_mod_cleanup "${PLUGIN_DIR}" + + # try to remove the DATA_DIR, as it may still exist + # reason: it was tried to remove it before plugin stuff was purged + rmdir "${ROOT}"$(dirname ${PLUGIN_DIR}) 2> /dev/null +} \ No newline at end of file -- 2.26.2