The TracMercurial plugin v0.12 is outdated and not works with mercurial-2.3.1 and above (http://trac.edgewall.org/ticket/10851). Fix: Upgrade the package, the 1.0 branch of the plugin (installed from source) works well on my environment with the mercurial-2.5.1. How-To-Repeat: Install the plugin from ports.
Dear Madams and Sirs, I also hit ports/178196 problem, and made a dirty quick hack. Please find patches below. I hope this might help someone. Note: You may need to fetch by hand (i.e. using hg command from command line, rename directory, and tar it, put the tar ball into distfiles/trac/, blah blah) Also, you may need to fix SHA256 and SIZE entries in distinfo. Thank you very much. Sincerely -- moto kawasaki <moto@kawasaki3.org> ============================================================ # diff -u www/trac-mercurial/Makefile.orig www/trac-mercurial/Makefile --- www/trac-mercurial/Makefile.orig 2013-03-01 02:06:36.000000000 +0900 +++ www/trac-mercurial/Makefile 2013-06-25 18:29:03.000000000 +0900 @@ -1,7 +1,7 @@ # $FreeBSD: www/trac-mercurial/Makefile 313115 2013-02-28 17:06:36Z brooks $ PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;:L} -PORTVERSION= 0.12.0.1 +PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= LOCAL/pgollucci @@ -18,13 +18,13 @@ USE_PYTHON= -2.7 USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= TracMercurial -PYDISTUTILS_PKGVERSION= 0.12.0.23dev +PYDISTUTILS_PKGVERSION= 1.0.0.3dev 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} + hg clone http://hg.edgewall.org/trac/mercurial-plugin#1.0 ${WRKSRC} ${MKDIR} ${_DISTDIR} cd ${WRKDIR} && \ tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME} # diff -u www/trac-mercurial/distinfo.orig www/trac-mercurial/distinfo --- www/trac-mercurial/distinfo.orig 2012-07-14 23:29:18.000000000 +0900 +++ www/trac-mercurial/distinfo 2013-06-25 18:29:08.000000000 +0900 @@ -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.tar.gz) = 4b18f13b4c7bb87f497760f6a8b7cfc9f75ea4cca187779c18d6541b8b65fa6f +SIZE (trac/mercurialplugin-1.0.tar.gz) = 79481 #
Responsible Changed From-To: freebsd-ports-bugs->rm I will take it.
Author: rm Date: Sun Feb 9 21:55:52 2014 New Revision: 343546 URL: http://svnweb.freebsd.org/changeset/ports/343546 QAT: https://qat.redports.org/buildarchive/r343546/ Log: - 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) Modified: head/www/trac-mercurial/Makefile head/www/trac-mercurial/distinfo Modified: head/www/trac-mercurial/Makefile ============================================================================== --- head/www/trac-mercurial/Makefile Sun Feb 9 21:55:51 2014 (r343545) +++ head/www/trac-mercurial/Makefile Sun Feb 9 21:55:52 2014 (r343546) @@ -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> Modified: head/www/trac-mercurial/distinfo ============================================================================== --- head/www/trac-mercurial/distinfo Sun Feb 9 21:55:51 2014 (r343545) +++ head/www/trac-mercurial/distinfo Sun Feb 9 21:55:52 2014 (r343546) @@ -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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thank you!