[MacPorts] #34534: py-openpyxl @1.5.8 missing dependency on py-distribute

MacPorts noreply at macports.org
Sun May 20 14:21:04 PDT 2012


#34534: py-openpyxl @1.5.8 missing 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-openpyxl py25-openpyxl py26-openpyxl py27-openpyxl
------------------------------------------+---------------------------------
 I tried to install `py27-openpyxl` before `py27-distribute` was installed:

 {{{
 $ sudo port -vs install py27-openpyxl
 --->  Computing dependencies for py27-openpyxl.
 --->  Fetching distfiles for py27-openpyxl
 --->  Verifying checksum(s) for py27-openpyxl
 --->  Checksumming openpyxl-1.5.8.tar.gz
 --->  Extracting py27-openpyxl
 --->  Extracting openpyxl-1.5.8.tar.gz
 --->  Configuring py27-openpyxl
 --->  Building py27-openpyxl
 Traceback (most recent call last):
   File "setup.py", line 22, in <module>
     from setuptools import setup, Extension, find_packages
 ImportError: No module named setuptools
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 openpyxl/py27-openpyxl/work/openpyxl-1.5.8" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Exit code: 1
 Error: org.macports.build for port py27-openpyxl returned: command
 execution failed
 Warning: targets not executed for py27-openpyxl: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port py27-openpyxl for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-openpyxl/py27-openpyxl/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port py27-openpyxl failed
 }}}

 Installing `py27-openpyxl` works if `py27-distribute` is already
 installed. The attached patch fixes the problem.

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


More information about the macports-tickets mailing list