Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253888

Summary: app-text/gnome-doc-utils should use EAPI 2
Product: Gentoo Linux Reporter: Nils Larsson <nisselarsson000>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: Inclusion, InOverlay
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 239123    
Bug Blocks:    
Attachments: EAPI2 enabled ebuild.
Patch to gnome-doc-utils-0.14.1

Description Nils Larsson 2009-01-05 18:51:35 UTC
gnome-doc-utils with libxml2 built without the "python" USE-flag enabled fails. With all the bugreports and questions seen on #gentoo I'd think it would be a good idea to to add RDEPEND=">=dev-libs/libxml2-2.6.12[python]" to the gnome-doc-utils-ebuild.

Reproducible: Always

Steps to Reproduce:
Comment 1 Nils Larsson 2009-01-05 18:52:36 UTC
Created attachment 177496 [details]
EAPI2 enabled ebuild.
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-01-05 18:57:48 UTC
please add changes (or bumps) as patches (use diff -Naur <origfile> <newfile>)- it makes it easier to see what exactly you propose.
Comment 3 Nils Larsson 2009-01-06 00:40:02 UTC
Created attachment 177529 [details]
Patch to gnome-doc-utils-0.14.1
Comment 4 Nils Larsson 2009-01-06 00:45:37 UTC
(In reply to comment #2)
> please add changes (or bumps) as patches (use diff -Naur <origfile> <newfile>)-
> it makes it easier to see what exactly you propose.

My bad. See above.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-11 21:32:45 UTC
this will be fixed when gnome2 eclass has support for EAPI 2
Comment 6 Mart Raudsepp gentoo-dev 2009-01-22 23:49:23 UTC
libxml2 is a prime candidate for a separate libxml2-python package split imho. But yeah, for the time being a USE depend is a temporary solution.
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-02-14 17:27:41 UTC
keywords+=InOverlay please[1] (p.masked)

1. http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a04ef356469f6b6a37f11c8409ec68de57be5c84
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-02-19 15:48:58 UTC
Fixed in portage.
Comment 9 Mart Raudsepp gentoo-dev 2009-04-19 03:24:01 UTC
FYI, EAPI-2 says patching should be done in src_prepare instead of src_unpack.

I have fixed that to be correct with the gnome-doc-utils-0.16 version. Haven't fixed old ones though, some arches have them stable and it's not very important - the practical end affect is currently identical anyway (though omf2_fix gets called at different time compared to the patching, but that's not important).