2 # Copyright (C) 2019 Jakub Piotr Cłapa <jpc@loee.pl>
3 # Copyright (C) 2020 Alexandru Ardelean <ardeleanalex@gmail.com>
6 include $(TOPDIR
)/rules.mk
12 PYPI_NAME
:=$(PKG_NAME
)
13 PKG_HASH
:=34e96e9dae65c4839bd80012023aadd6ee2ccb73ce7fdf3074c62f301e63120b
15 PKG_MAINTAINER
:=Alexandru Ardelean
<ardeleanalex@gmail.com
>
17 PKG_LICENSE
:=BSD-3-Clause
18 PKG_LICENSE_FILES
:=LICENSE.txt
19 PKG_CPE_ID
:=cpe
:/a
:numpy
:numpy
23 HOST_PYTHON3_PACKAGE_BUILD_DEPENDS
="Cython==0.29.19"
26 include $(INCLUDE_DIR
)/package.mk
27 include ..
/python3-package.mk
29 define Package
/python3-numpy
33 TITLE
:=The fundamental package for scientific computing with Python
34 URL
:=https
://www.numpy.org
/
35 DEPENDS
:=@
!SOFT_FLOAT
+INSTALL_GFORTRAN
:libgfortran
+python3
38 define Package
/python3-numpy
/description
39 NumPy is the fundamental package for array computing with Python.
41 By default
, this package is built without some modules.
42 For some modules to be available
, the INSTALL_GFORTRAN symbol needs
43 to be enabled in the OpenWrt core
/toolchain.
46 $(eval
$(call Py3Package
,python3-numpy
))
47 $(eval
$(call BuildPackage
,python3-numpy
))
48 $(eval
$(call BuildPackage
,python3-numpy-src
))