- Bump PORTREVISION to chase the update of devel/dulwich

- Make 'PYVER' construct slightly smaller

PR:		ports/142272
Submitted by:	Marco Broder <marco.broeder@gmx.eu> (maintainer)
This commit is contained in:
Wen Heping 2010-01-04 00:53:25 +00:00
parent decda97ed0
commit 24674ef073
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247082

View File

@ -7,6 +7,7 @@
PORTNAME= hg-git
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,14 +15,14 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= marco.broeder@gmx.eu
COMMENT= Mercurial extension to pull from or push to a Git repository
RUN_DEPENDS= ${PKGNAMEPREFIX}dulwich>=0.4.0:${PORTSDIR}/devel/dulwich \
RUN_DEPENDS= ${PKGNAMEPREFIX}dulwich>=0.4.1:${PORTSDIR}/devel/dulwich \
hg:${PORTSDIR}/devel/mercurial
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/hg_git-%%VERSION%%-py%%PYVER%%.egg
PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/thon//}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/hg_git-%%VERSION%%-%%PYVER%%.egg
post-install:
@${CAT} ${PKGMESSAGE}