Files
gentoo/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild
Michał Górny 16be6d8e67 dev-python/pyrsistent: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-05-27 15:20:52 +02:00

41 lines
836 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Persistent/Functional/Immutable data structures"
HOMEPAGE="
https://github.com/tobgu/pyrsistent/
https://pypi.org/project/pyrsistent/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
BDEPEND="
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_IGNORE=()
if [[ ${EPYTHON} == python3.12 ]]; then
EPYTEST_IGNORE+=(
# probably a bug in python itself or in hypothesis
tests/hypothesis_vector_test.py
)
fi
epytest
}