]> Pileus Git - ~andy/sunrise/commitdiff
app-portage/portato: Version bump to 0.7.4.1
authorRené Neumann (Necoro) <gentoo@necoro.eu>
Fri, 1 Jun 2007 18:56:09 +0000 (18:56 +0000)
committerRené Neumann (Necoro) <gentoo@necoro.eu>
Fri, 1 Jun 2007 18:56:09 +0000 (18:56 +0000)
svn path=/sunrise/; revision=3800

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

index d50ff3c9a6cf99a30d077de4e7689e7822413cbc..bea15bb75532a9e043d4dc129fe5c0ea0aafefee 100644 (file)
@@ -2,6 +2,10 @@
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  01 Jun 2007; René Neumann (Necoro) <necoro@necoro.net>
+  +portato-0.7.4.1.ebuild:
+  Version bump to 0.7.4.1
+
   25 May 2007; Markus Ullmann <jokey@gentoo.org> portato-0.7.3.ebuild:
   coding style improvement
 
index 6277a73bb9311ab1008fdc0535b2b04cfb6e64b3..3473df7b8873f16047c9ce53db7db2d3a0ac1220 100644 (file)
@@ -1,4 +1,6 @@
 DIST portato-0.7.3.tar.gz 84112 RMD160 d9a0a185b7c5864bba6994632b9da2e87ae0dd62 SHA1 29e2f50a85c1eb43717a0d4e7051e263c48905cc SHA256 df990b59a3a81e0851b6aabe61ba3c393af02368e6917f5fb2de8ac9ad16b81b
+DIST portato-0.7.4.1.tar.gz 85634 RMD160 4d5d0b6946c02c18393d89c97afe7a1384fa965f SHA1 580edf26589233f47cb077409d0598d6ec7d0b70 SHA256 45fcadc0daf594e14c365826690176b48d8d11951d0036bfdb37e49f24a6c588
 EBUILD portato-0.7.3.ebuild 2777 RMD160 53caf97af79eefe04670c39dfd8ca3f86fecdaa5 SHA1 e9bb75daa9a62bce0a93dbbaed84375e037eb1d8 SHA256 eaed98f95fbed99cb4f5a58196d6e17257258c0e850fdf5d0983ca9c91ccc436
-MISC ChangeLog 347 RMD160 765527ae9018ca84f0a91927a612cb95c798138c SHA1 a1872c5d8f74a4817a5de2687e08ab0c9adf5887 SHA256 408c8a8751b7383ad51f5027618a1cfc13bf7dbb560af5397546d522aff8a9db
+EBUILD portato-0.7.4.1.ebuild 2778 RMD160 0b334a097d0cd201d4f0db19b7fc3372fdf30e80 SHA1 0cf13a3c66ad00c73237190a9b065d8464e3480e SHA256 59b7aa2653b33aa5f2346b33c790e4701f205301d20d6df2cc3bb59cc13456b0
+MISC ChangeLog 459 RMD160 57bd046e44833fb21387e53174d46bbd40469116 SHA1 985f6855b253734eee83f732413c5091a5326a0e SHA256 6294145458317fe2b56e842bf4ee9e8e5e8617a91d6f64ba9183d5e4b65e35d8
 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-portage/portato/portato-0.7.4.1.ebuild b/app-portage/portato/portato-0.7.4.1.ebuild
new file mode 100644 (file)
index 0000000..5ce7b5d
--- /dev/null
@@ -0,0 +1,125 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils distutils
+
+DESCRIPTION="A GUI for Portage written in Python."
+HOMEPAGE="http://portato.sourceforge.net/"
+SRC_URI="mirror://sourceforge/portato/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="gtk qt4 syntax userpriv etcproposals"
+
+GTKDEPS=">=dev-python/pygtk-2.8.6
+       >=x11-libs/vte-0.12.2
+       >=gnome-base/libglade-2.5.1
+       !userpriv? ( >=x11-libs/gksu-2.0.0 )
+       syntax? (
+               >=dev-util/portatosourceview-2.16.0
+       )"
+
+RDEPEND="=sys-apps/portage-2.1.2*
+       gtk? ( ${GTKDEPS} )
+       qt4? (
+               >=dev-python/PyQt4-4.1.1
+               !userpriv? ( >=kde-base/kdesu-3.5.5 )
+       )
+       !gtk? ( !qt4? ( ${GTKDEPS}      )       )
+       etcproposals? ( >=app-portage/etcproposals-1.0 )"
+
+S="${WORKDIR}/${PN}"
+CONFIG_DIR="/etc/${PN}/"
+DATA_DIR="/usr/share/${PN}/"
+PLUGIN_DIR="${DATA_DIR}/plugins"
+ICON_DIR="${DATA_DIR}/icons"
+
+apply_sed() {
+       cd "${S}"/${PN}
+
+       frontends="["
+       std=""
+
+       if ( use gtk || ( ! use gtk && ! use qt4 ) ); then
+               frontends="$frontends\"gtk\""
+               std="gtk"
+       fi
+
+       if use qt4; then
+               frontends="$frontends, \"qt\""
+
+               if test -z $std; then
+                       std="qt"
+               fi
+       fi
+
+       frontends="${frontends/\[, /[}]"
+
+       einfo "Building frontends: $frontends"
+
+       sed -i  -e "s;^\(VERSION\s*=\s*\).*;\1\"${PV}\";" \
+                       -e "s;^\(CONFIG_DIR\s*=\s*\).*;\1\"${CONFIG_DIR}\";" \
+                       -e "s;^\(DATA_DIR\s*=\s*\).*;\1\"${DATA_DIR}\";" \
+                       -e "s;^\(ICON_DIR\s*=\s*\).*;\1\"${ICON_DIR}\";" \
+                       -e "s;^\(PLUGIN_DIR\s*=\s*\).*;\1\"${PLUGIN_DIR}\";" \
+                       -e "s;^\(FRONTENDS\s*=\s*\).*;\1$frontends;" \
+                       -e "s;^\(STD_FRONTEND\s*=\s*\).*;\1\"$std\";" \
+                       constants.py
+
+       cd ..
+       if use userpriv; then
+               for d in *.desktop; do
+                       sed -i -e "s/\(gk\|kde\)su.*\(portato.*\)/\2/" $d
+               done
+       fi
+}
+
+pkg_setup() {
+       if ( use gtk || ( ! use gtk && ! use qt4 ) ) && ! 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
+
+       if ! use gtk && ! use qt4 ; then
+               echo
+               einfo "You have not chosen a frontend. Defaulting to gtk."
+       fi
+}
+
+src_compile() {
+       pushd "${S}/${PN}" > /dev/null
+       apply_sed || die "Applying sed-commands failed."
+       popd > /dev/null
+
+       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 userpriv && doins "plugins/noroot.xml"
+       use etcproposals && doins "plugins/etc_proposals.xml"
+
+       # icon
+       doicon icons/portato-icon.png
+
+       # menus
+       ( use gtk || ( ! use gtk && ! use qt4 ) ) && domenu portato_gtk.desktop
+       use qt4 && domenu portato_qt.desktop
+}