ports/107282: [PATCH] devel/py-logging: IGNORE for python >= 2.3

Li-Wen Hsu lwhsu at lwhsu.org
Thu Dec 28 14:00:27 UTC 2006


>Number:         107282
>Category:       ports
>Synopsis:       [PATCH] devel/py-logging: IGNORE for python >= 2.3
>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 Dec 28 14:00:26 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec  6 11:34:36 CST
>Description:

This package is now part of Python 2.3.
(From: http://www.red-dove.com/python_logging.html )

Thus it should be ignored when the PYTHON_REL resolves to a value >= 230.

Bumped PORTREVISION to note users about that change.

Port maintainer (perky at FreeBSD.org) is cc'd.

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

--- py24-logging-0.4.9.6_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/py-logging/Makefile /home/lwhsu/ports/devel/py-logging/Makefile
--- /usr/ports/devel/py-logging/Makefile	Mon Aug 29 14:18:24 2005
+++ /home/lwhsu/ports/devel/py-logging/Makefile	Thu Dec 28 13:56:15 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	logging
 PORTVERSION=	0.4.9.6
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.red-dove.com/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -25,4 +26,10 @@
 	@cd ${WRKSRC} && ${INSTALL_DATA} ${WRKSRC}/test/* ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 230
+IGNORE=	this package is now part of Python 2.3
+.endif
+
+.include <bsd.port.post.mk>
--- py24-logging-0.4.9.6_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list