On Thu, 29 Jul 2010, Todd C. Miller wrote:

> The Hg-Git plugin for Mercurial adds the ability to push to and
> pull from a Git server repository from Mercurial. This means you
> can collaborate on Git based projects from Mercurial, or use a Git
> server as a collaboration point for a team with developers using
> both Git and Mercurial.
> 
> Index: devel/py-hg-git/Makefile
> ===================================================================
> RCS file: devel/py-hg-git/Makefile
> diff -N devel/py-hg-git/Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ devel/py-hg-git/Makefile  29 Jul 2010 12:12:41 -0000
> @@ -0,0 +1,23 @@
> +# $OpenBSD$
> +
> +COMMENT=     Push/pull from a Git server repository using Mercurial.
> +
> +DISTNAME=    schacon-hg-git-0.2.3-0-g4097609
> +WRKSRC=              ${WRKDIR}/${DISTNAME:S/0.2.3-0-g//}
> +PKGNAME=     py-hg-git-0.2.3p1

No need to append p1 to PKGNAME.

> +MASTER_SITES=        http://download.github.com/

This MASTER_SITES does not work.

Otherwise, it is ok for me.

Ciao, 
David

Following it's your Makefile with my modifications: 

# $OpenBSD$

COMMENT=        Push/pull from a Git server repository using Mercurial.

V=              0.2.3
DISTNAME=       schacon-hg-git-${V}-0-g4097609
WRKSRC=         ${WRKDIR}/${DISTNAME:S/${V}-0-g//}
PKGNAME=        py-hg-git-${V}
CATEGORIES=     devel

# Python
PERMIT_PACKAGE_CDROM=   Yes
PERMIT_PACKAGE_FTP=     Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=   Yes

HOMEPAGE=       http://hg-git.github.com/
MASTER_SITES=   http://github.com/schacon/hg-git/tarball/${V}/

MODULES=        lang/python
RUN_DEPENDS=    ::devel/py-dulwich
NO_REGRESS=     Yes

.include <bsd.port.mk>

Reply via email to