ports/138287: [patch] converters/py-pisa fix dependency to py-reportlab
Junji NAKANISHI
jun-g at daemonfreaks.com
Fri Aug 28 21:30:06 UTC 2009
>Number: 138287
>Category: ports
>Synopsis: [patch] converters/py-pisa fix dependency to py-reportlab
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 28 21:30:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Junji NAKANISHI
>Release: FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD 7.2-STABLE #2: Wed Jun 24 02:46:12 JST 2009
root at blackmagic.daemonfreaks.local:/usr/obj/usr/src/sys/GENERIC
>Description:
pisa require reportlab2.1+.
>How-To-Repeat:
# cd /usr/ports/converters/py-pisa && make install clean
# rehash
# pisa
****************************************************
IMPORT ERROR!
Reportlab Version 2.1+ is needed!
****************************************************
The following Python packages are required for PISA:
- Reportlab Toolkit >= 2.2 <http://www.reportlab.org/>
- HTML5lib >= 0.11.1 <http://code.google.com/p/html5lib/>
Optional packages:
- pyPDF <http://pybrary.net/pyPdf/>
- PIL <http://www.pythonware.com/products/pil/>
No handlers could be found for logger "sx.pisa3"
Traceback (most recent call last):
File "/usr/local/bin/pisa", line 8, in <module>
load_entry_point('pisa==3.0.32', 'console_scripts', 'pisa')()
File "build/bdist.freebsd-7.2-STABLE-i386/egg/pkg_resources.py", line 277, in load_entry_point
File "build/bdist.freebsd-7.2-STABLE-i386/egg/pkg_resources.py", line 2180, in load_entry_point
File "build/bdist.freebsd-7.2-STABLE-i386/egg/pkg_resources.py", line 1913, in load
File "/usr/local/lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/__init__.py", line 31, in <module>
from pisa import *
File "/usr/local/lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa.py", line 21, in <module>
from pisa_document import *
File "/usr/local/lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_document.py", line 11, in <module>
from pisa_context import pisaContext
File "/usr/local/lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_context.py", line 11, in <module>
from pisa_util import *
File "/usr/local/lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_util.py", line 44, in <module>
raise ImportError("Reportlab Version 2.1+ is needed!")
ImportError: Reportlab Version 2.1+ is needed!
#
>Fix:
--- py-pisa.patch begins here ---
diff -du py-pisa.orig/Makefile py-pisa/Makefile
--- py-pisa.orig/Makefile 2009-08-29 06:06:44.000000000 +0900
+++ py-pisa/Makefile 2009-08-29 06:07:09.000000000 +0900
@@ -15,7 +15,7 @@
COMMENT= PDF generator using HTML and CSS
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.11.1:${PORTSDIR}/www/py-html5lib \
- ${PYTHON_PKGNAMEPREFIX}reportlab>=0:${PORTSDIR}/print/py-reportlab \
+ ${PYTHON_PKGNAMEPREFIX}reportlab2>=2.1:${PORTSDIR}/print/py-reportlab2 \
${PYTHON_PKGNAMEPREFIX}imaging>=0.1:${PORTSDIR}/graphics/py-imaging \
${PYTHON_PKGNAMEPREFIX}pdf>=1.12:${PORTSDIR}/print/py-pdf
--- py-pisa.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list