#20384 closed update (fixed)
hgsvn update to 0.1.7 (with hgpushsvn)
Reported by: | easye | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | saispo@… | |
Port: | py-hgsvn py25-hgsvn py26-hgsvn |
Description
hgsvn has been updated to 0.1.7 which importantly includes the 'hgpushsvn' command which pushes changes from Mercurial to the Subversion repository.
I can't seem to get the 'py-hgsvn' port working against Python2.4 either in 0.1.7 or 0.1.6 version of the port, but as a bonus I have a working version of py26-hgsvn.
Attachments (2)
Change History (9)
Changed 15 years ago by easye
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to saispo@… |
---|
comment:2 Changed 15 years ago by easye
The error I get for 'py-hgsvn' (i.e. against Python 2.4) is:
dada:~$ hgpullsvn --version Traceback (most recent call last): File "/opt/local/bin/hgpullsvn", line 5, in ? from pkg_resources import load_entry_point ImportError: No module named pkg_resources
which seems to indicate some sort of problems with the py setuptools being used.
I note that 'py-hgsvn' is using the py25-setuptools as a library dependency, which seems odd to me, although I don't claim to begin understand all the baroque superstructure for dealing with Python versions in MacPorts.
comment:3 follow-up: 4 Changed 15 years ago by blb@…
Port: | py25-hgsvn py26-hgsvn added |
---|
Yeah, using the python24 port group then depending on a py25- port is definitely wrong; that's been fixed in r54268.
comment:4 Changed 15 years ago by easye
Replying to blb@…:
In addition, the 'py-hgsvn' port needs a runtime dependency on 'py-elementtree' in order to work (this is not the case for 'py25-hgsvn' or 'py26-hgsvn'):
--- Portfile.orig 2009-07-26 08:54:46.000000000 +0200 +++ Portfile 2009-07-26 08:55:05.000000000 +0200 @@ -22,6 +22,7 @@ rmd160 bade2e485af23846e529b9a4fc9ff3138c839e2c depends_lib-append port:py-setuptools +depends_run-append port:py-elementtree post-destroot { xinstall -m 644 -W ${worksrcpath} AUTHORS.txt COPYING.txt README.txt TODO.txt \
comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)
Cc: | saispo@… added |
---|---|
Keywords: | hgsvn removed |
Owner: | changed from saispo@… to snc@… |
Status: | new → assigned |
Maintainer timeout.
comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
py25-hgsvn Portfile with hgsvn 0.1.7