From 30e82a2d86b3398b5adbba47ce66fcded8e3c009 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 23 Aug 2018 12:06:14 -0400 Subject: [PATCH] Add patch --- .../patches/fix-install-with-skip-build.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/numpy/patches/fix-install-with-skip-build.patch diff --git a/packages/numpy/patches/fix-install-with-skip-build.patch b/packages/numpy/patches/fix-install-with-skip-build.patch new file mode 100644 index 000000000..683173a83 --- /dev/null +++ b/packages/numpy/patches/fix-install-with-skip-build.patch @@ -0,0 +1,14 @@ +diff --git a/numpy/distutils/command/install_clib.py b/numpy/distutils/command/install_clib.py +index 662aa00bd..6f51e22ca 100644 +--- a/numpy/distutils/command/install_clib.py ++++ b/numpy/distutils/command/install_clib.py +@@ -20,6 +20,9 @@ class install_clib(Command): + def run (self): + build_clib_cmd = get_cmd("build_clib") + build_dir = build_clib_cmd.build_clib ++ if build_dir is None: ++ build_clib_cmd.finalize_options() ++ build_dir = build_clib_cmd.build_clib + + # We need the compiler to get the library name -> filename association + if not build_clib_cmd.compiler: