ports/178128: [UPDATE] www/trac-autocomplete: Update to 0.4.2 & Take maintainership
Hung-Yi Chen
gaod at hychen.org
Thu Apr 25 06:40:03 UTC 2013
>Number: 178128
>Category: ports
>Synopsis: [UPDATE] www/trac-autocomplete: Update to 0.4.2 & Take maintainership
>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: Thu Apr 25 06:40:02 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 at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
- Update to 0.4.2.
- Take maintainership to provide further updates.
Port maintainer (rea at FreeBSD.org) is cc'd.
>How-To-Repeat:
>Fix:
--- trac-autocomplete.diff begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 316165)
+++ Makefile (working copy)
@@ -2,30 +2,32 @@
# $FreeBSD$
PORTNAME= autocomplete
-PORTVERSION= 0.4.1
-PORTREVISION= 5
-CATEGORIES= www python
-MASTER_SITES= http://dist.codelabs.ru/fbsd/
+PORTVERSION= 0.4.2.${SVN_REV}
+CATEGORIES= www devel python
+MASTER_SITES= http://distfiles.cse.tw/ \
+ http://trac-hacks.org/changeset/${SVN_REV}/autocompleteusersplugin?old_path=/&format=zip&filename=/
PKGNAMEPREFIX= trac-
-DISTNAME= autocompleteusersplugin-r${REL}
+DISTNAME= ${PORTNAME}usersplugin-r${SVN_REV}
-MAINTAINER= rea at FreeBSD.org
-COMMENT= Plugin for autocompletion of user names in ticket fields
+MAINTAINER= gaod at hychen.org
+COMMENT= Autocomplete user fields (assigned to and CC) on tickets
-RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac
+LICENSE= BSD
+SVN_REV= 12687
+
+RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
+
+WRKSRC= ${WRKDIR}/${PORTNAME}usersplugin/trunk
+USE_ZIP= yes
USE_PYTHON= -2.7
-USE_ZIP= yes
USE_PYDISTUTILS= easy_install
+FETCH_BEFORE_ARGS= -o ${DISTFILES}
PYDISTUTILS_PKGNAME= AutocompleteUsers
-PYDISTUTILS_NOEGGINFO= yes
-WRKSRC= ${WRKDIR}/autocompleteusersplugin/0.11
-REL= 8451
+PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/.${SVN_REV}//g}dev
-# 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'
+post-extract:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644
+ @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 316165)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (autocompleteusersplugin-r8451.zip) = 7d4f5e1547c0bae0b5e320b2d0f729ef9deebd6c52c1e82a4c4ca022ef182e8a
-SIZE (autocompleteusersplugin-r8451.zip) = 14217
+SHA256 (autocompleteusersplugin-r12687.zip) = 1f58f6ec3320abd91b9bec569b80ebcc28566fad044abea458e95f12c4ed1d37
+SIZE (autocompleteusersplugin-r12687.zip) = 16813
Index: pkg-plist
===================================================================
--- pkg-plist (revision 316165)
+++ pkg-plist (working copy)
@@ -6,6 +6,8 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/autocompleteusers.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/htdocs/css/indicator.gif
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/htdocs/css/autocomplete.css
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/htdocs/js/autocomplete_perms.js
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/htdocs/js/autocomplete_query.js
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/htdocs/js/autocomplete_ticket.js
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/htdocs/js/format_item.js
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/autocompleteusers/htdocs/js/autocomplete_ticket_cc.js
--- trac-autocomplete.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list