Date: Mon, 7 Dec 2009 22:48:14 +0300 (MSK) From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/141254: New port: www/trac-autocomplete Message-ID: <20091207194814.ECC48DA81A@void.codelabs.ru> Resent-Message-ID: <200912071950.nB7Jo2mk023805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141254 >Category: ports >Synopsis: New port: www/trac-autocomplete >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: Mon Dec 07 19:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eygene Ryabinkin >Release: FreeBSD 8.0-RC1 amd64 >Organization: Code Labs >Environment: System: FreeBSD 8.0-RC1 amd64 >Description: AutompleteUsers is a handy plugin for Trac that enables username autocompletion for username fields. It is very useful in corporate environments where people have arbitrary logins and managements doesn't want to guess them. >How-To-Repeat: http://trac-hacks.org/wiki/AutocompleteUsersPlugin >Fix: The following SHAR archive contains new port. I had tested it in our local corporate Trac instance and it passes builds on the Tinderbox for 7.x, 8.x and 9.x. --- new-port.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # trac-autocomplete # trac-autocomplete/Makefile # trac-autocomplete/distinfo # trac-autocomplete/pkg-descr # trac-autocomplete/pkg-plist # echo c - trac-autocomplete mkdir -p trac-autocomplete > /dev/null 2>&1 echo x - trac-autocomplete/Makefile sed 's/^X//' >trac-autocomplete/Makefile << '2b389de8a65c93c1a604b3eab679934e' X# New ports collection makefile for: trac-autocomplete X# Date created: December 07, 2009 X# Whom: Eygene Ryabinkin <rea-fbsd@codelabs.ru> X# X# $FreeBSD$ X# X XPORTNAME= autocomplete XPORTVERSION= 0.4.1 XCATEGORIES= www python XMASTER_SITES= http://codelabs.ru/fbsd/distfiles/ XPKGNAMEPREFIX= trac XDISTNAME= autocompleteusersplugin-r${REL} X XMAINTAINER= rea-fbsd@codelabs.ru XCOMMENT= A plugin for autocompletion of user names in ticket fields X XBUILD_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools XRUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac X XUSE_PYTHON= 2.3+ XUSE_ZIP= yes XNO_BUILD= yes XUSE_PYDISTUTILS= yes XPYDISTUTILS_PKGNAME= AutocompleteUsers XPYDISTUTILS_NOEGGINFO= yes XWRKSRC= ${WRKDIR}/autocompleteusersplugin/0.11 XREL= 7227 XPLIST_SUB+= PYTHON_VER=${PYTHON_VER} X X# We must fix file permissions -- ZIP file have 0000 for every file. X# Directory permissions are fine (they aren't stored inside ZIP X# file), but we set them too -- just in case. Xpost-extract: X @${FIND} ${WRKSRC} -type f | ${XARGS} chmod 644 X @${FIND} ${WRKSRC} -type d | ${XARGS} chmod 755 X X# Target to generate packaging list Xplist: X @${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/|' X @${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/|' X @${ECHO} '@dirrm %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg' X X.include <bsd.port.mk> 2b389de8a65c93c1a604b3eab679934e echo x - trac-autocomplete/distinfo sed 's/^X//' >trac-autocomplete/distinfo << '6c7312ffaa2b6e52f7492de5657c9f10' XMD5 (autocompleteusersplugin-r7227.zip) = 3ba0bf7e0299bf0f1e3894fedef3eb32 XSHA256 (autocompleteusersplugin-r7227.zip) = 4f4f50f31b8032eec5ecd7b54194c3b19e8ef671a48925efdf407d7ee71c5094 XSIZE (autocompleteusersplugin-r7227.zip) = 14197 6c7312ffaa2b6e52f7492de5657c9f10 echo x - trac-autocomplete/pkg-descr sed 's/^X//' >trac-autocomplete/pkg-descr << '7983667f3e4a191617da2dd25726f83a' XThe AutocompleteUsersPlugin allows AJAX completion of users Xfor the owner and CC fields on new and existing tickets. X XWWW: http://trac-hacks.org/wiki/AutocompleteUsersPlugin 7983667f3e4a191617da2dd25726f83a echo x - trac-autocomplete/pkg-plist sed 's/^X//' >trac-autocomplete/pkg-plist << 'd13969580824b75e423ec6dc62108e82' X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/__init__.py X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/autocompleteusers.py X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/__init__.pyc X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/autocompleteusers.pyc X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/__init__.pyo X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/autocompleteusers.pyo X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/css/indicator.gif X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/css/autocomplete.css X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_ticket.js X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/format_item.js X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_ticket_cc.js X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_newticket.js X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete.js X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js/autocomplete_newticket_cc.js X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/PKG-INFO X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/SOURCES.txt X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/dependency_links.txt X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/entry_points.txt X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/not-zip-safe X%%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO/top_level.txt X@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/js X@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs/css X@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers/htdocs X@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/autocompleteusers X@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg/EGG-INFO X@dirrm %%PYTHON_SITELIBDIR%%/AutocompleteUsers-0.4.1-py%%PYTHON_VER%%.egg d13969580824b75e423ec6dc62108e82 exit --- new-port.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091207194814.ECC48DA81A>