ports/173058: www/trac-tags: do not directly depend on setuptools
Ruslan Mahmatkhanov
rm at FreeBSD.org
Thu Oct 25 09:50:00 UTC 2012
>Number: 173058
>Category: ports
>Synopsis: www/trac-tags: 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: Thu Oct 25 09:50:00 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
- remove indefinite article in COMMENT
- trim Makefile header
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES
buildlog:
http://people.freebsd.org/~rm/trac-tags-0.7.r11504_1.log
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 306373)
+++ Makefile (working copy)
@@ -1,12 +1,9 @@
-# New ports collection makefile for: trac-tags
-# Date created: December 28 2006
-# Whom: Gerrit Beine <gerrit.beine at gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine at gmx.de>
# $FreeBSD$
-#
PORTNAME= tags
DISTVERSION= 0.7.r${SVN_REV}
+PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -14,19 +11,16 @@
DIST_SUBDIR= trac
MAINTAINER= brooks at FreeBSD.org
-COMMENT= A generic tags frontend for trac
+COMMENT= Generic tags frontend for trac
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
USE_BZIP2= yes
-USE_PYTHON= yes
-NO_BUILD= yes
-USE_PYDISTUTILS=yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracTags
-EGGVERSION= ${PORTVERSION:C/\.r.*/dev/}
-PLIST_SUB+= EGGVERSION=${EGGVERSION} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO= yes
+PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/\.r.*/dev/}
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.pre.mk>
@@ -54,7 +48,4 @@
.endif
.endif
-do-build:
- @${DO_NADA}
-
.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
--- pkg-plist (revision 306373)
+++ pkg-plist (working copy)
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/TracTags-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list