Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309039 - gnome-python-common.eclass: Support installation for multiple Python ABIs
Summary: gnome-python-common.eclass: Support installation for multiple Python ABIs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 319079 319081 319117 320451 320453 320455 320883 321305 326873 (view as bug list)
Depends on:
Blocks: 308257 309041
  Show dependency tree
 
Reported: 2010-03-11 19:16 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-09-15 18:20 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gnome-python-common.eclass.patch (gnome-python-common.eclass.patch,4.02 KB, patch)
2010-03-11 19:17 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Updated gnome-python-common.eclass.patch (gnome-python-common.eclass.patch,4.15 KB, patch)
2010-03-13 15:08 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Updated gnome-python-common.eclass.patch wrt. #309041 (gnome-python-common.eclass.patch,2.68 KB, patch)
2010-05-27 12:33 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff
Updated eclass per comment #13 (gnome-python-common.eclass.patch,2.97 KB, patch)
2010-05-27 13:46 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-11 19:16:43 UTC
The patch for gnome-python-common.eclass adds support for installation for multiple Python ABIs, adds support for EAPI >=2 (all ebuilds in gentoo-x86 using this eclass currently use EAPI 0 or 1) and removes deprecation warnings.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-11 19:17:47 UTC
Created attachment 223185 [details, diff]
gnome-python-common.eclass.patch
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-13 15:08:20 UTC
Created attachment 223419 [details, diff]
Updated gnome-python-common.eclass.patch
Comment 3 Priit Laes (IRC: plaes) 2010-03-26 21:17:30 UTC
(In reply to comment #2)
> Created an attachment (id=223419) [details]
> Updated gnome-python-common.eclass.patch
> 

Committed to GNOME overlay.
Comment 4 Rafał Mużyło 2010-05-10 16:29:34 UTC
*** Bug 319117 has been marked as a duplicate of this bug. ***
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-16 09:23:30 UTC
*** Bug 319079 has been marked as a duplicate of this bug. ***
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-16 09:23:39 UTC
*** Bug 319081 has been marked as a duplicate of this bug. ***
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-19 08:04:14 UTC
*** Bug 320453 has been marked as a duplicate of this bug. ***
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-19 08:05:27 UTC
*** Bug 320451 has been marked as a duplicate of this bug. ***
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-19 08:07:30 UTC
*** Bug 320455 has been marked as a duplicate of this bug. ***
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2010-05-22 11:34:16 UTC
*** Bug 320883 has been marked as a duplicate of this bug. ***
Comment 11 Rafał Mużyło 2010-05-24 13:53:59 UTC
*** Bug 321305 has been marked as a duplicate of this bug. ***
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-27 12:33:59 UTC
Created attachment 233119 [details, diff]
Updated gnome-python-common.eclass.patch wrt. #309041

Here is an updated patch according to your comments in #309041.
Comment 13 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-27 12:54:34 UTC
Please export pkg_postinst() and pkg_postrm() also in EAPI >=2. They are currently exported in all EAPIs, but this patch causes exporting of them only in EAPI <2.

I suggest to call python_pkg_setup() in gnome-python-common_pkg_setup() for compatibility with planned changes in python.eclass in EAPI >=4.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-27 13:46:01 UTC
Created attachment 233133 [details, diff]
Updated eclass per comment #13

> Please export pkg_postinst() and pkg_postrm() also in EAPI >=2. They are
> currently exported in all EAPIs, but this patch causes exporting of them only
> in EAPI <2.

oops, fixed

> I suggest to call python_pkg_setup() in gnome-python-common_pkg_setup() for
> compatibility with planned changes in python.eclass in EAPI >=4.

done
Comment 15 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-27 13:52:27 UTC
To improve readability, I suggest to pass phase names to EXPORT_FUNCTIONS() in the order, in which given phases are executed, i.e. src_prepare before src_configure :) .

All other changes look good.
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-27 15:11:25 UTC
Ok, I'll do this with the copyright/inherit changes you did in your patch before commiting.
Comment 17 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-31 21:04:19 UTC
Changes to the eclass have been commited. Please reopen if anything is still wrong. Thanks for your contributions.
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-15 18:20:18 UTC
*** Bug 326873 has been marked as a duplicate of this bug. ***