New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34533 (closed defect: fixed)

Opened 12 months ago

Last modified 9 months ago

py-mechanize @0.2.5 add dependency on py-distribute

Reported by: md14-macports@… 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

Portfile.diff (346 bytes) - added by md14-macports@… 12 months ago.

Change History

Changed 12 months ago by md14-macports@…

comment:1 Changed 12 months ago by ryandesign@…

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

comment:2 Changed 9 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.