summaryrefslogtreecommitdiff
path: root/dev-python/py-ubjson
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/py-ubjson')
-rw-r--r--dev-python/py-ubjson/Manifest2
-rw-r--r--dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild15
2 files changed, 12 insertions, 5 deletions
diff --git a/dev-python/py-ubjson/Manifest b/dev-python/py-ubjson/Manifest
index 7de48f21be1a..a44658d5d39a 100644
--- a/dev-python/py-ubjson/Manifest
+++ b/dev-python/py-ubjson/Manifest
@@ -1,4 +1,4 @@
AUX py-ubjson-0.16.1-py312.patch 1279 BLAKE2B 33b7a3d6940004fa2ffa012f196b31b03bb3754fb72442f15818a8dcc7ded4d47137e4870d99937ec9d34d091badb4dd41881b932bd526d7c5c7342d05c78a4a SHA512 5c44605ea944607459c46340b7f894df74c8c2a15c052cdbe4b53348a1ee84ef1dbcb2d4b643a5f3488c6effe62ba524c6651e05085d4064df2a45b81aad48dd
DIST py-ubjson-0.16.1.tar.gz 50316 BLAKE2B 442894a7c010d1ba4a836827ca17e7cb10b34a6f5488851ce13a3c3ab02d8173250a664da4504bca9fd2d9377631e249127c789a4824930f8b35db2225902e9d SHA512 5c5e48fa236571832fbcd100ebe0efd7522a8f5773b74475e7b102fadc4e2917549640d12c5afb2aadbe65a6973b75540681da1df8febbf47f84844bc9337fb0
-EBUILD py-ubjson-0.16.1-r1.ebuild 655 BLAKE2B d83a6b12ae99c46187ae1126a00a2c0499d1fb26ebd109f1932fe4cdbcd499032f9f326bd3c6f8f81c9e468417a6edc9bad8b605c260767bdf32ac688da873ba SHA512 153877dae1d2d25cebc01de058cc5bec12661637de17888b435a6f301a1429c1cc56a6eafe460fd8a4bfd8196337569eb48e00983d58dd1a4904b2eec9203010
+EBUILD py-ubjson-0.16.1-r1.ebuild 910 BLAKE2B 7193dbb113ec07dfd546509bf44ab340aaa40bd4a6770fbfbaf44ea63ac66ca6635fc9cc9fa7f3b06f3df4862e34ac44cc67cb8406406836ee908dc939cd5a15 SHA512 3f5dea8eef5ef7a755a3b2758dc20e05887274dca94ae8639e76bebc87885127f02bfcba23b370f95fb0b8796a9e207efe34ccb7cbbff50dd077a2a5671a6de3
MISC metadata.xml 635 BLAKE2B 3d35f4fa84fed8d035d41dfcdc25ac5c520abf0eb564f1cb815e066c1bfbd03d29b5cc3a2742deb9ae13641f234155d2dea8505139723e87fa1eb7e95230fa52 SHA512 3037619d567221865da91b597164574437ef07b51c2d690760bd55a4406d838470eb272600c92264e5248ff4b347c7084fb3b498cc98003f6abf02259b8cdc7a
diff --git a/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild
index d04531f7b07d..6a95c2d82106 100644
--- a/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild
+++ b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
@@ -20,7 +20,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
-distutils_enable_tests unittest
+distutils_enable_tests pytest
PATCHES=(
# https://github.com/Iotic-Labs/py-ubjson/pull/19
@@ -28,5 +28,12 @@ PATCHES=(
)
python_test() {
- eunittest -s test
+ local EPYTEST_DESELECT=(
+ # the usual problem with random packages increasing recursion limit
+ test/test.py::TestEncodeDecodePlainExt::test_recursion
+ test/test.py::TestEncodeDecodeFpExt::test_recursion
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest test/test.py
}