Opened 15 years ago
Last modified 15 years ago
#23751 closed defect
Incorrect dependencies for hgsubversion — at Initial Version
Reported by: | macports.org@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | akitada@… | |
Port: | py26-hgsubversion |
Description
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 thesetup.py
will install it due to usingsetuptools
, I believe it would be more sensible to make hgsubversion depend onmercurial
.
- 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
Note: See
TracTickets for help on using
tickets.