#
-# Copyright (C) 2015-2018 OpenWrt.org
+# Copyright (C) 2015-2016, 2018-2020, 2023 Jeffery To
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=python-gmpy2
-PKG_VERSION:=2.0.8
-PKG_RELEASE:=6
+PKG_VERSION:=2.1.5
+PKG_RELEASE:=1
PYPI_NAME:=gmpy2
-PYPI_SOURCE_EXT:=zip
-PKG_HASH:=dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f
+PKG_HASH:=bc297f1fd8c377ae67a4f493fc0f926e5d1b157e5c342e30a4d84dc7b9f95d96
PKG_LICENSE:=LGPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING.LESSER
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
-PYTHON3_PKG_BUILD_CONFIG_SETTINGS:=--global-option=--nompfr
-
define Package/python3-gmpy2
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=GMP/MPIR, MPFR, and MPC interface
URL:=https://github.com/aleaxit/gmpy
- DEPENDS:=+libgmp +python3-light
+ DEPENDS:=+libgmp +libmpc +libmpfr +python3-light
endef
define Package/python3-gmpy2/description