ports/107263: [PATCH] archivers/py-bzip2: [SUMMARIZE CHANGES]

Li-Wen Hsu lwhsu at lwhsu.org
Thu Dec 28 06:50:10 UTC 2006


>Number:         107263
>Category:       ports
>Synopsis:       [PATCH] archivers/py-bzip2: [SUMMARIZE CHANGES]
>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 06:50:07 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:
[DESCRIBE CHANGES]

The python-bz2 module is distributed with Python itself since version 2.3.
(From: http://labix.org/python-bz2#head-9d861ed4b45f8c628598226b959ce0a0a900ab29)

Thus it should be ignored, if the default 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-bzip2-1.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/archivers/py-bzip2/Makefile /home/lwhsu/ports/archivers/py-bzip2/Makefile
--- /usr/ports/archivers/py-bzip2/Makefile	Fri Feb  6 13:10:42 2004
+++ /home/lwhsu/ports/archivers/py-bzip2/Makefile	Thu Dec 28 06:09:52 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	bzip2
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	archivers python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	python-bz2
@@ -21,4 +22,10 @@
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 230
+IGNORE=	This module is distributed with Python itself since version 2.3
+.endif
+
+.include <bsd.port.post.mk>
--- py24-bzip2-1.1_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list