Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2006 23:09:33 +0200 (CEST)
From:      Marcus von Appen <mva@sysfault.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perky@FreeBSD.org
Subject:   ports/104587: [Update]: Mark devel/py-ctypes IGNORE for python >= 2.5
Message-ID:  <200610192109.k9JL9X8R077827@medusa.sysfault.org>
Resent-Message-ID: <200610192110.k9JLAJoa085209@freefall.freebsd.org>

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

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



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