head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q1:1.1.0.30 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.28 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.26 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.24 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.22 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.20 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.18 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.16 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.14 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.12 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.10 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.8 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.6 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.4 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.2 pkgsrc-2008Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2012.04.08.19.08.52; author wiz; state dead; branches; next 1.1; 1.1 date 2008.09.17.16.20.21; author joerg; state Exp; branches; next ; desc @@ 1.2 log @Remove python24 and all traces of it from pkgsrc. Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files. @ text @$NetBSD: patch-ac,v 1.1 2008/09/17 16:20:21 joerg Exp $ --- setup.py.orig 2007-05-15 19:53:16.000000000 +0200 +++ setup.py @@@@ -35,8 +35,7 @@@@ from distutils.cygwinccompiler import Mi ################################################################ # Manipulate the environment for the build process. # -if get_platform() in ["solaris-2.9-sun4u", "linux-x86_64"]: - os.environ["CFLAGS"] = "-fPIC" +os.environ["CFLAGS"] = "-fPIC" if sys.platform == "win32" and "64 bit (AMD64)" in sys.version: os.environ["DISTUTILS_USE_SDK"] = "1" @@@@ -125,8 +124,6 @@@@ class my_build_ext(build_ext.build_ext): # First configure a libffi library, then build the _ctypes extension. def build_extensions(self): - self.configure_libffi() - # Add .S (preprocessed assembly) to C compiler source extensions. self.compiler.src_extensions.append('.S') if sys.platform == "win32": @@@@ -321,6 +318,7 @@@@ else: extra_link_args.extend(['-mimpure-text']) extensions = [Extension("_ctypes", + libraries = ["ffi"], include_dirs=include_dirs, library_dirs=library_dirs, extra_link_args=extra_link_args, @ 1.1 log @Use external libffi to make it usable on amd64. Fix part of a regression test, I have no idea about the remaining test case though. Bump revision. @ text @d1 1 a1 1 $NetBSD$ @