Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115109 Details for
Bug 156545
app-portage/portato (new ebuilds)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
portato-0.6.1p.ebuild
portato-0.6.1p.ebuild (text/plain), 2.46 KB, created by
René 'Necoro' Neumann
on 2007-03-31 23:56:40 UTC
(
hide
)
Description:
portato-0.6.1p.ebuild
Filename:
MIME Type:
Creator:
René 'Necoro' Neumann
Created:
2007-03-31 23:56:40 UTC
Size:
2.46 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils distutils > >DESCRIPTION="Portato - 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="doc syntax etcproposals" > >official_syntax=">=dev-python/gnome-python-desktop-2.16.0" >inoffical_syntax="||( > >=dev-python/pygtksourceview-2.16.0 > >=dev-python/gnome-python-desktop-2.16.0 > )" >used_syntax=$official_syntax > > >DEPEND="doc? (>=dev-python/epydoc-2.0)" > >RDEPEND="=sys-apps/portage-2.1.2* > >=dev-python/pygtk-2.8.6 > >=x11-libs/vte-0.12.2 > >=gnome-base/libglade-2.5.1 > syntax? ( > $used_syntax > x11-libs/gtksourceview > ) > etcproposals? (>=app-portage/etcproposals-1.0)" > >S=${WORKDIR}/${PN} > >CONFIG_DIR="/etc/${PN}/" >DATA_DIR="/usr/share/${PN}/" >PLUGIN_DIR="${DATA_DIR}/plugins" > >apply_sed () >{ > cd ${S}/${PN} > > 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;^\(PLUGIN_DIR\s*=\s*\).*;\1\"${PLUGIN_DIR}\";" \ > constants.py >} > >install_plugin() >{ > flag=$1 > plugin=$2 > > if use $flag; then > einfo "Installing plugin $plugin.xml" > cp plugins/${plugin}.xml ${D}${PLUGIN_DIR} > fi >} > >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_install () >{ > (apply_sed) || die "Applying sed-commands failed." > > dodir ${DATA_DIR} > distutils_src_install > > cd ${S} > newbin portato.py portato > dodoc doc/* > > # config > dodir ${CONFIG_DIR} > cp etc/* ${D}${CONFIG_DIR} > > # plugins > dodir ${PLUGIN_DIR} > > install_plugin syntax "ebuild_highlight" > install_plugin etcproposals "etc_proposals" > > if use syntax; then > insinto "/usr/share/gtksourceview-1.0/language-specs" > doins ../gentoo.lang > fi > > # doc > if use doc; then > epydoc -n Portato --url ${HOMEPAGE} ${PN} > dohtml -r html/* > fi >} > >pkg_postinst() >{ > if use syntax; then > echo > einfo "Sorry for having so much gnome dependencies." > einfo "They are used by the \"syntax\" useflag, because we need" > einfo "a small part of the gnome-python-desktop package." > einfo "Blame upstream pygtk for bundling all those small projects" > einfo "into a huge one." > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 156545
:
102940
|
103055
|
103286
|
103689
|
108067
|
115109
|
116826
|
116878
|
118684
|
118685
|
119084
|
119085
|
120884
|
121019
|
122847
|
122848
|
126427
|
126428
|
126991
|
129201