Files
packages/lang/python/python-gmpy2/test.sh
Alexandru Ardelean 643e0bd695 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 <alex@shruggie.ro>
2026-03-22 08:43:19 +02:00

6 lines
73 B
Bash

#!/bin/sh
[ "$1" = python3-gmpy2 ] || exit 0
python3 -c 'import gmpy2'