From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 27 22:00:01 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]) by hub.freebsd.org (Postfix) with ESMTP id EFCCB751 for ; Wed, 27 Mar 2013 22:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D2D8E60A for ; Wed, 27 Mar 2013 22:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RM01W2087003 for ; Wed, 27 Mar 2013 22:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RM01HF087002; Wed, 27 Mar 2013 22:00:01 GMT (envelope-from gnats) Resent-Date: Wed, 27 Mar 2013 22:00:01 GMT Resent-Message-Id: <201303272200.r2RM01HF087002@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 [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 71C7B576 for ; Wed, 27 Mar 2013 21:55:39 +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 10B8D3F3 for ; Wed, 27 Mar 2013 21:55:38 +0000 (UTC) Received: from cse.tw (localhost [127.0.0.1]) by cse.tw (Postfix) with ESMTP id 06637187F176 for ; Thu, 28 Mar 2013 05:55:46 +0800 (CST) Received: (from gaod@localhost) by cse.tw (8.14.5/8.14.5/Submit) id r2RLtj8t091550; Thu, 28 Mar 2013 05:55:45 +0800 (CST) (envelope-from gaod) Message-Id: <201303272155.r2RLtj8t091550@cse.tw> Date: Thu, 28 Mar 2013 05:55:45 +0800 (CST) From: Hung-Yi Chen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177424: [NEW PORT] www/trac-subtickets: A plugin ffers sub-ticket feature for managing tickets 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, 27 Mar 2013 22:00:02 -0000 >Number: 177424 >Category: ports >Synopsis: [NEW PORT] www/trac-subtickets: A plugin ffers sub-ticket feature for managing tickets >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 22:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hung-Yi Chen >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD cse.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This plugin offers sub-ticket feature for managing tickets. WWW: http://trac-hacks.org/wiki/SubticketsPlugin >How-To-Repeat: >Fix: --- trac-subtickets.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 0) +++ Makefile (working copy) @@ -0,0 +1,30 @@ +# Created by: Hung-Yi Chen +# $FreeBSD$ + +PORTNAME= subtickets +PORTVERSION= 0.2.0.${GITDATE} +CATEGORIES= www devel python +MASTER_SITES= https://github.com/itota/trac-subtickets-plugin/tarball/${GITVERSION}/ +DISTNAME= itota-trac-subtickets-plugin-a0fc153 +PKGNAMEPREFIX= trac- + +MAINTAINER= gaod@hychen.org +COMMENT= Offers sub-ticket feature for managing tickets + +LICENSE= BSD + +GITVERSION= a0fc153 +GITDATE= 20130328 +RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac + +WRKSRC= ${WRKDIR}/${PORTNAME}plugin/0.12 +WRKSRC= ${WRKDIR}/itota-trac-${PORTNAME}-plugin-${GITVERSION} +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install + +FETCH_ARGS= -Fpr +PYDISTUTILS_PKGNAME= TracSubTicketsPlugin +PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/${GITDATE}//g}dev +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% + +.include Index: distinfo =================================================================== --- distinfo (revision 0) +++ distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (itota-trac-subtickets-plugin-a0fc153.tar.gz) = 02d41766c2efeb70fabebb269afcbac5af1c1bcbbfc09e1f33f1cc0056c031b2 +SIZE (itota-trac-subtickets-plugin-a0fc153.tar.gz) = 7444 Index: files/patch-setup.cfg =================================================================== --- files/patch-setup.cfg (revision 0) +++ files/patch-setup.cfg (working copy) @@ -0,0 +1,10 @@ +--- setup.cfg.orig 2013-03-28 05:06:54.072148000 +0800 ++++ setup.cfg 2013-03-28 05:06:59.650566000 +0800 +@@ -1,6 +1,6 @@ + [egg_info] + tag_build = .dev +-tag_date = True ++tag_date = False + + [extract_messages] + add_comments = TRANSLATOR: Index: files/patch-tracsubtickets_api.py =================================================================== --- files/patch-tracsubtickets_api.py (revision 0) +++ files/patch-tracsubtickets_api.py (working copy) @@ -0,0 +1,20 @@ +--- tracsubtickets/api.py.orig 2013-03-28 05:19:20.898573000 +0800 ++++ tracsubtickets/api.py 2013-03-28 05:19:46.107341000 +0800 +@@ -153,7 +153,7 @@ + (parent, ticket.id)) + # add a comment to old parent + xticket = Ticket(self.env, parent) +- xticket.save_changes(author, _('Remove a subticket #%s.') % ticket.id) ++ xticket.save_changes(author, _('Remove a subticket #%s. (%s)') % (ticket.id, ticket['summary'])) + tn = TicketNotifyEmail(self.env) + tn.notify(xticket, newticket=False, modtime=xticket['changetime']) + +@@ -164,7 +164,7 @@ + (parent, ticket.id)) + # add a comment to new parent + xticket = Ticket(self.env, parent) +- xticket.save_changes(author, _('Add a subticket #%s.') % ticket.id) ++ xticket.save_changes(author, _('Add a subticket #%s. (%s)') % (ticket.id, ticket['summary'])) + tn = TicketNotifyEmail(self.env) + tn.notify(xticket, newticket=False, modtime=xticket['changetime']) + Index: pkg-descr =================================================================== --- pkg-descr (revision 0) +++ pkg-descr (working copy) @@ -0,0 +1,3 @@ +This plugin offers sub-ticket feature for managing tickets. + +WWW: http://trac-hacks.org/wiki/SubticketsPlugin --- trac-subtickets.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: