From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 14 20:30:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4A72795C for ; Wed, 14 Aug 2013 20:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2C35624AE for ; Wed, 14 Aug 2013 20:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7EKU38H090425 for ; Wed, 14 Aug 2013 20:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7EKU3Ug090424; Wed, 14 Aug 2013 20:30:03 GMT (envelope-from gnats) Resent-Date: Wed, 14 Aug 2013 20:30:03 GMT Resent-Message-Id: <201308142030.r7EKU3Ug090424@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hung-Yi Chen Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13A797FC for ; Wed, 14 Aug 2013 20:22:01 +0000 (UTC) (envelope-from gaod@cse.tw) Received: from cse.tw (cse.tw [140.138.145.234]) by mx1.freebsd.org (Postfix) with ESMTP id D763E2446 for ; Wed, 14 Aug 2013 20:22:00 +0000 (UTC) Received: from cse.tw (localhost [127.0.0.1]) by cse.tw (Postfix) with ESMTP id E08E5187E5A2 for ; Thu, 15 Aug 2013 04:23:03 +0800 (CST) Received: (from gaod@localhost) by cse.tw (8.14.5/8.14.5/Submit) id r7EKN3Fo074657; Thu, 15 Aug 2013 04:23:03 +0800 (CST) (envelope-from gaod) Message-Id: <201308142023.r7EKN3Fo074657@cse.tw> Date: Thu, 15 Aug 2013 04:23:03 +0800 (CST) From: Hung-Yi Chen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/181307: [MAINTAINER] www/trac-watchlist: Fix file permission & patch for Trac 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Hung-Yi Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 20:30:03 -0000 >Number: 181307 >Category: ports >Synopsis: [MAINTAINER] www/trac-watchlist: Fix file permission & patch for Trac 1.0 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 14 20:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hung-Yi Chen >Release: FreeBSD 9.1-RELEASE-p5 amd64 >Organization: >Environment: System: FreeBSD cse.tw 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Fix file permission. Add a patch for Trac 1.0 compatibility. >How-To-Repeat: >Fix: --- www_trac-watchlist.diff begins here --- Index: www/trac-watchlist/Makefile =================================================================== --- www/trac-watchlist/Makefile (revision 324742) +++ www/trac-watchlist/Makefile (working copy) @@ -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 @@ 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 Index: www/trac-watchlist/files/patch-tracwatchlist_util.py =================================================================== --- www/trac-watchlist/files/patch-tracwatchlist_util.py (revision 0) +++ www/trac-watchlist/files/patch-tracwatchlist_util.py (working copy) @@ -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) ) --- www_trac-watchlist.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: