[MacPorts] #48196: py-openpyxl should also install jdcal

MacPorts noreply at macports.org
Sun Jun 28 12:53:14 PDT 2015


#48196: py-openpyxl should also install jdcal
-----------------------------+--------------------------------
 Reporter:  andre.holzner@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.3.3
 Keywords:                   |       Port:  py-openpyxl
-----------------------------+--------------------------------
 Trying to install py-openpyxl works (it does not install jdcal on which it
 depends, there is no macport for that):

 {{{
 $ sudo port install py-openpyxl
 --->  Computing dependencies for py-openpyxl
 --->  Fetching archive for py-openpyxl
 --->  Attempting to fetch py-openpyxl-2.2.4_0.darwin_13.noarch.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/py-openpyxl
 --->  Attempting to fetch py-openpyxl-2.2.4_0.darwin_13.noarch.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/py-
 openpyxl
 --->  Attempting to fetch py-openpyxl-2.2.4_0.darwin_13.noarch.tbz2 from
 http://lil.fr.packages.macports.org/py-openpyxl
 --->  Fetching distfiles for py-openpyxl
 --->  Verifying checksums for py-openpyxl
 --->  Extracting py-openpyxl
 --->  Configuring py-openpyxl
 --->  Building py-openpyxl
 --->  Staging py-openpyxl into destroot
 --->  Installing py-openpyxl @2.2.4_0
 --->  Activating py-openpyxl @2.2.4_0
 --->  Cleaning py-openpyxl
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 }}}

 but using it does not:

 {{{
 $ python
 Python 2.7.10 (default, May 26 2015, 17:26:26)
 [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import openpyxl
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/openpyxl/__init__.py", line 9, in <module>
     from openpyxl.workbook import Workbook
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/openpyxl/workbook/__init__.py", line 5, in <module>
     from .workbook import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/openpyxl/workbook/workbook.py", line 14, in <module>
     from openpyxl.utils.datetime  import CALENDAR_WINDOWS_1900
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/openpyxl/utils/datetime.py", line 11, in <module>
     from jdcal import (
 ImportError: No module named jdcal
 >>>
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/48196>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list