[MacPorts] #34533: py-mechanize @0.2.5 add dependency on py-distribute

MacPorts noreply at macports.org
Sun May 20 14:03:48 PDT 2012


#34533: py-mechanize @0.2.5 add dependency on py-distribute
------------------------------------------+---------------------------------
 Reporter:  md14-macports@…               |       Owner:  macports-tickets@…                                                      
     Type:  defect                        |      Status:  new                                                                     
 Priority:  Normal                        |   Milestone:                                                                          
Component:  ports                         |     Version:  2.1.1                                                                   
 Keywords:  haspatch                      |        Port:  py-mechanize py24-mechanize py25-mechanize py26-mechanize py27-mechanize
------------------------------------------+---------------------------------
 I tried to install py27-mechanize before py27-distribute was installed:

 {{{
 $ sudo port -vs install py27-mechanize
 --->  Computing dependencies for py27-mechanize.
 --->  Fetching distfiles for py27-mechanize
 --->  Verifying checksum(s) for py27-mechanize
 --->  Checksumming mechanize-0.2.5.tar.gz
 --->  Extracting py27-mechanize
 --->  Extracting mechanize-0.2.5.tar.gz
 --->  Configuring py27-mechanize
 --->  Building py27-mechanize

 ---------------------------------------------------------------------------
 This script requires setuptools version 0.6c11 to run (even to display
 help).  I will attempt to download it for you (from
 http://pypi.python.org/packages/2.7/s/setuptools/), but
 you may need to enable firewall access for this script first.
 I will start the download in 15 seconds.

 (Note: if this machine does not have network access, please obtain the
 file

 http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg

 and place it in this directory before rerunning this script.)
 ---------------------------------------------------------------------------
 Downloading
 http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
 running build
 running build_py
 ...
 }}}

 If the `py27-distribute` port is already installed, the download of
 `setuptools` does not occur. I suggest it would be more consistent and
 efficient to add a dependency on `py-distribute` and avoid the extra
 download. Please see the attached patch.

-- 
Ticket URL: <https://trac.macports.org/ticket/34533>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list