summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-numpy
Commit message (Collapse)AuthorAgeFilesLines
* python-numpy: fix build for libn32Chen Qi2019-09-161-0/+1
| | | | | | | | | | | | | | | | | | | | | Fix do_compile failure for libn32. To reproduce, use the following config. MACHINE = "qemumips64" require conf/multilib.conf MULTILIB_GLOBAL_VARIANTS_append = " libn32" MULTILIBS ?= "multilib:lib32 multilib:libn32" DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips" DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32" The error message is as following. numpy/core/include/numpy/npy_common.h:206:10: error: #error Unsupported size for type off_t (From OE-Core rev: b659b6dcb6be203e8c7bc678c902d4a31ce9fe70) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: rdepend on multiprocessing moduleChen Qi2019-09-061-0/+1
| | | | | | | | | | | | | `import numpy.distutils' gives people the following error. ModuleNotFoundError: No module named 'multiprocessing' Fix it by adding multiprocessing dependency. (From OE-Core rev: 08198d658b3617ba5e124f82540eba5e41fdad6c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: update to 1.17.0Alexander Kanavin2019-08-284-31/+60
| | | | | | | | | | Rebase files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch License-Update: clarified license for numpy/core/src/multiarray/dragon4.c (it is MIT) (From OE-Core rev: e11982182acc65913c6e3438304e8a15fe3792a2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: remove the python 2.x version of the recipeAlexander Kanavin2019-08-121-10/+0
| | | | | | | | | The 1.17.0 release of NumPy no longer supports Python 2.x. (From OE-Core rev: 4e9659f24e2f699effadcbe378b6a746d77ccdbd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Avoid installing copy of f2py scriptAlejandro Enedino Hernandez Samaniego2019-05-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Both python-numpy and python3-numpy try to install the file: ${D}/${bindir}/f2py which causes an error during do_rootfs since the package manager complains about that. The numpy packages create basically copies of f2py script with the following names: f2py (on both) f2py2 (on python 2) f2py2.7 (on python 2) f2py3 (on python 3) f2py3.7 (on python 3) Remove the copy of f2py from python-numpy in favor of using the one from python3 to avoid installation issues at do_rootfs(). (From OE-Core rev: a625899c4de4f8ec030ade09686f0c7c0e624a50) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: update to 1.16.3Oleksandr Kravchuk2019-04-263-2/+2
| | | | | | | (From OE-Core rev: 36c9d0d07c017239a0e5cce4b48bf7d4f9e7a0d6) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: update to 1.16.2Alexander Kanavin2019-04-166-52/+18
| | | | | | | | | | | Drop files/fix_shebang_f2py.patch as the code has been removed upstream. License-update: copyright years, file paths. (From OE-Core rev: 90e271e9f1c1ecdb205bca3c9b4976a1a16e83b1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: set CLEANBROKENRoss Burton2018-07-061-0/+2
| | | | | | | | | | The distutils class is about to do a clean via "setup.py clean", but numpy doesn't support this and errors. (From OE-Core rev: 67ae24ddb2bebbf8b1c455b8968f8c69844afb9d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: update to 1.14.5Derek Straka2018-07-053-2/+2
| | | | | | | | | | Update to the latest stable release (From OE-Core rev: 3e667be761daaa83e16f67a89f9414620bbe2726) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: update to 1.14.2Derek Straka2018-03-203-2/+2
| | | | | | | | | | Update to the latest stable release (From OE-Core rev: 0f31b37d1233867e5dfdd126b98d5017df602888) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Fix build for riscv64Khem Raj2018-03-204-0/+204
| | | | | | | | (From OE-Core rev: d33b321bce110fae8e5730f507be70f33d91fe22) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: reorganize numpy recipes to use a common .inc file to reduce ↵Derek Straka2018-03-153-221/+113
| | | | | | | | | | duplication (From OE-Core rev: 38edecc64d76e3228cc2d7d5447d57b85e784ac2) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: update to 1.14.1Alexander Kanavin2018-03-095-102/+29
| | | | | | | | | | | | | | | | Drop backported 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch. Drop 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch as upstream is using os.path.basename() instead now. License-Update: License.txt file was update to list licenses of individual components; not all of them are 3-clause BSD. (From OE-Core rev: c70d1c07e4e697156bd49c43e2cc800f3085b182) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: fix upstream version checkAlexander Kanavin2018-02-162-0/+2
| | | | | | | | (From OE-Core rev: ba11ca4513c0977c56525ee7db01e16e7ead446c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix RDEPENDS on several recipes, due to non-existent packagesAlejandro Hernandez2018-01-201-2/+0
| | | | | | | | | | | The packaging has been altered slightly so ensure the dependencies are all still valid. (From OE-Core rev: 3328211afdef8ffb00dd4dff1143959d5412b075) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade to 1.13.3Jose Lamego2017-11-051-2/+2
| | | | | | | | | | | | python3-numpy needs to be upgraded to latest stable version. This change was tested on qemux86 running core-image-minimal. (From OE-Core rev: 0d38049f41b78a897309f919161357e4a56dc409) Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy, python3-numpy: Fix CVE-2017-12852Dengke Du2017-09-023-0/+47
| | | | | | | | | Backport upstream patch to fix CVE-2017-12852 (From OE-Core rev: 85bad28c553ba35df57a3f2a6fe67c520046ac74) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Upgrade to 1.13.1Khem Raj2017-08-133-28/+25
| | | | | | | | | | | | | | Update LICENSE to BSD-3-Clause as per https://github.com/numpy/numpy/blob/master/LICENSE.txt LIC_FILES_CHKSUM changed due to copyright year change see https://github.com/numpy/numpy/commit/b2ff4f13197dd58508d3d025a9034519974750bd (From OE-Core rev: a703bb6159dd69020fb40db7a6a0811f45869972) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Use MIPS MACHINE_OVERRIDES to reduce duplicationZubair Lutfullah Kakakhel2016-11-3014-8/+363
| | | | | | | | | | | | | The mipsarch* MACHINE_OVERRIDES can be used to pass the same parameters to MIPS pre-R2 and R6 ISA variants. Use them to reduce duplication in supporting MIPS R6 ISA. (From OE-Core rev: a48dbddab9524e78eeac53484d9dbfa0b484c561) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade to 1.11.2Edwin Plauchu2016-11-231-2/+2
| | | | | | | | | | It is a simultaneous upgrade for python 2 and 3 over numpy module. (From OE-Core rev: 76cfe4d9ba18249376d7391e4f416b5e7c008e8d) Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade to 1.11.2Edwin Plauchu2016-11-231-2/+2
| | | | | | | | (From OE-Core rev: 8fd8082e39bc2abdb0d9b2a41a6389c350c578f9) Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: remove dangling patchStefan Müller-Klieser2016-08-101-36/+0
| | | | | | | (From OE-Core rev: de29a3974efffee6fd20126f96ed8015fe3307b9) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: upgrade to 1.11.1Upgrade Helper2016-08-011-2/+2
| | | | | | | (From OE-Core rev: 92396af29ed8101a811f05654d15f8bc952f258c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: fix upstream version checkAlexander Kanavin2016-07-202-0/+2
| | | | | | | | (From OE-Core rev: 4d564091b9f24767e36d7b635cce7c5ba9c61ae3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppcKhem Raj2016-07-203-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes below errors as seen on musl | In file included from numpy/core/include/numpy/ndarraytypes.h:4:0, | from numpy/core/include/numpy/ndarrayobject.h:18, | from numpy/core/include/numpy/arrayobject.h:4, | from numpy/core/src/multiarray/compiled_base.c:7: | numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t | #error Unsupported size for type off_t | ^~~~~ | In file included from numpy/core/include/numpy/ndarraytypes.h:4:0, | from numpy/core/include/numpy/ndarrayobject.h:18, | from numpy/core/include/numpy/arrayobject.h:4, | from numpy/core/src/multiarray/compiled_base.c:7: | numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t | #error Unsupported size for type off_t | ^~~~~ (From OE-Core rev: 6d8cc72e7f83b9819ff1bbdb72ca61f98de403a4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: update patch metadataRoss Burton2016-07-081-1/+1
| | | | | | | | | Enforce the correct tag names across all of oe-core for consistency. (From OE-Core rev: 606a43dc38a00cc243f933722db657aea4129f8e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Upgrade from 1.10.4 to 1.11.0Alejandro Hernandez2016-06-123-12/+46
| | | | | | | | | | | | | | | Upgrades python-numpy and python3-numpy to 1.11.0, Drops using distutils class, to use setuptools class instead, this fixes a problem where after compilation the package was created as an egg, see YOCTO #8673 Fixes source location for both packages and also adds a new patch to fix the shebang on the f2py script, see YOCTO #9729 (From OE-Core rev: dd756bb8fdff676dba312e38ebc90c4c89dfe855) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: add a recipeAlexander Kanavin2016-06-031-0/+101
| | | | | | | | | | This is needed for updating piglit to use Python 3. Python 2 based recipe can be later moved to meta-oe. (From OE-Core rev: d08f523b71d3463f0ed604be81ae78a7a79390f3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: move recipe to own directoryAlexander Kanavin2016-06-0126-0/+1685
This is done so that patches can be shared with python3-numpy (From OE-Core rev: 9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>