summaryrefslogtreecommitdiff
path: root/dev-python/test2ref/test2ref-1.1.1.ebuild
blob: d5696787d32e0fcd7c6f2133f568a80281b19433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( python3_{11..14} )

inherit distutils-r1 pypi

DESCRIPTION="Testing Against Learned Reference Data"
HOMEPAGE="
	https://github.com/nbiotcloud/test2ref
	https://pypi.org/project/test2ref/
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-python/binaryornot[${PYTHON_USEDEP}]
"

EPYTEST_DESELECT=(
	# Whitespace differences
	'tests/test_main.py::test_caplog[False]'
	'tests/test_main.py::test_caplog[True]'
)

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	# addopts= to avoid pytest-cov
	epytest -o addopts=
}