1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- update to 1.0.0.3 to fix support for mercurial >= 2.3.1 [1]

- add LICENSE (GPLv2)
- do not use easy_install and convert to auto-generated packing list

PR:		178196
Reported by:    Gabor HALASZ <halasz.g@freemail.hu> [1]
Submitted by:	moto kawasaki <moto@kawasaki3.org> (based on)
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-09 21:55:52 +00:00
parent b4d64e49b3
commit 34ca3b6015
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343546
2 changed files with 11 additions and 21 deletions

View File

@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
PORTVERSION= 0.12.0.1
PORTREVISION= 1
PORTNAME= mercurial
PORTVERSION= 1.0.0.3
CATEGORIES= www devel python
MASTER_SITES= LOCAL/pgollucci
MASTER_SITES= LOCAL/rm
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
@ -12,22 +11,13 @@ DIST_SUBDIR= trac
MAINTAINER= ports@FreeBSD.org
COMMENT= Plugin to use Mercurial instead of Subversion in Trac
RUN_DEPENDS+= hg:${PORTSDIR}/devel/mercurial \
LICENSE= GPLv2
RUN_DEPENDS= hg:${PORTSDIR}/devel/mercurial \
tracd:${PORTSDIR}/www/trac
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracMercurial
PYDISTUTILS_PKGVERSION= 0.12.0.23dev
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.if defined(BOOTSTRAP)
do-fetch:
${MKDIR} ${WRKDIR}
svn export http://svn.edgewall.org/repos/trac/plugins/0.12/mercurial-plugin ${WRKSRC}
${MKDIR} ${_DISTDIR}
cd ${WRKDIR} && \
tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (trac/mercurialplugin-0.12.0.1.tar.gz) = 56d1663196b34d5664e45eeed2b3530b7ce4728ba284aa9af4b11d07d6e652d0
SIZE (trac/mercurialplugin-0.12.0.1.tar.gz) = 20990
SHA256 (trac/mercurialplugin-1.0.0.3.tar.gz) = 733f0e30c5b3e9521f72b755f471b8b8f9ae27f5643ab7ffb01d6ca4bcda2bc9
SIZE (trac/mercurialplugin-1.0.0.3.tar.gz) = 26597