ports/173107: www/trac-pagelist: do not directly depend on setuptools

Ruslan Mahmatkhanov rm at FreeBSD.org
Fri Oct 26 07:30:01 UTC 2012


>Number:         173107
>Category:       ports
>Synopsis:       www/trac-pagelist: 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:30: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
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES

buildlog:
http://people.freebsd.org/~rm/trac-pagelist-0.1.0_5.log

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 306424)
+++ Makefile	(working copy)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-pagelist
-# Date created:                      May 18 2007
-# Whom:                              Gerrit Beine <gerrit.beine at gmx.de>
-#
+# Created by: Gerrit Beine <gerrit.beine at gmx.de>
 # $FreeBSD$
-#
 
 PORTNAME=	pagelist
 PORTVERSION=	0.1.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www devel python
 MASTER_SITES=	http://www.gerritbeine.de/download/trac/
 PKGNAMEPREFIX=	trac-
@@ -16,14 +12,12 @@
 MAINTAINER=	glarkin at FreeBSD.org
 COMMENT=	TracPageList
 
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
 
 WRKSRC=		${WRKDIR}/${PORTNAME}plugin
-NO_BUILD=	yes
-USE_PYTHON=	2.5+
-USE_PYDISTUTILS=yes
-PLIST_SUB+=	PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO=	yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_PKGNAME=	TracPageList
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 306424)
+++ pkg-plist	(working copy)
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/TracPageList-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list