Opened 10 years ago

Closed 10 years ago

#20322 closed defect (fixed)

rst2pdf 0.11 missing dependancy for installing

Reported by: hinman@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: rst2pdf

Description

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

Change History (2)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to blb@…

comment:2 Changed 10 years ago by blb@…

Resolution: fixed
Status: newclosed

Thanks for the catch, fixed in r53946.

Note: See TracTickets for help on using tickets.