python-gmpy2: bump to 2.3.0
authorAlexandru Ardelean <redacted>
Thu, 19 Mar 2026 15:40:49 +0000 (15:40 +0000)
committerAlexandru Ardelean <redacted>
Sun, 22 Mar 2026 06:43:19 +0000 (08:43 +0200)
commit643e0bd695d8349aee06a8929c68beec963c3000
treeb9b52a1a5c861cf01469800a7c270f91a8c6c14a
parent4dac638e4a9889478081499948f35a03fb691f01
python-gmpy2: bump to 2.3.0

Changelog since 2.2.2:
- Add mpz.array() method for NumPy interaction
- Implement mpq.limit_denominator() functionality
- Add is_integer() method for mpz/mpq types
- Add mixed-mode arithmetic support for mpc types
- Enhanced formatting using context's rounding mode defaults
- Full free-threaded Python build support
- Fix memory leaks in MPFR/MPC cache and context exit
- Drop CPython 3.8 support (requires 3.9+)

Add test.sh.

gmpy2 2.3.0 switched to pyproject.toml with setuptools-scm for version
management. Add python-setuptools-scm/host to PKG_BUILD_DEPENDS.

Full changelog:
https://github.com/aleaxit/gmpy/releases

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-gmpy2/Makefile
lang/python/python-gmpy2/patches/001-relax-setuptools-version-constraint.patch [new file with mode: 0644]
lang/python/python-gmpy2/test.sh [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT