pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/52953: py-openpyxl dependency is missing
>Number: 52953
>Category: pkg
>Synopsis: py-openpyxl dependency is missing
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 27 07:30:00 +0000 2018
>Originator: Fekete, Zoltán
>Release: pkgsrc-2017Q4
>Organization:
private
>Environment:
NetBSD xen 7.1.1_PATCH NetBSD 7.1.1_PATCH (GENERIC) #0: Tue Jan 9 13:30:04 CET 2018 root@xen:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
I've installed py27-openpyxl in pkgsrc from source.
Then, after launching python2.7, and entered:
import openpyxl
The system complains about a missing dependency:
...
File "/usr/pkg/lib/python2.7/xml/etree/cElementTree.py", line 3, in <module>
from _elementtree import *
ImportError: No module named _elementtree
>How-To-Repeat:
cd /usr/pkgsrc/textproc/py-openpyxl
make install clean
python2.7
>>> import openpyxl
>Fix:
Apply this patch:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-openpyxl/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 30 Oct 2017 10:10:20 -0000 1.4
+++ Makefile 27 Jan 2018 07:28:27 -0000
@@ -11,6 +11,7 @@
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
DEPENDS+= ${PYPKGPREFIX}-jdcal-[0-9]*:../../time/py-jdcal
USE_LANGUAGES= # none
Home |
Main Index |
Thread Index |
Old Index