commit: 1d8dc4f112dbbe68db7fcb4eaa49d14107bd2a8c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 17:13:23 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 17:51:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8dc4f1
dev-python/orjson: Enable py3.12
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/orjson/orjson-3.9.9.ebuild | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/dev-python/orjson/orjson-3.9.9.ebuild
b/dev-python/orjson/orjson-3.9.9.ebuild
index 2923b6b57190..93e76a4b5dc5 100644
--- a/dev-python/orjson/orjson-3.9.9.ebuild
+++ b/dev-python/orjson/orjson-3.9.9.ebuild
@@ -1,13 +1,11 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Autogenerated by pycargoebuild 0.6.1
-
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
CRATES="
[email protected]
@@ -83,3 +81,8 @@ BDEPEND="
QA_FLAGS_IGNORED=".*"
distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -s
+}