ports/173171: www/trac-fullblognotification: do not directly depend on setuptools

Ruslan Mahmatkhanov rm at FreeBSD.org
Sun Oct 28 20:20:01 UTC 2012


>Number:         173171
>Category:       ports
>Synopsis:       www/trac-fullblognotification: 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:   Sun Oct 28 20: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
- remove indefinite article in COMMENT
- trim Makefile header
- limit python version to 2.x only
- simplify pkg-plist entries

buildlog:
http://people.freebsd.org/~rm/trac-fullblognotification-0.2.1_1.log
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 306539)
+++ Makefile	(working copy)
@@ -1,12 +1,9 @@
-# New ports collection makefile for: trac-fullblog
-# Date created:                      January 9, 2009
-# Whom:                              Brooks Davis <brooks at freebsd.org>
-#
+# Created by: Brooks Davis <brooks at freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
 PORTVERSION=	0.2.1
+PORTREVISION=	1
 CATEGORIES=	www devel python
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -15,21 +12,14 @@
 DIST_SUBDIR=	trac
 
 MAINTAINER=	brooks at FreeBSD.org
-COMMENT=	This plugin provides a project Blog
+COMMENT=	Plugin that provides a project Blog
 
 RUN_DEPENDS+=	trac-fullblog>=0.1.1:${PORTSDIR}/www/trac-fullblog
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 
-USE_PYTHON=	2.5+
-NO_BUILD=	yes
-USE_PYDISTUTILS=yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	TracFullBlogNotificationPlugin
-PYDISTUTILS_NOEGGINFO=	yes
-PLIST_SUB=	PORTVERSION=${PORTVERSION} \
-		PYTHON_VER=${PYTHON_VER}
 
-EGG_PATH=	${PYTHONPREFIX_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-
 .if defined(BOOTSTRAP)
 do-fetch:
 	${MKDIR} ${WRKDIR}
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 306539)
+++ pkg-plist	(working copy)
@@ -1,21 +1,21 @@
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO/PKG-INFO
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO/entry_points.txt
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO/not-zip-safe
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO/requires.txt
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/__init__.py
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/__init__.pyc
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/__init__.pyo
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/fullblognotification.py
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/fullblognotification.pyc
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/fullblognotification.pyo
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/notification.py
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/notification.pyc
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/notification.pyo
-%%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/templates/fullblognotification_email_template.txt
- at dirrm %%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification/templates
- at dirrm %%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/fullblognotification
- at dirrm %%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg/EGG-INFO
- at dirrm %%PYTHON_SITELIBDIR%%/TracFullBlogNotificationPlugin-%%PORTVERSION%%-py%%PYTHON_VER%%.egg
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/fullblognotification.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/fullblognotification.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/fullblognotification.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/notification.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/notification.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/notification.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/templates/fullblognotification_email_template.txt
+ at dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification/templates
+ at dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fullblognotification
+ at dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+ at dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%


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


More information about the freebsd-ports-bugs mailing list