Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68775 - python-2.4 final release
Summary: python-2.4 final release
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Python Gentoo Team
URL: http://www.python.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 20:47 UTC by Rob Cakebread (RETIRED)
Modified: 2005-01-07 01:27 UTC (History)
10 users (show)

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


Attachments
python-2.4_beta1.ebuild (python-2.4_beta1.ebuild,6.62 KB, text/plain)
2004-10-24 20:48 UTC, Rob Cakebread (RETIRED)
Details
files/depreorder.py (depreorder.py,2.18 KB, text/plain)
2004-10-24 20:49 UTC, Rob Cakebread (RETIRED)
Details
files/python-2.4-add_portage_search_path.patch (python-2.4-add_portage_search_path.patch,555 bytes, text/plain)
2004-10-24 20:49 UTC, Rob Cakebread (RETIRED)
Details
files/python-2.4-gentoo_py_dontcompile.patch (python-2.4-gentoo_py_dontcompile.patch,476 bytes, text/plain)
2004-10-24 20:50 UTC, Rob Cakebread (RETIRED)
Details
files/python-config-2.4 (python-config-2.4,178 bytes, text/plain)
2004-10-24 20:50 UTC, Rob Cakebread (RETIRED)
Details
files/python-updater (python-updater,7.89 KB, text/plain)
2004-10-24 20:50 UTC, Rob Cakebread (RETIRED)
Details
PORTDIR_OVERLAY/eclass/python.eclass (python.eclass,5.88 KB, text/plain)
2004-10-24 21:02 UTC, Rob Cakebread (RETIRED)
Details
PORTDIR_OVERLAY/eclass/python.eclass (python.eclass,5.85 KB, text/plain)
2004-10-24 21:52 UTC, Rob Cakebread (RETIRED)
Details
python-2.4.ebuild (python-2.4.ebuild,6.25 KB, text/plain)
2004-11-30 21:15 UTC, Rob Cakebread (RETIRED)
Details
python-updater (python-updater,8.41 KB, text/plain)
2004-11-30 21:18 UTC, Rob Cakebread (RETIRED)
Details
The ebuild without hard reference to python2.3 in pkg_postinst (python-2.4.patch,1.01 KB, patch)
2004-12-03 23:32 UTC, Nick Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 20:47:08 UTC
Python 2.4 will be coming out "soon". I thought we might get a head-start so heres an ebuild and related files. I've only tested it on x86 and haven't enabled the arch specific patches that were in 2.3.4.

I've been using 2.4 alpha3 since it came out and have only had problems with psyco and pyorbit, everything else I tried worked great.

This is mainly for the Python herd and Python developers. Don't use this unless you know how to recover a dead python.

Put the python.eclass in PORTDIR_OVERLAY/eclass for now. It takes care of the odd version number that Python betas have and I don't want to commit it to CVS just yet.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 20:48:32 UTC
Created attachment 42531 [details]
python-2.4_beta1.ebuild
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 20:49:24 UTC
Created attachment 42532 [details]
files/depreorder.py
Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 20:49:44 UTC
Created attachment 42533 [details]
files/python-2.4-add_portage_search_path.patch
Comment 4 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 20:50:04 UTC
Created attachment 42534 [details]
files/python-2.4-gentoo_py_dontcompile.patch
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 20:50:27 UTC
Created attachment 42535 [details]
files/python-config-2.4
Comment 6 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 20:50:46 UTC
Created attachment 42536 [details]
files/python-updater
Comment 7 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 21:02:12 UTC
Created attachment 42537 [details]
PORTDIR_OVERLAY/eclass/python.eclass
Comment 8 Rob Cakebread (RETIRED) gentoo-dev 2004-10-24 21:52:30 UTC
Created attachment 42539 [details]
PORTDIR_OVERLAY/eclass/python.eclass
Comment 9 David Ripton 2004-11-30 10:27:10 UTC
Python 2.4 is final now.  http://python.org  Clock ticking to see which distro gets it in first.  :->
Comment 10 Rob Cakebread (RETIRED) gentoo-dev 2004-11-30 21:15:39 UTC
Created attachment 45039 [details]
python-2.4.ebuild

Needs help with pkg_postinst(), see reference to python2.3 hard-coded in
Comment 11 Rob Cakebread (RETIRED) gentoo-dev 2004-11-30 21:18:24 UTC
Created attachment 45040 [details]
python-updater

Replaced hard-coded OLD_PY_VER=2.2 with smarter detection of old versions since
now people could be upgrading from 2.2 or 2.3 to 2.4
Comment 12 Nick Savchenko 2004-12-03 23:32:36 UTC
Created attachment 45243 [details, diff]
The ebuild without hard reference to python2.3 in pkg_postinst

I've made a patch for ebuild, that solves the problem with hard-reference to
python2.3 in pkg_postinst.
Comment 13 Hanno Zysik (geki) 2004-12-21 10:19:21 UTC
pyopengl-2.0.0.44 breaks, pyopengl-2.0.1.09 from pyopengl homepage works!
Comment 14 Rob Cakebread (RETIRED) gentoo-dev 2005-01-04 16:51:37 UTC
Closing - added to CVS, package.mask'd for testing.

A couple of notes:

Nick, thanks for patch# 45243. For now I'm leaving it out because I don't think it is necessary because the version of portage that used to keep portage.py etc. in site-packages is long-gone and shouldn't affect anyone upgrading to 2.4.

Hanno, re: comment#13, please open a separate bug report for pyopengl and explain your problem; I emerged 2.0.0.44 using python2.4 without problems.
Comment 15 Hanno Zysik (geki) 2005-01-05 16:51:41 UTC
sorry for noise - now it compiled... :/
Comment 16 David Ripton 2005-01-06 12:16:01 UTC
The /usr/portage/dev-lang/python/Manifest that I got from a Gentoo rsync mirror has some incorrect md5sums.  The problem has persisted for a couple of days, through a couple of "emerge sync"s, so I think it's an outdated master Manifest, not just rsync mirror latency.  (Unless someone *just* fixed it.)

Once I did an "ebuild python-2.4.ebuild digest" to regenerate the Manifest, "emerge python" (with dev-lang/python in package.unmask to get 2.4) worked great.
Comment 17 Bryan Østergaard (RETIRED) gentoo-dev 2005-01-07 01:27:50 UTC
The broken Manifest is already fixed as reported in bug 76892.