python3-pint: move PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON

- Tested on qemux86-64.

- The PyPi package name defaults to PN without the python3- prefix, so there is no need to set PYPI_PACKAGE as pint, it is by default.

- xfailed tests are known failures upstream.

Ptest result:
=============

qemux86-64:

Testsuite summary
TOTAL: 2784
PASS: 2094
SKIP: 676
XFAIL: 12
FAIL: 0
XPASS: 2
ERROR: 0
DURATION: 1611
END: /usr/lib/python3-pint/ptest
2024-10-11T14:34
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
alperak
2024-10-11 17:40:02 +03:00
committed by Khem Raj
parent fbbbae7624
commit 10a861834d
2 changed files with 3 additions and 5 deletions

View File

@@ -103,6 +103,7 @@ PTESTS_SLOW_META_PYTHON = "\
python3-lz4 \ python3-lz4 \
python3-marshmallow \ python3-marshmallow \
python3-pillow \ python3-pillow \
python3-pint \
python3-pytest-localserver \ python3-pytest-localserver \
python3-scrypt \ python3-scrypt \
python3-traitlets \ python3-traitlets \
@@ -114,7 +115,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
python3-betamax \ python3-betamax \
python3-dnspython \ python3-dnspython \
python3-fastjsonschema \ python3-fastjsonschema \
python3-pint \
python3-pyzmq \ python3-pyzmq \
python3-whoosh \ python3-whoosh \
" "

View File

@@ -6,8 +6,6 @@ SECTION = "devel/python"
LICENSE = "BSD-3-Clause" LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
PYPI_PACKAGE = "pint"
inherit pypi ptest python_setuptools_build_meta inherit pypi ptest python_setuptools_build_meta
SRC_URI[sha256sum] = "d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf" SRC_URI[sha256sum] = "d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf"
@@ -21,8 +19,8 @@ SRC_URI += " \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
python3-setuptools \ python3-setuptools \
python3-packaging \ python3-packaging \
" "
# python3-misc for timeit.py # python3-misc for timeit.py
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \