ChangeLog

# ChangeLog for app-portage/portato
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/portato/ChangeLog,v 1.13 2008/09/16 20:07:29 jokey Exp $

*portato-0.11.1 (16 Sep 2008)

16 Sep 2008; Markus Ullmann +portato-0.11.1.ebuild:
Version bump

03 Aug 2008; Ulrich Mueller metadata.xml:
Add USE flag description to metadata wrt GLEP 56.

01 Aug 2008; Markus Ullmann portato-0.11.ebuild:
wgetpaste--

*portato-0.11 (01 Aug 2008)

01 Aug 2008; Markus Ullmann +portato-0.11.ebuild:
Version bump per necoro's request

08 Jun 2008; Markus Ullmann metadata.xml:
Update metadata

21 May 2008; Markus Ullmann portato-0.10.ebuild:
Fix dependency for bug #219410

21 Apr 2008; Markus Ullmann -portato-0.8.6.ebuild,
-portato-0.8.6.2.ebuild, -portato-0.9.0.2.ebuild:
(Proxy commit) Drop old

*portato-0.10 (21 Apr 2008)

21 Apr 2008; Markus Ullmann +portato-0.10.ebuild:
(Proxy commit) Version Bump

*portato-0.9.0.2 (03 Mar 2008)

03 Mar 2008; Markus Ullmann +portato-0.9.0.2.ebuild:
Version bump from bug #211556

*portato-0.8.6.2 (23 Oct 2007)

23 Oct 2007; Markus Ullmann +portato-0.8.6.2.ebuild:
Version bump

22 Oct 2007; Markus Ullmann portato-0.8.6.ebuild:
Some fixes from sunrise/portage-review

*portato-0.8.6 (20 Oct 2007)

20 Oct 2007; Markus Ullmann -portato-0.8.5.ebuild,
+portato-0.8.6.ebuild:
Version bump from Necoro and drop old

*portato-0.8.5 (09 Sep 2007)

09 Sep 2007; Markus Ullmann +metadata.xml,
+portato-0.8.5.ebuild:
Import from sunrise for bug #156545

06 Sep 2007; René Neumann (Necoro)
portato-0.8.5.ebuild:
Ebuild beautifying

26 Aug 2007; René Neumann (Necoro)
-portato-0.8.1.ebuild, +portato-0.8.5.ebuild:
Version bump to 0.8.5

24 Aug 2007; René Neumann (Necoro)
portato-0.8.1.ebuild:
Revert change. vte-0.18.6 works now

22 Aug 2007; René Neumann (Necoro)
portato-0.8.1.ebuild:
Do not use vte-0.16.8 until it is fixed.

11 Aug 2007; René Neumann (Necoro)
portato-0.8.1.ebuild:
no kdesu needed if kdebase is installed

04 Aug 2007; René Neumann (Necoro)
-portato-0.8.0.ebuild, +portato-0.8.1.ebuild:
Version bump

30 Jul 2007; René Neumann (Necoro)
-portato-0.7.5.ebuild, +portato-0.8.0.ebuild:
Version bump portato

23 Jun 2007; René Neumann (Necoro)
-portato-0.7.4.2.ebuild, +portato-0.7.5.ebuild:
Version bump

21 Jun 2007; René Neumann (Necoro)
portato-0.7.4.2.ebuild:
Allowed portage-2.1.3

14 Jun 2007; René Neumann (Necoro)
portato-0.7.4.2.ebuild:
Removed syntax useflag and made the portatosourceview mandatory

03 Jun 2007; René Neumann (Necoro)
-portato-0.7.4.1.ebuild, +portato-0.7.4.2.ebuild:
Version bump

01 Jun 2007; Ali Polatel (hawking)
-portato-0.7.3.ebuild:
Drop old

01 Jun 2007; René Neumann (Necoro)
+portato-0.7.4.1.ebuild:
Version bump to 0.7.4.1

25 May 2007; Markus Ullmann portato-0.7.3.ebuild:
coding style improvement

12 May 2007; René Neumann (Necoro)
+portato-0.7.3.ebuild, +metadata.xml:
New ebuild for bug #156545

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST portato-0.10.tar.gz 134789 RMD160 034468433d1ca76ebc787b7f9494b4ca47824135 SHA1 aa1273edfdbd1102ebd6781f3804d439bfd830d7 SHA256 a2fdae45b1cdc3e5f115b9e05f34f6f2b03d08f0b0071002062d0649933711b8
DIST portato-0.11.1.tar.gz 140745 RMD160 0c6b6c442ddba1cff011ca85fe514f6289b5bf7f SHA1 a9b7dd9f5a851590f15050f1d21aa4c068e4f2c8 SHA256 ff9d99c02d1beaf68c6c8337456bbb2159113a63ed41591b7aea9abd8ed87fa0
DIST portato-0.11.tar.gz 133790 RMD160 589c009dece5a73a0058bfa4bec3e693070531da SHA1 80ab31956300a523eb921b598b8bbe20828340ab SHA256 e9bc137a8e821206e337d6b1e29b68a7888dca791d6f99ab2e256d871f1a37ec
EBUILD portato-0.10.ebuild 2843 RMD160 7d85f763e274adb0c3dee9206137b5e0492df8db SHA1 cc9912d71d6fc66feebced72918ab2654cb7bce6 SHA256 6831e1a0f412061ea7d7d9d39e6e775023be8d2d59b563d22aa8ce486e52e6c2
EBUILD portato-0.11.1.ebuild 2994 RMD160 5cdf85de95c048755264b27766f1a6c6c0bd4ff5 SHA1 eeeb446c94a87a3d91878a9a45608c4bc7ab7e40 SHA256 11b748e594085390a8d5a46f9ec1aa1f7ef7d47b11dc84af13f59e87ee5b6e64
EBUILD portato-0.11.ebuild 2992 RMD160 e1ae14f833163fd0867780bf9d28466d6bc0969e SHA1 26edd3da4686435223d071b7d1383cc978fd8bfe SHA256 c26e05b3a6f9ca3945417ea590d2de4c5ab163a36be92deb3eb354c4f0397511
MISC ChangeLog 3637 RMD160 b1865d5e3654cbd12771805f430046c82c41974e SHA1 b84583b29fd542670eb87c86ad3e217c43298758 SHA256 2bcc2d3fed5df664430ce302005b3d4b6008c7ba4437622258207d083fe239b9
MISC metadata.xml 540 RMD160 94b486575913bf15a12b29e19d991a210006a95f SHA1 5b2af67c4a023d21f5ba823c22eb8bac32afd6c7 SHA256 ebf3b713857a744e912d36671b1792d1e11ef1d06bba2a155c40d72ecdc30777
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjQEhAACgkQz974XjDVpbkoRwCcCa9ljKVIXTExZYOOm5EDI8/P
XEYAnj/ieIHWmXE8sPcCHy6ANuf9zLMx
=+nO7
-----END PGP SIGNATURE-----

metadata.xml




no-herd

jokey@gentoo.org
Markus Ullmann


gentoo@necoro.eu
René Neumann


Use app-portage/etc-proposals for
updating CONFIG_PROTECTed stuff

Allow emerge processes as normal user

portato-0.10.ebuild

# 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.10.ebuild,v 1.2 2008/05/21 18:37:38 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/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
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
!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"

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}"

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/*
}

portato-0.11.1.ebuild

# 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.11.1.ebuild,v 1.1 2008/09/16 20:07:29 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/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
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"

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 ()
{
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
}

portato-0.11.ebuild

# 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.11.ebuild,v 1.2 2008/08/01 21:17:21 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/733/${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
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"

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 ()
{
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
}