[MacPorts] #23751: Incorrect dependencies for hgsubversion

MacPorts noreply at macports.org
Wed Feb 17 11:28:58 PST 2010


#23751: Incorrect dependencies for hgsubversion
---------------------------------------+------------------------------------
 Reporter:  macports.org@…             |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  1.8.2                                
 Keywords:  py26-hgsubversion          |        Port:                                       
---------------------------------------+------------------------------------
 hgsubversion's dependencies are currently specified as
 {{{py26-setuptools}}} and {{{subversion}}}.

 These are incorrect for 3 reasons:

 * py26-setuptools is nice but not actually mandatory, hgsubversion
 correctly falls back on regular distutils

 * {{{mercurial}}} is left out of the equation, while the {{{setup.py}}}
 will install it due to using {{{setuptools}}}, I believe it would be more
 sensible to make hgsubversion depend on {{{mercurial}}}.

 * As is, the installation of hgsubversion will break:

 {{{
 --->  Computing dependencies for py26-hgsubversion
 --->  Building py26-hgsubversion
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-hgsubversion/work/hgsubversion-1.0"
 &&
 /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 96, in <module>
     raise Exception('You need to install the SWIG'
 Exception: You need to install the SWIG bindings for Subversion to use
 this package.

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 }}}

 hgsubversion needs to depend on {{{subversion-python26bindings}}} in order
 to build correctly. As a result, it does *not* need to depend on
 {{{subversion}}} at all.

 Suggested dependency changes:
 + add {{{mercurial}}}
 + add {{{subversion-python26bindings}}}
 - remove {{{py26-setuptools}}}
 - remove {{{subversion}}}

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


More information about the macports-tickets mailing list