Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

Portfile (1.1 KB) - added by easye 15 years ago.
py25-hgsvn Portfile with hgsvn 0.1.7
Portfile.2 (1.3 KB) - added by easye 15 years ago.
py26-hgsvn Portfile for hgsvn 0.1.7

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by easye

Attachment: Portfile added

py25-hgsvn Portfile with hgsvn 0.1.7

Changed 15 years ago by easye

Attachment: Portfile.2 added

py26-hgsvn Portfile for hgsvn 0.1.7

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 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 in reply to:  3 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: newassigned

Maintainer timeout.

comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Committed respectively in r54780, r54776, and r54778. py26 version attributed to myself since saispo didn't request to be maintainer.

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Looks like r54780 updated the checksums but not the version. I updated the version to match in r54793.

Note: See TracTickets for help on using tickets.