ports/160639: [maintainer-update] [patch] devel/hg-git: Update to 0.3.0

Marco Bröder marco.broeder at gmx.eu
Sat Sep 10 18:20:09 UTC 2011


>Number:         160639
>Category:       ports
>Synopsis:       [maintainer-update] [patch] devel/hg-git: Update to 0.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 10 18:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Marco Bröder
>Release:        stable/8 amd64
>Organization:
>Environment:
>Description:
1.) Update to 0.3.0 release.

Upgrading is highly recommended! This release fixes an incompatibility with
Mercurial 1.9.x versions.

Known issue: 'hg outgoing' against git repositories does not work in 1.9.x
right now, but only because nobody's spent the time to fix it for new
discovery. Upstream encourages patches for that.

And upstream is very interested in getting bug reports. If you find any other
defects please submit any bug reports upstream. Thanks!

2.) Move license block to satisfy new portlint check.

3.) Bump required dependencies versions.

4.) Patch egg dulwich dependency version. Dulwich 0.8.1 is not released yet,
but I tested Hg-Git against version 0.8.0 and that works good enough for now.
I will drop the patches and bump required dulwich version the same time I
update devel/dulwich port to 0.8.1 when the new Dulwich version is released.

5.) Tested: portlint, tinderbox build, pkg_add / pkg_delete, runtime

Thanks!

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/devel/hg-git/Makefile b/devel/hg-git/Makefile
index ece5c8b..ba21727 100644
--- a/devel/hg-git/Makefile
+++ b/devel/hg-git/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	hg-git
-PORTVERSION=	0.2.6
+PORTVERSION=	0.3.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,11 +14,11 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	marco.broeder at gmx.eu
 COMMENT=	Mercurial extension to pull from or push to a Git repository
 
-RUN_DEPENDS=	${PKGNAMEPREFIX}dulwich>=0.7.0:${PORTSDIR}/devel/dulwich \
-		mercurial>=1.7.5:${PORTSDIR}/devel/mercurial
-
 LICENSE=	GPLv2
 
+RUN_DEPENDS=	${PKGNAMEPREFIX}dulwich>=0.8.0:${PORTSDIR}/devel/dulwich \
+		mercurial>=1.9.0:${PORTSDIR}/devel/mercurial
+
 MAKE_JOBS_SAFE=	yes
 
 USE_PYTHON=	yes
diff --git a/devel/hg-git/distinfo b/devel/hg-git/distinfo
index bb37bfc..df93152 100644
--- a/devel/hg-git/distinfo
+++ b/devel/hg-git/distinfo
@@ -1,2 +1,2 @@
-SHA256 (hg-git-0.2.6.tar.gz) = 31b3b01632f090cde2fbc421b2d0e0b04c8e078595c314f5a0d90d8187a70d2d
-SIZE (hg-git-0.2.6.tar.gz) = 12710
+SHA256 (hg-git-0.3.0.tar.gz) = f42b04f38fa0a0f91ab4a436731afcea992a390184e2714240baed3074372fa4
+SIZE (hg-git-0.3.0.tar.gz) = 16362
diff --git a/devel/hg-git/files/patch-hg_git.egg-info__requires.txt b/devel/hg-git/files/patch-hg_git.egg-info__requires.txt
new file mode 100644
index 0000000..c164f94
--- /dev/null
+++ b/devel/hg-git/files/patch-hg_git.egg-info__requires.txt
@@ -0,0 +1,6 @@
+--- ./hg_git.egg-info/requires.txt.orig	2011-09-09 23:24:16.000000000 +0200
++++ ./hg_git.egg-info/requires.txt	2011-09-10 19:25:14.233169708 +0200
+@@ -1 +1 @@
+-dulwich>=0.8.1
+\ No newline at end of file
++dulwich>=0.8.0
diff --git a/devel/hg-git/files/patch-setup.py b/devel/hg-git/files/patch-setup.py
new file mode 100644
index 0000000..680c77b
--- /dev/null
+++ b/devel/hg-git/files/patch-setup.py
@@ -0,0 +1,9 @@
+--- ./setup.py.orig	2011-09-09 23:17:19.000000000 +0200
++++ ./setup.py	2011-09-10 19:25:26.255646380 +0200
+@@ -19,5 +19,5 @@
+     keywords='hg git mercurial',
+     license='GPLv2',
+     packages=['hggit'],
+-    install_requires=['dulwich>=0.8.1'],
++    install_requires=['dulwich>=0.8.0'],
+ )
diff --git a/devel/hg-git/pkg-message b/devel/hg-git/pkg-message
index 693fb47..72cba35 100644
--- a/devel/hg-git/pkg-message
+++ b/devel/hg-git/pkg-message
@@ -10,7 +10,7 @@ Mercurial global configuration file '~/.hgrc':
 bookmarks =
 hggit =
 
-The bookmarks section is not compulsory, but it makes some things a bit nicer.
-Bookmarks will be translated to git heads when pushing.
+The bookmarks section is only required prior to hg 1.7. Bookmarks will be
+translated to git heads when pushing.
 
 ====


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list