summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/test2ref/Manifest1
-rw-r--r--dev-python/test2ref/test2ref-1.1.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/test2ref/Manifest b/dev-python/test2ref/Manifest
index 9480e4acd9f0..ecf33711493d 100644
--- a/dev-python/test2ref/Manifest
+++ b/dev-python/test2ref/Manifest
@@ -1 +1,2 @@
DIST test2ref-1.1.0.tar.gz 9667 BLAKE2B 1f3a9c13ff797081e58706707890143395ed68d6eabddbc1fe22fe552535e095be7c2c53357714466b8632e08725ff7de1e7fd6ecf3c9fea11244c183901c09e SHA512 d4d9f082ff51b3e6d8e763f7d8ef665cb1971314fc5e815ccbed84b8aaaab2dfd5057f149f2fedd34b3e74c8b84dd5d839c53fec8885b23a2bd05de286405a7e
+DIST test2ref-1.1.1.tar.gz 9654 BLAKE2B aa8890e79e7cfa0f54c47e3d72d7f7a489acb056cdce1bdd6bb4271899e3001ddfb36b53705269132ed6731b406373529cd83e5d18d419d75ce241149658cd4a SHA512 fe93ea5b1c9cb136f5fbbcf0a550fd598c8d4a548c0c94750c5fb279decae67998149cadbd6058637b117dd861dc51bc207a06d81bc0dcf3f3b566f999796478
diff --git a/dev-python/test2ref/test2ref-1.1.1.ebuild b/dev-python/test2ref/test2ref-1.1.1.ebuild
new file mode 100644
index 000000000000..d5696787d32e
--- /dev/null
+++ b/dev-python/test2ref/test2ref-1.1.1.ebuild
@@ -0,0 +1,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=
+}