2015-12-02 09:08:57 +01:00
|
|
|
#
|
2023-05-27 21:41:29 +02:00
|
|
|
# Copyright (C) 2015-2016, 2018-2020, 2023 Jeffery To
|
2015-12-02 09:08:57 +01:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2018-01-10 14:29:23 +01:00
|
|
|
PKG_NAME:=python-gmpy2
|
2023-05-27 21:41:29 +02:00
|
|
|
PKG_VERSION:=2.1.5
|
|
|
|
PKG_RELEASE:=1
|
2015-12-02 09:08:57 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=gmpy2
|
2023-05-27 21:41:29 +02:00
|
|
|
PKG_HASH:=bc297f1fd8c377ae67a4f493fc0f926e5d1b157e5c342e30a4d84dc7b9f95d96
|
2015-12-02 09:08:57 +01:00
|
|
|
|
2019-09-02 15:15:08 +02:00
|
|
|
PKG_LICENSE:=LGPL-3.0-or-later
|
2015-12-02 09:08:57 +01:00
|
|
|
PKG_LICENSE_FILES:=COPYING.LESSER
|
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2015-12-02 09:08:57 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 08:56:52 +01:00
|
|
|
include ../python3-package.mk
|
2018-01-10 14:29:23 +01:00
|
|
|
|
2020-04-21 19:27:50 +02:00
|
|
|
define Package/python3-gmpy2
|
2018-01-10 14:29:23 +01:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-19 15:54:43 +01:00
|
|
|
TITLE:=GMP/MPIR, MPFR, and MPC interface
|
|
|
|
URL:=https://github.com/aleaxit/gmpy
|
2023-05-27 21:41:29 +02:00
|
|
|
DEPENDS:=+libgmp +libmpc +libmpfr +python3-light
|
2015-12-02 09:08:57 +01:00
|
|
|
endef
|
|
|
|
|
2020-04-01 16:21:16 +02:00
|
|
|
define Package/python3-gmpy2/description
|
2015-12-02 09:08:57 +01:00
|
|
|
gmpy2 is a C-coded Python extension module that supports multiple-precision
|
|
|
|
arithmetic. gmpy2 is the successor to the original gmpy module. The gmpy module
|
|
|
|
only supported the GMP multiple-precision library. gmpy2 adds support for the
|
|
|
|
MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly
|
|
|
|
rounded complex floating-point arithmetic) libraries. gmpy2 also updates the
|
|
|
|
API and naming conventions to be more consistent and support the additional
|
|
|
|
functionality.
|
2018-01-10 14:29:23 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-gmpy2))
|
|
|
|
$(eval $(call BuildPackage,python3-gmpy2))
|
2019-02-19 15:54:43 +01:00
|
|
|
$(eval $(call BuildPackage,python3-gmpy2-src))
|