Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2013 14:33:43 +0800 (CST)
From:      Hung-Yi Chen <gaod@hychen.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        rea@freebsd.org
Subject:   ports/178128: [UPDATE] www/trac-autocomplete: Update to 0.4.2 & Take maintainership
Message-ID:  <201304250633.r3P6Xh9n069283@cse.tw>
Resent-Message-ID: <201304250640.r3P6e2HE020818@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@FreeBSD.org
-COMMENT=	Plugin for autocompletion of user names in ticket fields
+MAINTAINER=	gaod@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304250633.r3P6Xh9n069283>