* [gentoo-dev] python_need_rebuild @ 2008-10-27 1:10 Ali Polatel 2008-10-27 19:14 ` [gentoo-dev] python_need_rebuild Christian Faulhammer 0 siblings, 1 reply; 3+ messages in thread From: Ali Polatel @ 2008-10-27 1:10 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 914 bytes --] Hi everyone, Rebuilding python modules after a python upgrade is a pita. In addition to that it's not easy to determine what needs to be rebuilt and what not. We have even ended up keeping a manual list of packages in python-updater. To make this situation less ugly, i have added a new function called python_need_rebuild to python.eclass. This is a simple functions that exports an environment variable which marks that the package has to be rebuilt after a python upgrade. This way python-updater can accurately find out what needs to be rebuilt. Packages using distutils_src_install don't need any modifications. For other packages I've opened a tracker bug¹. The usage is simple, just call python_need_rebuild without arguments in src_install. And be ready for faster and more accurate python upgrades :) ¹: https://bugs.gentoo.org/show_bug.cgi?id=244555 -- Regards, Ali Polatel [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] Re: python_need_rebuild 2008-10-27 1:10 [gentoo-dev] python_need_rebuild Ali Polatel @ 2008-10-27 19:14 ` Christian Faulhammer 2008-10-27 19:46 ` Ali Polatel 0 siblings, 1 reply; 3+ messages in thread From: Christian Faulhammer @ 2008-10-27 19:14 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 533 bytes --] Hi, Ali Polatel <hawking@gentoo.org>: > Packages using distutils_src_install don't need any modifications. > For other packages I've opened a tracker bug¹. The usage is simple, > just call python_need_rebuild without arguments in src_install. And what about packages (app-misc/gramps) that need a rebuilt, are not distutils based and use no python.eclass? V-Li -- Christian Faulhammer, Gentoo Lisp project <URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode <URL:http://www.faulhammer.org/> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] Re: python_need_rebuild 2008-10-27 19:14 ` [gentoo-dev] python_need_rebuild Christian Faulhammer @ 2008-10-27 19:46 ` Ali Polatel 0 siblings, 0 replies; 3+ messages in thread From: Ali Polatel @ 2008-10-27 19:46 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 540 bytes --] Christian Faulhammer yazmış: > Hi, > > Ali Polatel <hawking@gentoo.org>: > > > Packages using distutils_src_install don't need any modifications. > > For other packages I've opened a tracker bug¹. The usage is simple, > > just call python_need_rebuild without arguments in src_install. > > And what about packages (app-misc/gramps) that need a rebuilt, are not > distutils based and use no python.eclass? > > V-Li > inherit python src_install() { python_need_rebuild ... } -- Regards, Ali Polatel [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-27 19:47 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-10-27 1:10 [gentoo-dev] python_need_rebuild Ali Polatel 2008-10-27 19:14 ` [gentoo-dev] python_need_rebuild Christian Faulhammer 2008-10-27 19:46 ` Ali Polatel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox