mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
The intent of this is to allow an administrator to mark a Ticket as "Pending"
to indicate that information has been requested from the reporter. If the reporter doesn't reply with in the allotted timeframe, the ticket will automatically be closed. This works well when combined with the SimpleTicketPlugin WWW: http://trac-hacks.org/wiki/PendingTicketPlugin Submitted by: Gerrit Beine <gerrit.beine at gmx.de>
This commit is contained in:
parent
772728a3bc
commit
2db39414d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192099
@ -1162,6 +1162,7 @@
|
||||
SUBDIR += trac-macropost
|
||||
SUBDIR += trac-nav
|
||||
SUBDIR += trac-pagetopdf
|
||||
SUBDIR += trac-pendingticket
|
||||
SUBDIR += trac-privatetickets
|
||||
SUBDIR += trac-remind
|
||||
SUBDIR += trac-restrictedarea
|
||||
|
34
www/trac-pendingticket/Makefile
Normal file
34
www/trac-pendingticket/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# New ports collection makefile for: trac-pendingticket
|
||||
# Date created: May 18 2007
|
||||
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pendingticket
|
||||
PORTVERSION= 0.0.1
|
||||
CATEGORIES= www devel python
|
||||
MASTER_SITES= http://www.gerritbeine.de/download/trac/
|
||||
PKGNAMEPREFIX= trac-
|
||||
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerrit.beine@gmx.de
|
||||
COMMENT= Support for pending tickets
|
||||
|
||||
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}plugin/removependingplugin
|
||||
NO_BUILD= yes
|
||||
USE_PYTHON= 2.3+
|
||||
USE_PYDISTUTILS=yes
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
|
||||
|
||||
post-patch:
|
||||
cd ${WRKDIR}/${PORTNAME}plugin && ${PATCH} < ${PATCHDIR}/close_old_pending.py.patch
|
||||
${REINPLACE_CMD} -e "s,%%PYTHON%%,${PYTHON_CMD}," ${WRKDIR}/${PORTNAME}plugin/close_old_pending.py
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}plugin/close_old_pending.py ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/trac-pendingticket/distinfo
Normal file
3
www/trac-pendingticket/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pendingticketplugin-0.0.1.tar.gz) = ca39c01a83f33b6790bf843062ff6fd5
|
||||
SHA256 (pendingticketplugin-0.0.1.tar.gz) = 401e958499f499d3ead98e4b44454914932f32c98c59bc77dd9305419473f76e
|
||||
SIZE (pendingticketplugin-0.0.1.tar.gz) = 2474
|
8
www/trac-pendingticket/files/close_old_pending.py.patch
Normal file
8
www/trac-pendingticket/files/close_old_pending.py.patch
Normal file
@ -0,0 +1,8 @@
|
||||
--- close_old_pending.py.orig Fri May 18 19:25:29 2007
|
||||
+++ close_old_pending.py Fri May 18 20:59:01 2007
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!%%PYTHON%%
|
||||
|
||||
# Script to close old tickets that are in Pending status.
|
||||
# Copyright 2007 Daniel A. Atallah <datallah@pidgin.im>
|
8
www/trac-pendingticket/pkg-descr
Normal file
8
www/trac-pendingticket/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
The intent of this is to allow an administrator to mark a Ticket as "Pending"
|
||||
to indicate that information has been requested from the reporter. If the
|
||||
reporter doesn't reply with in the allotted timeframe, the ticket will
|
||||
automatically be closed.
|
||||
|
||||
This works well when combined with the SimpleTicketPlugin
|
||||
|
||||
WWW: http://trac-hacks.org/wiki/PendingTicketPlugin
|
2
www/trac-pendingticket/pkg-plist
Normal file
2
www/trac-pendingticket/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/close_old_pending.py
|
||||
%%PYTHON_SITELIBDIR%%/RemovePendingStatusPlugin-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg
|
Loading…
Reference in New Issue
Block a user