summaryrefslogtreecommitdiff
path: root/dev-python/test2ref/test2ref-1.1.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-17 08:03:23 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-17 08:03:23 +0000
commitea2f4386f269c7dafe96753c0cfa00bc5258d97e (patch)
treeff243084ecbbb0c121b2d4d8222fd22a51021ff6 /dev-python/test2ref/test2ref-1.1.0.ebuild
parentc79d048ee4dec7c44485bab210f42aaeef985b12 (diff)
downloadsrcux-ea2f4386f269c7dafe96753c0cfa00bc5258d97e.tar.gz
srcux-ea2f4386f269c7dafe96753c0cfa00bc5258d97e.tar.xz
srcux-ea2f4386f269c7dafe96753c0cfa00bc5258d97e.zip
Adding metadata
Diffstat (limited to 'dev-python/test2ref/test2ref-1.1.0.ebuild')
-rw-r--r--dev-python/test2ref/test2ref-1.1.0.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/test2ref/test2ref-1.1.0.ebuild b/dev-python/test2ref/test2ref-1.1.0.ebuild
new file mode 100644
index 000000000000..6626b9c00223
--- /dev/null
+++ b/dev-python/test2ref/test2ref-1.1.0.ebuild
@@ -0,0 +1,34 @@
+# 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]'
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+ # addopts= to avoid pytest-cov
+ epytest -o addopts=
+}