summaryrefslogtreecommitdiff
path: root/dev-python/test2ref/test2ref-1.2.1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-05 12:28:12 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-05 12:28:12 +0000
commit2ebba2ef6b80896e051dfc98b90c88af971b69f3 (patch)
tree30f7045dc8c92cff842c28b657205daf6c71b605 /dev-python/test2ref/test2ref-1.2.1.ebuild
parentfdf2d10ce18ee53d33f3e5b35f0ce33eadd25496 (diff)
downloadsrcux-2ebba2ef6b80896e051dfc98b90c88af971b69f3.tar.gz
srcux-2ebba2ef6b80896e051dfc98b90c88af971b69f3.tar.xz
srcux-2ebba2ef6b80896e051dfc98b90c88af971b69f3.zip
Adding metadata
Diffstat (limited to 'dev-python/test2ref/test2ref-1.2.1.ebuild')
-rw-r--r--dev-python/test2ref/test2ref-1.2.1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/test2ref/test2ref-1.2.1.ebuild b/dev-python/test2ref/test2ref-1.2.1.ebuild
new file mode 100644
index 000000000000..e7555936d46c
--- /dev/null
+++ b/dev-python/test2ref/test2ref-1.2.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( python3_{10..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=
+}