New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20384 (closed update: fixed)

Opened 3 years ago

Last modified 3 years ago

hgsvn update to 0.1.7 (with hgpushsvn)

Reported by: easieste@… Owned by: snc@…
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

Portfile Download (1.1 KB) - added by easieste@… 3 years ago.
py25-hgsvn Portfile with hgsvn 0.1.7
Portfile.2 Download (1.3 KB) - added by easieste@… 3 years ago.
py26-hgsvn Portfile for hgsvn 0.1.7

Change History

Changed 3 years ago by easieste@…

py25-hgsvn Portfile with hgsvn 0.1.7

Changed 3 years ago by easieste@…

py26-hgsvn Portfile for hgsvn 0.1.7

  Changed 3 years ago by jmr@…

  • owner changed from macports-tickets@… to saispo@…

  Changed 3 years ago by easieste@…

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.

follow-up: ↓ 4   Changed 3 years ago by blb@…

  • port changed from py-hgsvn to py-hgsvn py25-hgsvn py26-hgsvn

Yeah, using the python24 port group then depending on a py25- port is definitely wrong; that's been fixed in r54268.

in reply to: ↑ 3   Changed 3 years ago by easieste@…

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  \

  Changed 3 years ago by snc@…

  • cc saispo@… added
  • status changed from new to assigned
  • keywords hgsvn removed
  • owner changed from saispo@… to snc@…

Maintainer timeout.

  Changed 3 years ago by snc@…

  • status changed from assigned to closed
  • resolution set to fixed

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

  Changed 3 years ago by ryandesign@…

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.