[MacPorts] #20327: rst2pdf 0.11 missing run time dependancies
#20327: rst2pdf 0.11 missing run time dependancies ------------------------------+--------------------------------------------- Reporter: hinman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: rst2pdf ------------------------------+--------------------------------------------- first run of rst2pdf gives the following error: {{{ Traceback (most recent call last): File "/opt/local/bin/rst2pdf", line 5, in <module> from pkg_resources import load_entry_point File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pkg_resources.py", line 2562, in <module> working_set.require(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pkg_resources.py", line 626, in require needed = self.resolve(parse_requirements(requirements)) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: simplejson }}} Installing the py26-simplejson fixed that error. Second run of rst2pdf gives the following error: {{{ Traceback (most recent call last): File "/opt/local/bin/rst2pdf", line 5, in <module> from pkg_resources import load_entry_point File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pkg_resources.py", line 2562, in <module> working_set.require(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pkg_resources.py", line 626, in require needed = self.resolve(parse_requirements(requirements)) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: Pygments }}} Installing py26-pygments fixed that error. The following patch to the Portsfile should fix this: {{{ --- Portfile.orig 2009-07-15 14:39:19.000000000 -0500 +++ Portfile 2009-07-15 15:05:54.000000000 -0500 @@ -19,6 +19,7 @@ rmd160 1adb0d0bb6d88039a619c6fffa7251e2b871b719 depends_lib-append port:py26-reportlab port:py26-docutils +depends_run port:py26-simplejson port:py26-pygments post-destroot { ln -s ${python.prefix}/bin/rst2pdf ${destroot}${prefix}/bin/rst2pdf }}} -- Ticket URL: <http://trac.macports.org/ticket/20327> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20327: rst2pdf 0.11 missing run time dependancies ------------------------------+--------------------------------------------- Reporter: hinman@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: rst2pdf ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => blb@… -- Ticket URL: <http://trac.macports.org/ticket/20327#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20327: rst2pdf 0.11 missing run time dependancies -------------------------------+-------------------------------------------- Reporter: hinman@… | Owner: blb@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: rst2pdf | -------------------------------+-------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Thanks for the catch, fixed in r53946. -- Ticket URL: <http://trac.macports.org/ticket/20327#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts