Summary: | gnome-python-common.eclass: Support installation for multiple Python ABIs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Eclasses | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | berto.d.sera, dba, lars.lindley, maggu2810, paul, QCS4Gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257, 309041 | ||
Attachments: |
gnome-python-common.eclass.patch
Updated gnome-python-common.eclass.patch Updated gnome-python-common.eclass.patch wrt. #309041 Updated eclass per comment #13 |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
![]() Created attachment 223185 [details, diff]
gnome-python-common.eclass.patch
Created attachment 223419 [details, diff]
Updated gnome-python-common.eclass.patch
(In reply to comment #2) > Created an attachment (id=223419) [details] > Updated gnome-python-common.eclass.patch > Committed to GNOME overlay. *** Bug 319117 has been marked as a duplicate of this bug. *** *** Bug 319079 has been marked as a duplicate of this bug. *** *** Bug 319081 has been marked as a duplicate of this bug. *** *** Bug 320453 has been marked as a duplicate of this bug. *** *** Bug 320451 has been marked as a duplicate of this bug. *** *** Bug 320455 has been marked as a duplicate of this bug. *** *** Bug 320883 has been marked as a duplicate of this bug. *** *** Bug 321305 has been marked as a duplicate of this bug. *** Created attachment 233119 [details, diff]
Updated gnome-python-common.eclass.patch wrt. #309041
Here is an updated patch according to your comments in #309041.
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. 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 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. Ok, I'll do this with the copyright/inherit changes you did in your patch before commiting. Changes to the eclass have been commited. Please reopen if anything is still wrong. Thanks for your contributions. *** Bug 326873 has been marked as a duplicate of this bug. *** |