ports/173103: www/trac-nav: do not directly depend on setuptools
Ruslan Mahmatkhanov
rm at FreeBSD.org
Fri Oct 26 07:20:01 UTC 2012
>Number: 173103
>Category: ports
>Synopsis: www/trac-nav: do not directly depend on setuptools
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 26 07:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Mahmatkhanov
>Release: 10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change
- trim Makefile header
- remove indefinite article in COMMENT
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES
- update WWW
buildlog:
http://people.freebsd.org/~rm/trac-nav-4.1_3.log
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 306424)
+++ Makefile (working copy)
@@ -1,29 +1,23 @@
-# New ports collection makefile for: trac-nav
-# Date created: January 03 2007
-# Whom: Gerrit Beine <gerrit.beine at gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine at gmx.de>
# $FreeBSD$
-#
PORTNAME= nav
PORTVERSION= 4.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www devel python
MASTER_SITES= http://www.gerritbeine.de/download/trac/
PKGNAMEPREFIX= trac-
DISTNAME= trac${PORTNAME}-${PORTVERSION}
MAINTAINER= glarkin at FreeBSD.org
-COMMENT= A fully customizable navigation bar for Trac
+COMMENT= Fully customizable navigation bar for Trac
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
WRKSRC= ${WRKDIR}/trac${PORTNAME}
-NO_BUILD= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= TracNav
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>
Index: pkg-descr
===================================================================
--- pkg-descr (revision 306424)
+++ pkg-descr (working copy)
@@ -3,4 +3,4 @@
be edited like any other wiki page. The navigation bar supports hierarchical
ordering of topics.
-WWW: http://trac-hacks.org/wiki/TracNav
+WWW: http://svn.ipd.kit.edu/trac/javaparty/wiki/TracNav
Index: pkg-plist
===================================================================
--- pkg-plist (revision 306424)
+++ pkg-plist (working copy)
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/TracNav-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list