mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 18:20:29 +00:00
Upgrade to release 1.4.0: - Support underscores as digit separators per PEP 515 - Add rationals converter for mpf's - Rewrite bernpoly/eulerpoly to avoid dependency on bernoulli(1) convention - Support base kwarg for from_str() - Support randmatrix() for mp.iv and mp contexts - Added rank() function for matrices - Add plus flag to select the B_1 sign convention for bernoulli/bernfrac - Add mpf.as_integer_ratio() method, support construction of mpf from Decimal objects - Expose lower/upper_gamma functions - Support mpc initialization from string - Support asinh/acosh/atanh in the fp context - Support binary/octal/hexadecimal string output - Support pickling for matrices and mpi - Support matrix.__array__() dunder method - Support more number syntaxes - Run mpmath as a module for interactive work - Add signed option to to_man_exp() - Add fp.hypot - Support inf/nan's in ctx.almosteq() - Implement mpf.__format__() - Support conversion from scalar ndarray's - Support rounding modes in mpf.__format__ - Support '%' presentation type for mpf - Support gmpy2-like rounding modes in to_str() - Implement 'a'/'A' formating types for mpf.__format__ - Add mpc.__format__() - Now mpf.__round__() returns mpf - Support 'b' (binary) format type for mpf/mpc - Implement mpf.__floordiv__() and mpf.__divmod__() - Add parameters for MPContext constructor - Add MPFR-compatible aliases for rounding modes - Support negative indexes in matrix - Better introspection support for decorated functions - Add moving sofa demo - Support spherical Bessel functions (jn/yn) - Add pretty_dps context property to control number of printed digits - Support thousands separators for formatting of fractional part - Use PyREPL, as fallback (no IPython) - Add exp2() and log2() - Support rounding property for the mp context - Add Fox H-function with rational A/B parameters (foxh()) - Provide experimental support for free-threading builds License-Update: Update years Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 lines
663 B
BlitzBasic
22 lines
663 B
BlitzBasic
# This recipe is adapted from one in meta-jupyter:
|
|
# https://github.com/Xilinx/meta-jupyter/blob/master/recipes-python/python3-mpmath_0.19.bb
|
|
|
|
SUMMARY = "Python library for arbitrary-precision floating-point arithmetic"
|
|
HOMEPAGE = "https://pypi.org/project/mpmath/"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a6607bd72611b702183473dfb4e6198b"
|
|
|
|
SRC_URI[sha256sum] = "d272b40c031ba0ee385e7e5fc735b48560d9838a0d7fbca109919efd23580a22"
|
|
|
|
CVE_PRODUCT = "mpmath"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
DEPENDS += "python3-setuptools-scm-native"
|
|
RDEPENDS:${PN} += " \
|
|
python3-image \
|
|
python3-math \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|