Version bump from bug #211556
authorMarkus Ullmann <jokey@gentoo.org>
Mon, 3 Mar 2008 18:16:52 +0000 (18:16 +0000)
committerMarkus Ullmann <jokey@gentoo.org>
Mon, 3 Mar 2008 18:16:52 +0000 (18:16 +0000)
Package-Manager: portage-2.1.4.4

app-portage/portato/ChangeLog
app-portage/portato/Manifest
app-portage/portato/portato-0.9.0.2.ebuild [new file with mode: 0644]

index 5a1061fabbbe1374aba0787bce3165a7bf9b1b87..f7c25cb824063075c23af0e46056c556cad1ed14 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-portage/portato
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.4 2007/10/23 15:55:11 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.5 2008/03/03 18:16:52 jokey Exp $
+
+*portato-0.9.0.2 (03 Mar 2008)
+
+  03 Mar 2008; Markus Ullmann <jokey@gentoo.org> +portato-0.9.0.2.ebuild:
+  Version bump from bug #211556
 
 *portato-0.8.6.2 (23 Oct 2007)
 
index 2612efc3b8f00474051698f25dc8ed39dfc6bf86..d8c995076cd8c270ef467d83814305d060f66573 100644 (file)
@@ -1,6 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST portato-0.8.6.2.tar.gz 110262 RMD160 f1ccba67a5d2099fac3239a63dd6a02566bab80a SHA1 7d1b6ffff0605ea245d8d8c12fb6ffa4505c2dc4 SHA256 67a8715ce8a73948acc81f50a450291fefbc91350c2009ab4c5b32e13896bbf5
 DIST portato-0.8.6.tar.gz 98020 RMD160 3b55d59af5a77fd8e5a4a067b7d5c1543273d42e SHA1 329f1e6a576663bb08596a6c038bebafd71bf6d7 SHA256 53d06c91497dd6685e6f12b6aa7b280c9f542cc2aba1a453dff70c34a5c9940b
+DIST portato-0.9.0.2.tar.gz 118193 RMD160 a8989b3a80cbc5c226486341807df24bb2e86cd8 SHA1 07d46f9e8968f5f8083f0d5006a03b217bbd83d0 SHA256 cf538f602c3c4a66177ee29721be66d7e46165a20a66676ceb791613cffc5c2b
 EBUILD portato-0.8.6.2.ebuild 2762 RMD160 ebf8aa3f4d06d676e4bded7dfdb0cda95ad1f81d SHA1 c1e229ea03c4943b10864657a2a45d8642f518f3 SHA256 ed0f88e7256cd468c95367ea515dda071b57b2be1ab5b9c4db46195c6ac17bba
 EBUILD portato-0.8.6.ebuild 2760 RMD160 d40c0e56ea2f150d444c27750c33eb2ca437fb19 SHA1 ecf1e1362cdde639f988f8c7e81ae478d0001af2 SHA256 0da79c133eb0c90a453242556bc7fd7a6dd51ac59d96260816ab3b7bf1526064
-MISC ChangeLog 2573 RMD160 642a70536b21119e38ca8cb1478c43a990cc12e2 SHA1 e1f3bde6e68c43e1fef95eff9d4f03e7ad538209 SHA256 08efc2acd3412bc548d5c50cd25e6eee46ecb7fddadc2651f91de787d16b96c5
+EBUILD portato-0.9.0.2.ebuild 2921 RMD160 8b6f15ad00bbbc8b3fb36c066b77c495df0064c0 SHA1 e1f3d17543549187f4830ef408ef8eb4bef29654 SHA256 e5755b995a24f144abed52ce97cfdb35df4a23593420acd6caf4a52f079e3f5f
+MISC ChangeLog 2712 RMD160 5a3cdf357a857e87838fe6563f19fca742f67069 SHA1 d4e0f7e7ad75c855449186f6a2f3e533de2a4f5d SHA256 d6c4f5232b3f24d659383495b3311112512efdf71e0e393be5f88e22cfe0806e
 MISC metadata.xml 342 RMD160 8d556f93522973886a24fd30828662e0127d79df SHA1 178def9e5c76d840fca7dd6d6ae4271b5c8b44a9 SHA256 29d67b9ba66df374a1856bbd3d60b379d72603db0097c5f5afad3cb163d21e75
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHzECcz974XjDVpbkRAuOZAJwPdD3byXHLpjlIOu0sfAxjZQfW4gCdGbbL
+vs1ZbudJWW43bRhO6949e6k=
+=hSoC
+-----END PGP SIGNATURE-----
diff --git a/app-portage/portato/portato-0.9.0.2.ebuild b/app-portage/portato/portato-0.9.0.2.ebuild
new file mode 100644 (file)
index 0000000..35bb4d7
--- /dev/null
@@ -0,0 +1,112 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/portato-0.9.0.2.ebuild,v 1.1 2008/03/03 18:16:52 jokey Exp $
+
+EAPI=1
+
+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/342/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="etc-proposals kde +libnotify nls userpriv"
+LANGS="de pl"
+for LANG in $LANGS; do IUSE="${IUSE} linguas_${LANG}"; done
+
+RDEPEND="x11-libs/vte
+               gnome-base/libglade
+               dev-python/pygtksourceview:2
+               app-portage/portage-utils
+               >=dev-python/lxml-1.3.2
+               >=dev-python/pygtk-2.12.0
+               >=sys-apps/portage-2.1.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"
+
+pkg_setup ()
+{
+       if ! built_with_use x11-libs/vte python; then
+               echo
+               eerror "x11-libs/vte has not been built with python support."
+               eerror "Please re-emerge vte with the python use-flag enabled."
+               die "missing python flag for x11-libs/vte"
+       fi
+}
+
+src_compile ()
+{
+       cd "${S}"
+
+       # currently only gtk is supported
+       local std="gtk"
+       local frontends="[\"$std\"]"
+
+       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*\).*;\1DATA_DIR;" \
+                       -e "s;^\(ICON_DIR\s*=\s*\).*;\1\"${ROOT}${ICON_DIR}\";" \
+                       -e "s;^\(LOCALE_DIR\s*=\s*\).*;\1\"${ROOT}${LOCALE_DIR}\";" \
+                       -e "s;^\(FRONTENDS\s*=\s*\).*;\1${frontends};" \
+                       -e "s;^\(STD_FRONTEND\s*=\s*\).*;\1\"${std}\";" \
+                       -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/*
+}