Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 11:10:06 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324757 - in head/www/trac-watchlist: . files
Message-ID:  <201308151110.r7FBA67O087214@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Thu Aug 15 11:10:05 2013
New Revision: 324757
URL: http://svnweb.freebsd.org/changeset/ports/324757

Log:
  www/trac-watchlist: fix for trac 1.0
  
  - Fix to work with trac 1.0
  - Fix file permission
  
  PR:		ports/181307
  Submitted by:	Hung-Yi Chen <gaod hychen.org> (maintainer)

Added:
  head/www/trac-watchlist/files/
  head/www/trac-watchlist/files/patch-tracwatchlist_util.py   (contents, props changed)
Modified:
  head/www/trac-watchlist/Makefile

Modified: head/www/trac-watchlist/Makefile
==============================================================================
--- head/www/trac-watchlist/Makefile	Thu Aug 15 10:32:22 2013	(r324756)
+++ head/www/trac-watchlist/Makefile	Thu Aug 15 11:10:05 2013	(r324757)
@@ -3,6 +3,7 @@
 
 PORTNAME=	watchlist
 PORTVERSION=	1.0.${SVN_REV}
+PORTREVISION=	1
 CATEGORIES=	www devel python
 MASTER_SITES=	http://distfiles.cse.tw/ \
 		http://trac-hacks.org/changeset/${SVN_REV}/watchlistplugin?old_path=/&format=zip&filename=/
@@ -26,6 +27,9 @@ USE_PYDISTUTILS=	easy_install
 FETCH_BEFORE_ARGS=	-o ${DISTFILES}
 PYDISTUTILS_PKGNAME=	TracWatchlistPlugin
 PYDISTUTILS_PKGVERSION=	${PORTVERSION:C/.${SVN_REV}//g}
-#PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+post-extract:
+	@${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644
+	@${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
 
 .include <bsd.port.mk>

Added: head/www/trac-watchlist/files/patch-tracwatchlist_util.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/trac-watchlist/files/patch-tracwatchlist_util.py	Thu Aug 15 11:10:05 2013	(r324757)
@@ -0,0 +1,13 @@
+--- tracwatchlist/util.py.orig	2013-08-15 04:15:56.000000000 +0800
++++ tracwatchlist/util.py	2013-08-15 04:16:05.000000000 +0800
+@@ -198,8 +198,8 @@
+ try:
+     from  babel.dates        import  get_datetime_format, get_date_format, get_time_format
+     def datetime_format(format='medium', locale=LC_TIME):
+-        time_format = unicode(get_time_format(format, locale))
+-        date_format = unicode(get_date_format(format, locale))
++        time_format = unicode(get_time_format(format, locale=locale))
++        date_format = unicode(get_date_format(format, locale=locale))
+         return convert_LDML_to_MySQL( get_datetime_format(format, locale)\
+                 .replace('{0}', time_format)\
+                 .replace('{1}', date_format) )



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