Opened 13 years ago

Closed 13 years ago

#34534 closed defect (fixed)

py-openpyxl @1.5.8 missing dependency on py-distribute

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

Description

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.

Attachments (2)

main.log.bz2 (2.8 KB) - added by mndavidoff (Monte Davidoff) 13 years ago.
Portfile.diff (514 bytes) - added by mndavidoff (Monte Davidoff) 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.bz2 added

Changed 13 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.diff added

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

Cc: singingwolfboy@… removed
Owner: changed from macports-tickets@… to singingwolfboy@…

comment:2 Changed 13 years ago by mndavidoff (Monte Davidoff)

This was fixed in r93480, so it looks all right to close this ticket. Thanks!

comment:3 Changed 13 years ago by mf2k (Frank Schima)

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