[MacPorts] #48196: py-openpyxl should also install jdcal
#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
#48196: py-openpyxl @2.2.4_0: missing dependency on jdcal ------------------------------+------------------------ Reporter: andre.holzner@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py-openpyxl | ------------------------------+------------------------ Changes (by larryv@…): * owner: macports-tickets@… => stromnov@… Comment: Thanks for the report. In future tickets, please Cc any port maintainers (`port info --maintainers py-openpyxl`). -- Ticket URL: <https://trac.macports.org/ticket/48196#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48196: py-openpyxl @2.2.4_0: missing dependency on jdcal ------------------------------+------------------------ Reporter: andre.holzner@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py-openpyxl | ------------------------------+------------------------ Comment (by petr@…): This looks like being fixed by r138110. -- Ticket URL: <https://trac.macports.org/ticket/48196#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48196: py-openpyxl @2.2.4_0: missing dependency on jdcal ------------------------------+------------------------ Reporter: andre.holzner@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py-openpyxl | ------------------------------+------------------------ Comment (by andre.holzner@…): by now it seems to work for me. Installing py-openpyxl also install py27-jdcal: {{{ $ sudo port install py-openpyxl ---> Computing dependencies for py-openpyxl ---> Dependencies to be installed: py27-openpyxl py27-jdcal ---> Fetching archive for py27-jdcal ---> Attempting to fetch py27-jdcal-1.0_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-jdcal ---> Attempting to fetch py27-jdcal-1.0_0.darwin_13.x86_64.tbz2.rmd160 from http://nue.de.packages.macports.org/macports/packages/py27-jdcal ---> Installing py27-jdcal @1.0_0 ---> Activating py27-jdcal @1.0_0 ---> Cleaning py27-jdcal ---> Fetching archive for py27-openpyxl ---> Attempting to fetch py27-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-openpyxl ---> Attempting to fetch py27-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/py27-openpyxl ---> Attempting to fetch py27-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-openpyx... ---> Fetching distfiles for py27-openpyxl ---> Attempting to fetch openpyxl-2.2.5.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/py- openpyxl ---> Verifying checksums for py27-openpyxl ---> Extracting py27-openpyxl ---> Configuring py27-openpyxl ---> Building py27-openpyxl ---> Staging py27-openpyxl into destroot ---> Installing py27-openpyxl @2.2.5_0 ---> Activating py27-openpyxl @2.2.5_0 ---> Cleaning py27-openpyxl ---> Fetching archive for py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/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.5_0 ---> Activating py-openpyxl @2.2.5_0 ---> Cleaning py-openpyxl ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. }}} and importing the module also does not produce an error anymore: {{{ $ python Python 2.7.10 (default, Aug 19 2015, 12:58:03) [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
}}}
thanks for fixing it and feel free to close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/48196#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48196: py-openpyxl @2.2.4_0: missing dependency on jdcal ------------------------------+------------------------ Reporter: andre.holzner@… | Owner: stromnov@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: py-openpyxl | ------------------------------+------------------------ Changes (by petr@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/48196#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts