diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-05-12 16:43:36 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-01 08:04:12 +0100 |
commit | 9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349 (patch) | |
tree | 96a587dd15a097b65fed2575b6ea4352ade6ddee /meta/recipes-devtools/python-numpy/files/remove-build-path-in-comments.patch | |
parent | 3e171c89e929a09e4d511a8f235dd90b7cf0d463 (diff) | |
download | openembedded-core-contrib-9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349.tar.gz |
python-numpy: move recipe to own directory
This is done so that patches can be shared with python3-numpy
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/files/remove-build-path-in-comments.patch')
-rw-r--r-- | meta/recipes-devtools/python-numpy/files/remove-build-path-in-comments.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/remove-build-path-in-comments.patch b/meta/recipes-devtools/python-numpy/files/remove-build-path-in-comments.patch new file mode 100644 index 0000000000..eb8a71a2e2 --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/remove-build-path-in-comments.patch @@ -0,0 +1,30 @@ +From c560abff71f98a39a7401f08c2c13dad9ae7f15f Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Thu, 25 Feb 2016 01:23:32 -0500 +Subject: [PATCH] remove build path in comments + +It has build path in comments, so remove it. + +Upstream-Status: Inappropriate [openembedded specific] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + numpy/distutils/misc_util.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py +index 345e60f..dafb068 100644 +--- a/numpy/distutils/misc_util.py ++++ b/numpy/distutils/misc_util.py +@@ -2254,7 +2254,7 @@ def generate_config_py(target): + from distutils.dir_util import mkpath + mkpath(os.path.dirname(target)) + f = open(target, 'w') +- f.write('# This file is generated by %s\n' % (os.path.abspath(sys.argv[0]))) ++ f.write('# This file is generated by %s\n' % (os.path.abspath(sys.argv[0]).replace(os.path.abspath('../'),''))) + f.write('# It contains system_info results at the time of building this package.\n') + f.write('__all__ = ["get_info","show"]\n\n') + for k, i in system_info.saved_results.items(): +-- +1.9.1 + |