Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 256680 Details for
Bug 317003
x11-misc/alacarte: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
alacarte.ebuild.diff
alacarte.ebuild.diff (text/plain), 1.33 KB, created by
Pacho Ramos
on 2010-12-08 19:11:08 UTC
(
hide
)
Description:
alacarte.ebuild.diff
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2010-12-08 19:11:08 UTC
Size:
1.33 KB
patch
obsolete
>--- /home/pacho/gentoo-x86/x11-misc/alacarte/alacarte-0.13.2.ebuild 2010-09-16 22:41:29.000000000 +0200 >+++ /usr/portage/x11-misc/alacarte/alacarte-0.13.2.ebuild 2010-12-08 20:06:21.000000000 +0100 >@@ -2,8 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/alacarte-0.13.2.ebuild,v 1.1 2010/09/16 20:41:29 eva Exp $ > >-EAPI="2" >+EAPI="3" > GCONF_DEBUG="no" >+PYTHON_DEPEND="2" > > inherit gnome2 python > >@@ -15,7 +16,7 @@ > IUSE="" > SLOT=0 > >-common_depends=">=dev-lang/python-2.4 >+common_depends=" > >=dev-python/pygobject-2.15.1 > >=dev-python/pygtk-2.13 > >=gnome-base/gnome-menus-2.27.92[python]" >@@ -28,7 +29,11 @@ > >=dev-util/intltool-0.40.0 > >=dev-util/pkgconfig-0.19" > >-DOCS="AUTHORS ChangeLog NEWS README" >+pkg_setup() { >+ DOCS="AUTHORS ChangeLog NEWS README" >+ python_set_active_version 2 >+ python_pkg_setup >+} > > src_prepare() { > gnome2_src_prepare >@@ -38,13 +43,17 @@ > ln -s $(type -P true) py-compile > } > >+src_configure() { >+ PYTHON="$(PYTHON)" gnome2_src_configure >+} >+ > pkg_postinst() { > gnome2_pkg_postinst > python_need_rebuild >- python_mod_optimize $(python_get_sitedir)/Alacarte >+ python_mod_optimize Alacarte > } > > pkg_postrm() { > gnome2_pkg_postrm >- python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/Alacarte >+ python_mod_cleanup Alacarte > }
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 317003
:
247644
| 256680