Commit Graph

8 Commits

Author SHA1 Message Date
Alexandru Ardelean
7b4ee2dabf numpy: bump to version 2.2.1
Dropped:
  003-without-vendored-meson.patch
  004-workaround-for-multiple-top-level-packages-discovered.patch

This time, we really need to use meson to build numpy.
And to make things more complicated, the 'vendored' meson package (that
comes with numpy) must be used. This is because they have some special
logic in there that's specific to numpy.

With this change, we also need to keep a special/internal
'openwrt-cross.txt.in' file, because cross-compiling numpy also requires
that a 'longdouble_format' property be added.
More details about this:
   https://github.com/numpy/numpy/issues/23972
   https://github.com/numpy/numpy/blob/maintenance/2.2.x/doc/source/building/cross_compilation.rst

Removing quirk fix for x86_64 with detecting 'avx512f'.
This should work with the new meson stuff.

And finally, added a test.sh script.
This should make sure that this package works fine during upgrades.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2024-12-28 18:51:59 +02:00
Alexandru Ardelean
ddc619dc61 numpy: bump to version 2.1.0
Re-applied:
   003-without-vendored-meson.patch

Added:
   004-workaround-for-multiple-top-level-packages-discovered.patch

Suggestion found here:
   https://stackoverflow.com/questions/72294299/multiple-top-level-packages-discovered-in-a-flat-layout

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2024-08-26 15:43:02 +03:00
krant
96ee052fba numpy: update to 1.26.4
- Refresh patches

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-07 17:04:37 +03:00
Andy Syam
fb2bf1c737 numpy: update to version 1.26.2
https://github.com/numpy/numpy/releases

NumPy 1.26.2 Release Notes
NumPy 1.26.2 is a maintenance release that fixes bugs and regressions
discovered after the 1.26.1 release. The 1.26.release series is the last
planned minor release series before NumPy 2.0. The Python versions
supported by this release are 3.9-3.12.

Signed-off-by: Andy Syam <privasisource@gmail.com>
2024-01-02 19:34:05 -08:00
Alexandru Ardelean
d6252bcb76 numpy: bump to version 1.25.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 22:09:55 +03:00
Alexandru Ardelean
8f176e30f3 numpy: bump version to 1.24.3
Need to also fix build for GCC 13 + musl.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-05-26 11:16:17 +03:00
Jeffery To
3cee44d888 numpy: Avoid build user config files
This stops numpy from reading .numpy-site.cfg in the build user's home
directory. The code actually tries to find both .numpy-site.cfg and
site.cfg in the user's home directory; this patch prevents both.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-11 02:46:57 +08:00
Jeffery To
8d331953f3 numpy: Fix pyproject.toml-based build
The versions of setuptools and wheel pinned in pyproject.toml are older
than the versions available in the packages repo. This unpins the
versions so that the build can proceed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-11 02:46:57 +08:00