[MacPorts] #14342: python25 drops modules by default, but python25 doesn't
#14342: python25 drops modules by default, but python25 doesn't -------------------------------+-------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: python | -------------------------------+-------------------------------------------- Python2.5 disables common modules by default, but python2.4 doesn't. See dports/lang/python25/files/patch-setup.py {{{ # This global variable is used to hold the list of modules to be disabled. -disabled_module_list = [] +disabled_module_list = ["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel"] }}} IMHO, all python pors should be as similar as they can be. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python25 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): If there's a reason, please make it clear by leaving comments about that on the patch file. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python25 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python --------------------------------+------------------------------------------- Comment (by raimue@macports.org): These are provided as seperate ports. For example py25-hashlib, py25-zlib and others. I don't know what the advantage of that was, but we already had that discussion once. Portfile writers should include correct dependencies. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python25 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): I think that's OK, but the thing is python24 doesn't drop these modules. It's a weird... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python25 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python --------------------------------+------------------------------------------- Comment (by raimue@macports.org): If we were going to change this, it would require to change dependencies in nearly all py-* ports. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python25 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): Replying to [comment:4 raimue@macports.org]:
If we were going to change this, it would require to change dependencies in nearly all py-* ports.
Yes, we probably have to check py-ports that was not in py25 ports {{{ $ port list |egrep -i '^py-' | cut -d" " -f1 | sort -u > py24 $ port list |egrep -i '^py25-' | cut -d" " -f1 | sed 's/^py25/py/' | sort -u > py25 $ wc -l py2[45] 338 py24 109 py25 447 total $ comm -2 -3 py24 py25 > py24-only $ wc -l py24-only 259 py24-only }}} How about create py25- ports of all 259 py24 only ports? To create py25-ports, we need to know the port need zlib or hashlib, which helps identify this py24 ports should be fixed. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python25 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python --------------------------------+------------------------------------------- Comment (by ebgssth@gmail.com): From a different point of view, that MacPorts has lots more python2.4 ports than python2.5's seems weird to me. (Python 2.5 is the current stable, Python 2.4 series will be no longer released anymore) Should I open another ticket about this problem? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python25 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python --------------------------------+------------------------------------------- Comment (by raimue@macports.org): Replying to [comment:5 ebgssth@gmail.com]:
Yes, we probably have to check py-ports that was not in py25 ports
No, py25-foo can have different dependencies than py-foo. I don't know what you wanted to tell us with this. And there is no problem that we have more py-* ports than py25-* ports. We just add what people request. If nobody needs a port, but it is in the tree, it is just more work for maintainers. So if you need some port, ask for it. PS: This kind of discussion would have been better on the mailing list. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python24 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python python25 python24 --------------------------------+------------------------------------------- Changes (by raimue@macports.org): * keywords: python => python python25 python24 * summary: python25 drops modules by default, but python25 doesn't => python25 drops modules by default, but python24 doesn't -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#14342: python25 drops modules by default, but python24 doesn't --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: akira@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: python python25 python24 --------------------------------+------------------------------------------- Changes (by akira@macports.org): * owner: macports-tickets@lists.macosforge.org => akira@macports.org * status: new => assigned -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:9> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts