The AutocompleteUsersPlugin allows AJAX completion of users

for the owner and CC fields on new and existing tickets.

WWW: http://trac-hacks.org/wiki/AutocompleteUsersPlugin

PR:		ports/141254
Submitted by:	Eygene Ryabinkin <rea-fbsd at codelabs.ru>
This commit is contained in:
Martin Wilke 2009-12-13 00:21:31 +00:00
parent d1fa27d874
commit 497daee1d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245668
5 changed files with 79 additions and 0 deletions

View file

@ -1536,6 +1536,7 @@
SUBDIR += trac-accountmanager
SUBDIR += trac-addcomment
SUBDIR += trac-advancedticketworkflow
SUBDIR += trac-autocomplete
SUBDIR += trac-batchmodify
SUBDIR += trac-bzr
SUBDIR += trac-calendar

View file

@ -0,0 +1,45 @@
# New ports collection makefile for: trac-autocomplete
# Date created: December 07, 2009
# Whom: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
#
# $FreeBSD$
#
PORTNAME= autocomplete
PORTVERSION= 0.4.1
CATEGORIES= www python
MASTER_SITES= http://codelabs.ru/fbsd/distfiles/ \
http://dist.codelabs.ru/fbsd/
PKGNAMEPREFIX= trac
DISTNAME= autocompleteusersplugin-r${REL}
MAINTAINER= rea-fbsd@codelabs.ru
COMMENT= A plugin for autocompletion of user names in ticket fields
BUILD_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac
USE_PYTHON= 2.5+
USE_ZIP= yes
NO_BUILD= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= AutocompleteUsers
PYDISTUTILS_NOEGGINFO= yes
WRKSRC= ${WRKDIR}/autocompleteusersplugin/0.11
REL= 7227
PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
# We must fix file permissions -- ZIP file have 0000 for every file.
# Directory permissions are fine (they aren't stored inside ZIP
# file), but we set them too -- just in case.
post-extract:
@${FIND} ${WRKSRC} -type f | ${XARGS} chmod 644
@${FIND} ${WRKSRC} -type d | ${XARGS} chmod 755
# Target to generate packaging list
plist:
@${FIND} ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg -type f | ${SED} -e's|^${PYTHON_SITELIBDIR}/|%%PYTHON_SITELIBDIR%%/|;s|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py[[:digit:]\.]*.egg/|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg/|'
@${FIND} ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg -type d -mindepth 1 | ${SORT} -r | ${SED} -e's|^${PYTHON_SITELIBDIR}/|@dirrm %%PYTHON_SITELIBDIR%%/|;s|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py[[:digit:]\.]*.egg/|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg/|'
@${ECHO} '@dirrm %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg'
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (autocompleteusersplugin-r7227.zip) = 3ba0bf7e0299bf0f1e3894fedef3eb32
SHA256 (autocompleteusersplugin-r7227.zip) = 4f4f50f31b8032eec5ecd7b54194c3b19e8ef671a48925efdf407d7ee71c5094
SIZE (autocompleteusersplugin-r7227.zip) = 14197

View file

@ -0,0 +1,4 @@
The AutocompleteUsersPlugin allows AJAX completion of users
for the owner and CC fields on new and existing tickets.
WWW: http://trac-hacks.org/wiki/AutocompleteUsersPlugin

View file

@ -0,0 +1,26 @@
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/__init__.py
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/autocompleteusers.py
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/__init__.pyc
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/autocompleteusers.pyc
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/__init__.pyo
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/autocompleteusers.pyo
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/css/indicator.gif
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/css/autocomplete.css
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_ticket.js
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/format_item.js
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_ticket_cc.js
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_newticket.js
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete.js
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_newticket_cc.js
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/entry_points.txt
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/top_level.txt
@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js
@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/css
@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs
@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers
@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg