[MacPorts] #20322: rst2pdf 0.11 missing dependancy for installing

MacPorts noreply at macports.org
Wed Jul 15 12:45:20 PDT 2009


#20322: rst2pdf 0.11 missing dependancy for installing
------------------------------+---------------------------------------------
 Reporter:  hinman@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.7.1                                
 Keywords:                    |        Port:  rst2pdf                              
------------------------------+---------------------------------------------
 rst2pdf version 0.11 fails with the following:

 {{{

 --->  Building rst2pdf
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_rst2pdf/work/rst2pdf-0.11"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build " returned error 1
 Command output: Traceback (most recent call last):
   File "setup.py", line 7, in <module>
     from setuptools import setup, find_packages
 ImportError: No module named setuptools

 }}}

 py26-setuptools is not listed as a dependancy.   The following patch fixes
 the issue.

 {{{

 --- Portfile.orig       2009-07-15 14:39:19.000000000 -0500
 +++ Portfile    2009-07-15 14:40:08.000000000 -0500
 @@ -18,7 +18,7 @@
                      sha1    e9e749b7c1156bf3f13af759eb8732dd2f0e891d \
                      rmd160  1adb0d0bb6d88039a619c6fffa7251e2b871b719

 -depends_lib-append  port:py26-reportlab port:py26-docutils
 +depends_lib-append  port:py26-reportlab port:py26-docutils
 port:py26-setuptools

  post-destroot {
     ln -s ${python.prefix}/bin/rst2pdf ${destroot}${prefix}/bin/rst2pdf

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20322>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list