[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ports/109346: [PATCH] www/trac-accountmanager: update to 0.1.3



>Number:         109346
>Category:       ports
>Synopsis:       [PATCH] www/trac-accountmanager: update to 0.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 20 01:40:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007
>Description:

This patch depends on ports/109341.

- Update to 0.1.3
- Change MASTER_SITES for distfile
Dear maintainer, if you want to host at http://dist.bsdlab.org/ ,
feel free to download the distfile and change MASTER_SITES)

Port maintainer (kuriyama_(_at_)_FreeBSD_(_dot_)_org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- trac-accountmanager-0.1.3,1.patch begins here ---
diff -ruN -ruN --exclude=CVS /usr/ports/www/trac-accountmanager/Makefile /home/lwhsu/ports/www/trac-accountmanager/Makefile
--- /usr/ports/www/trac-accountmanager/Makefile	Wed Aug 30 20:49:47 2006
+++ /home/lwhsu/ports/www/trac-accountmanager/Makefile	Tue Feb 20 09:26:53 2007
@@ -5,29 +5,37 @@
 # $FreeBSD: ports/www/trac-accountmanager/Makefile,v 1.3 2006/08/30 12:49:47 kuriyama Exp $
 #
 
-PORTNAME=	accountmanagerplugin
-PORTVERSION=	0.9
-PORTREVISION=	2
+PORTNAME=	accountmanager
+PORTVERSION=	0.1.3
+PORTEPOCH=	1
 CATEGORIES=	www devel python
-#MASTER_SITES=	http://trac-hacks.org/download/accountmanagerplugin.zip
-MASTER_SITES=	http://dist.bsdlab.org/
+#MASTER_SITES=	http://trac-hacks.org/svn/accountmanagerplugin/0.10/
+MASTER_SITES=	http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
 PKGNAMEPREFIX=	trac-
+DISTNAME=	TracAccountManager-${PORTVERSION}
 
 MAINTAINER=	kuriyama_(_at_)_FreeBSD_(_dot_)_org
 COMMENT=	Account Manager Plugin for trac
 
-BUILD_DEPENDS=	easy_install:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS=	tracd:${PORTSDIR}/www/trac \
-		easy_install:${PORTSDIR}/devel/py-setuptools
+BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
+		tracd:${PORTSDIR}/www/trac \
+		${PYTHON_SITELIBDIR}/${TRACWEBADMIN_EGG}/webadmin/__init__.py:${PORTSDIR}/www/trac-webadmin
+RUN_DEPENDS=	${BUILD_DEPENDS}
 
-USE_ZIP=	yes
 USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-WRKSRC=		${WRKDIR}/${PORTNAME}/${PORTVERSION}
-PLIST_SUB=	VERSION=0.1.2 PYVER=${PYTHON_VERSION:S/python//} SED=${SED}
+USE_PYDISTUTILS=	yes
 
-do-build:
-	@${DO_NADA}
+EASY_INSTALL_CMD?=	easy_install-${PYTHON_VER}
+
+PYDISTUTILS_BUILD_TARGET=	bdist_egg
+PYDISTUTILS_INSTALL_TARGET=	easy_install
+PYDISTUTILS_INSTALLARGS=	-O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACACCOUNTMANAGER_EGG}
+
+TRACACCOUNTMANAGER_EGG=	TracAccountManager-${PORTVERSION}dev-py${PYTHON_VER}.egg
+
+PLIST_SUB+=	EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+		TRACACCOUNTMANAGER_EGG=${TRACACCOUNTMANAGER_EGG} \
+		TRACACCOUNTMANAGER_EGG_VER="TracAccountManager==${PORTVERSION}dev"
 
 # --- trac.ini
 # [components]
@@ -40,4 +48,6 @@
 # --- httpd.conf
 # SetEnv PYTHON_EGG_CACHE "/tmp/cache"
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+TRACWEBADMIN_EGG!=	${MAKE} -f ${PORTSDIR}/www/trac-webadmin/Makefile -V TRACWEBADMIN_EGG
+.include <bsd.port.post.mk>
diff -ruN -ruN --exclude=CVS /usr/ports/www/trac-accountmanager/distinfo /home/lwhsu/ports/www/trac-accountmanager/distinfo
--- /usr/ports/www/trac-accountmanager/distinfo	Sat Feb 18 14:52:03 2006
+++ /home/lwhsu/ports/www/trac-accountmanager/distinfo	Tue Feb 20 08:07:15 2007
@@ -1,3 +1,3 @@
-MD5 (accountmanagerplugin-0.9.zip) = 932e7a5a23bc2098303437c04c9baf1c
-SHA256 (accountmanagerplugin-0.9.zip) = c2d6413f7fc09f93b9899973e8ceca295b8320f2e354b6845c6684046b9cacd5
-SIZE (accountmanagerplugin-0.9.zip) = 24547
+MD5 (TracAccountManager-0.1.3.tar.gz) = 7b035ac21d289f8a796fb853dad6acb6
+SHA256 (TracAccountManager-0.1.3.tar.gz) = 184aec9bbcfde3fa05f0b800fabd7a01457d7e425d65eec7c539ed57e03205d7
+SIZE (TracAccountManager-0.1.3.tar.gz) = 12516
diff -ruN -ruN --exclude=CVS /usr/ports/www/trac-accountmanager/pkg-plist /home/lwhsu/ports/www/trac-accountmanager/pkg-plist
--- /usr/ports/www/trac-accountmanager/pkg-plist	Wed Feb 22 10:44:28 2006
+++ /home/lwhsu/ports/www/trac-accountmanager/pkg-plist	Tue Feb 20 08:44:15 2007
@@ -1,2 +1,3 @@
-%%PYTHON_SITELIBDIR%%/TracAccountManager-%%VERSION%%-py%%PYVER%%.egg
-_(_at_)_unexec %%SED%% -i '' -e '/TracAccountManager-%%VERSION%%-py%%PYVER%%.egg/d' %D/%%PYTHON_SITELIBDIR%%/easy-install.pth
+_(_at_)_unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%TRACACCOUNTMANAGER_EGG_VER%%
+%%PYTHON_SITELIBDIR%%/%%TRACACCOUNTMANAGER_EGG%%
+_(_at_)_exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%TRACACCOUNTMANAGER_EGG_VER%%
--- trac-accountmanager-0.1.3,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org