python3-fastnumbers: Switch to PEP-517 build backend and enable ptest

test run takes < 1min, added to PTESTS_FAST_META_PYTHON

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-04-09 14:31:20 -07:00
parent f2d91c6cd5
commit 786fa08fce
2 changed files with 11 additions and 1 deletions

View File

@ -22,6 +22,7 @@ PTESTS_FAST_META_PYTHON = "\
python3-dasbus \
python3-dominate \
python3-execnet \
python3-fastnumbers \
python3-flask \
python3-flexcache \
python3-flexparser \

View File

@ -7,4 +7,13 @@ PYPI_PACKAGE = "fastnumbers"
SRC_URI[sha256sum] = "183fa021cdc052edaeede5c23e3086461deb7562b567614edf71b29515f5fa4b"
inherit pypi setuptools3
inherit pypi python_setuptools_build_meta ptest-python-pytest
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN}-ptest += "\
python3-ctypes \
python3-hypothesis \
python3-numpy \
python3-typing-extensions \
"