# Moving from Trac ticket #14342

> No, py25-foo can have different dependencies than py-foo. I don't know
> what you wanted to tell us with this.

I meant if we would change python24 to drop some standard modules like
the current python25 port does, py-foo and py25-foo's dependencies
would be the same.
Not sure this is 100% same but almost the same I assume.

> 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.

No problem, but Python project now recommend users to use python2.5,
not 2.4. Providing a lot of ports to python25 users would encourage users to
use python2.5. Some people don't bother to write reports even if they want.
I like to add more py25- ports to make python25 looks more *atrractive*.


Forwarded Conversation
Subject: [MacPorts] #14342: python25 drops modules by default, but
python25 doesn't
------------------------

 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 11:51 AM

#14342: python25 drops modules by default, but python25 doesn't
-------------------------------+--------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
     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

--------
 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 11:52 AM

#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
      Type:  enhancement        |      Status:  new
  Priority:  Normal             |   Milestone:  Port Enhancements
 Component:  ports              |     Version:  1.6.0
Resolution:                     |    Keywords:  python
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 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>
[Quoted text hidden]
--------
 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 12:02 PM

#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
      Type:  enhancement        |      Status:  new
  Priority:  Normal             |   Milestone:  Port Enhancements
 Component:  ports              |     Version:  1.6.0
Resolution:                     |    Keywords:  python
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 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>
[Quoted text hidden]
--------
 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 12:18 PM

#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
      Type:  enhancement        |      Status:  new
  Priority:  Normal             |   Milestone:  Port Enhancements
 Component:  ports              |     Version:  1.6.0
Resolution:                     |    Keywords:  python
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 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>
[Quoted text hidden]
--------
 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 12:44 PM

#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
      Type:  enhancement        |      Status:  new
  Priority:  Normal             |   Milestone:  Port Enhancements
 Component:  ports              |     Version:  1.6.0
Resolution:                     |    Keywords:  python
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 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>
[Quoted text hidden]
--------
 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 1:59 PM

#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
      Type:  enhancement        |      Status:  new
  Priority:  Normal             |   Milestone:  Port Enhancements
 Component:  ports              |     Version:  1.6.0
Resolution:                     |    Keywords:  python
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Replying to [comment:4 [EMAIL PROTECTED]:
 > 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>
[Quoted text hidden]
--------
 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 6:27 PM

#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
      Type:  enhancement        |      Status:  new
  Priority:  Normal             |   Milestone:  Port Enhancements
 Component:  ports              |     Version:  1.6.0
Resolution:                     |    Keywords:  python
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 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>
[Quoted text hidden]
--------
 From: MacPorts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, Feb 16, 2008 at 9:33 PM

#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:
[EMAIL PROTECTED]
      Type:  enhancement        |      Status:  new
  Priority:  Normal             |   Milestone:  Port Enhancements
 Component:  ports              |     Version:  1.6.0
Resolution:                     |    Keywords:  python
--------------------------------+-------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Replying to [comment:5 [EMAIL PROTECTED]:
 > 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>
[Quoted text hidden]
--------
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to