Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 09:50:01 GMT
From:      moto kawasaki <moto@kawasaki3.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/178196: /usr/ports/www/trac-mercurial broken
Message-ID:  <201306250950.r5P9o1VB077246@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/178196; it has been noted by GNATS.

From: moto kawasaki <moto@kawasaki3.org>
To: bug-followup@FreeBSD.org
Cc: halasz.g@freemail.hu
Subject: Re: ports/178196: /usr/ports/www/trac-mercurial broken
Date: Tue, 25 Jun 2013 18:36:05 +0900 (JST)

 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
 # 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306250950.r5P9o1VB077246>