mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-03-06 08:49:48 +00:00
python3-mpmath: Upgrade 1.3.0 -> 1.4.0
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>
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
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=bde3c575382996b75d85702949512751"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a6607bd72611b702183473dfb4e6198b"
|
||||
|
||||
SRC_URI[sha256sum] = "7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f"
|
||||
SRC_URI[sha256sum] = "d272b40c031ba0ee385e7e5fc735b48560d9838a0d7fbca109919efd23580a22"
|
||||
|
||||
CVE_PRODUCT = "mpmath"
|
||||
|
||||
inherit pypi setuptools3
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
RDEPENDS:${PN} += " \
|
||||
Reference in New Issue
Block a user