diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-08-09 11:37:05 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-08-13 13:24:27 +0200 |
commit | 6edebd4caa22b73c12158228f11af8740be1af1d (patch) | |
tree | 0def7ee826a385f65a942ed34cddb2d8b3dadec3 /dev-python | |
parent | dev-lang/maude: remove unused patch (diff) | |
download | gentoo-6edebd4caa22b73c12158228f11af8740be1af1d.tar.gz gentoo-6edebd4caa22b73c12158228f11af8740be1af1d.tar.bz2 gentoo-6edebd4caa22b73c12158228f11af8740be1af1d.zip |
dev-python/scientificpython: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/5370
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/scientificpython/files/scientificpython-2.9.1-mpi-netcdf.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-python/scientificpython/files/scientificpython-2.9.1-mpi-netcdf.patch b/dev-python/scientificpython/files/scientificpython-2.9.1-mpi-netcdf.patch deleted file mode 100644 index 622032d4d174..000000000000 --- a/dev-python/scientificpython/files/scientificpython-2.9.1-mpi-netcdf.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- setup.py -+++ setup.py -@@ -2,7 +2,7 @@ - - from distutils.core import setup, Extension - from distutils.command.install_headers import install_headers --import os, sys, platform -+import os, sys, platform, subprocess - from glob import glob - - class Dummy: -@@ -103,13 +103,16 @@ - netcdf_include = os.path.join(netcdf_prefix, 'include') - netcdf_h_file = os.path.join(netcdf_prefix, 'include', 'netcdf.h') - netcdf_lib = os.path.join(netcdf_prefix, 'lib') -+ mpi_cflags = subprocess.Popen(["mpicc", "-showme:compile"], stdout=subprocess.PIPE).communicate()[0].rstrip().split() -+ mpi_ldflags = subprocess.Popen(["mpicc", "-showme:link"], stdout=subprocess.PIPE).communicate()[0].rstrip().split() - ext_modules = [Extension('Scientific_netcdf', - ['Src/Scientific_netcdf.c'], - include_dirs=['Include', netcdf_include] - + arrayobject_h_include, - library_dirs=[netcdf_lib], - libraries = ['netcdf'], -- extra_compile_args=extra_compile_args)] -+ extra_compile_args=extra_compile_args + mpi_cflags, -+ extra_link_args=mpi_ldflags)] - - try: - # Add code for including documentation in Mac packages |