diff options
author | joerg <joerg@pkgsrc.org> | 2007-12-27 14:07:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-12-27 14:07:25 +0000 |
commit | c8aad817f83db439d8368ab1d4b18567e82eb98b (patch) | |
tree | 30f5b1f0ec5416ff4b746511c8795baa41fc3bab /math | |
parent | 2878f1a31f41455b6e62a2bcce6e82cef090d4e8 (diff) | |
download | pkgsrc-c8aad817f83db439d8368ab1d4b18567e82eb98b.tar.gz |
Never use setuptools to make builds consistent independent of whether
py-setuptools is present or not.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-Numeric/distinfo | 3 | ||||
-rw-r--r-- | math/py-Numeric/patches/patch-ab | 19 |
2 files changed, 21 insertions, 1 deletions
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 |