From 561b2ae9495aa311d8b9c4cbc67a1861950bbce7 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 27 Dec 2007 14:07:25 +0000 Subject: Never use setuptools to make builds consistent independent of whether py-setuptools is present or not. --- math/py-Numeric/distinfo | 3 ++- math/py-Numeric/patches/patch-ab | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 math/py-Numeric/patches/patch-ab (limited to 'math/py-Numeric') diff --git a/math/py-Numeric/distinfo b/math/py-Numeric/distinfo index 8e4058e623e..3c5fd33ab5b 100644 --- a/math/py-Numeric/distinfo +++ b/math/py-Numeric/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.14 2006/07/02 10:28:50 rillig Exp $ +$NetBSD: distinfo,v 1.15 2007/12/27 14:07:25 joerg Exp $ SHA1 (Numeric-24.2.tar.gz) = 72869ef80c12630a9a125ba10c96093b6ae16aff RMD160 (Numeric-24.2.tar.gz) = c9502db28663558c535e236392c9beddec9743bb Size (Numeric-24.2.tar.gz) = 743800 bytes SHA1 (patch-aa) = 31920706522b5730644da8191e0c1c8191d4add1 +SHA1 (patch-ab) = 35dd9debd94e9cea059d0802149192e7ecdcf938 SHA1 (patch-ac) = 45ca40e38123dc72ec42b3775b2401c0037674c0 diff --git a/math/py-Numeric/patches/patch-ab b/math/py-Numeric/patches/patch-ab new file mode 100644 index 00000000000..52d377b051b --- /dev/null +++ b/math/py-Numeric/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.10 2007/12/27 14:07:25 joerg Exp $ + +--- setup.py.orig 2007-12-21 23:31:57.000000000 +0100 ++++ setup.py +@@ -15,12 +15,8 @@ if not hasattr(sys, 'version_info') or s + raise SystemExit, "Python 2.0 or later required to build Numeric." + + from glob import glob +-try: +- from setuptools import setup +- have_setuptools = 1 +-except ImportError: +- from distutils.core import setup +- have_setuptools = 0 ++from distutils.core import setup ++have_setuptools = 0 + from distutils.core import Extension + from distutils.command.config import config + from distutils.sysconfig import get_config_var, customize_compiler -- cgit v1.2.3