Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2006 13:57:34 GMT
From:      Li-Wen Hsu <lwhsu@lwhsu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perky@FreeBSD.org, lwhsu@lwhsu.org
Subject:   ports/107282: [PATCH] devel/py-logging: IGNORE for python >= 2.3
Message-ID:  <200612281357.kBSDvYnY028971@jail0.lwhsu.csie.net>
Resent-Message-ID: <200612281400.kBSE0Ren083315@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612281357.kBSDvYnY028971>