[MacPorts] #39479: py-pytools @2012.1: build fails trying to use distribute

MacPorts noreply at macports.org
Thu Oct 3 21:58:59 PDT 2013


#39479: py-pytools @2012.1: build fails trying to use distribute
------------------------------+--------------------------------
  Reporter:  md14-macports@…  |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  reopened
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.3
Resolution:                   |   Keywords:  haspatch
      Port:  py-pytools       |
------------------------------+--------------------------------
Changes (by md14-macports@…):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 Thank you for your attention to this. As it says in the distribute
 documentation at ​http://pythonhosted.org/distribute/, "Distribute is a
 deprecated fork of the Setuptools project. Since the Setuptools 0.7
 release, Setuptools and Distribute have merged and Distribute is no longer
 being maintained." At one time, py*-setuptools was replaced by
 py*-distribute. More recently, this was undone, and py*-distribute was
 replaced by py*-setuptools. The py27-pytools install does not fail for me
 in the same way, probably because of fixes made to setuptools, but the
 build output shows it is not behaving correctly:

 {{{
 $ sudo port -vs install py27-pytools
 --->  Computing dependencies for py27-pytools.
 --->  Fetching distfiles for py27-pytools
 --->  Verifying checksums for py27-pytools
 --->  Checksumming pytools-2012.1.tar.gz
 --->  Extracting py27-pytools
 --->  Extracting pytools-2012.1.tar.gz
 --->  Configuring py27-pytools
 --->  Building py27-pytools
 Downloading
 http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
 ...
 }}}

 The MacPorts way is for MacPorts to manage downloads and dependencies, not
 the scripts for individual ports. This problem has been fixed upstream,
 and I've replaced the patch with one that upgrades to pytools 2013.5.6.
 (The setup.py.diff file is no longer needed.)

-- 
Ticket URL: <https://trac.macports.org/ticket/39479#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list