ports/104587: [Update]: Mark devel/py-ctypes IGNORE for python >= 2.5
Marcus von Appen
mva at sysfault.org
Thu Oct 19 21:10:21 UTC 2006
>Number: 104587
>Category: ports
>Synopsis: [Update]: Mark devel/py-ctypes IGNORE for python >= 2.5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 19 21:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Marcus von Appen
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD medusa.sysfault.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #14: Thu Sep 28 19:06:35 CEST 2006 root at medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA i386
>Description:
The ctypes module ships with Python 2.5 and thus should be
ignored, if the default PYTHON_REL resolves to a value >= 250.
This behaviour should be easily overrideable for users who need
it for another installed python version by setting the
PYTHON_VERSION to another default value in the pkgtools.conf or
simply commenting out the IGNORE line.
Bumped PORTREVISION to note users about that change (although
2.5 is not the default some people might use it already as default).
>How-To-Repeat:
--
>Fix:
diff -Nur py-ctypes/Makefile py-ctypes.new/Makefile
--- py-ctypes/Makefile Thu Oct 19 23:02:14 2006
+++ py-ctypes.new/Makefile Thu Oct 19 23:01:33 2006
@@ -2,11 +2,12 @@
# Date created: 12 May 2003
# Whom: Hye-Shik Chang <perky at FreeBSD.org>
#
-# $FreeBSD: /repoman/r/pcvs/ports/devel/py-ctypes/Makefile,v 1.13 2006/09/10 04:13:47 perky Exp $
+# $FreeBSD: ports/devel/py-ctypes/Makefile,v 1.13 2006/09/10 04:13:47 perky Exp $
#
PORTNAME= ctypes
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%/,ctypes/,g}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,4 +20,10 @@
ONLY_FOR_ARCHS= i386 amd64 alpha powerpc sparc64
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 250
+IGNORE= ctypes ships with Python 2.5.x
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list