pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-Numeric Never use setuptools to make builds co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ecb14e01bb84
branches:  trunk
changeset: 536871:ecb14e01bb84
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 27 14:07:25 2007 +0000

description:
Never use setuptools to make builds consistent independent of whether
py-setuptools is present or not.

diffstat:

 math/py-Numeric/distinfo         |   3 ++-
 math/py-Numeric/patches/patch-ab |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r f1c2c2d847b6 -r ecb14e01bb84 math/py-Numeric/distinfo
--- a/math/py-Numeric/distinfo  Thu Dec 27 14:00:38 2007 +0000
+++ b/math/py-Numeric/distinfo  Thu Dec 27 14:07:25 2007 +0000
@@ -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 -r f1c2c2d847b6 -r ecb14e01bb84 math/py-Numeric/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-Numeric/patches/patch-ab  Thu Dec 27 14:07:25 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index