Opened 12 years ago

Closed 12 years ago

#34533 closed defect (fixed)

py-mechanize @0.2.5 add dependency on py-distribute

Reported by: mndavidoff (Monte Davidoff) Owned by: krischik@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: haspatch Cc: akitada@…
Port: py-mechanize py24-mechanize py25-mechanize py26-mechanize py27-mechanize

Description

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.

Attachments (1)

Portfile.diff (346 bytes) - added by mndavidoff (Monte Davidoff) 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.diff added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: akitada@… added; krischik@… removed
Owner: changed from macports-tickets@… to krischik@…

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.