commit:     f678f5875734c2aef57d143dfa0878b914ee753c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 21:21:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 21:21:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f678f587

dev-python/test2ref: new package, add 1.1.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/test2ref/Manifest              |  1 +
 dev-python/test2ref/metadata.xml          | 13 ++++++++++++
 dev-python/test2ref/test2ref-1.1.0.ebuild | 34 +++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-python/test2ref/Manifest b/dev-python/test2ref/Manifest
new file mode 100644
index 000000000000..9480e4acd9f0
--- /dev/null
+++ b/dev-python/test2ref/Manifest
@@ -0,0 +1 @@
+DIST test2ref-1.1.0.tar.gz 9667 BLAKE2B 
1f3a9c13ff797081e58706707890143395ed68d6eabddbc1fe22fe552535e095be7c2c53357714466b8632e08725ff7de1e7fd6ecf3c9fea11244c183901c09e
 SHA512 
d4d9f082ff51b3e6d8e763f7d8ef665cb1971314fc5e815ccbed84b8aaaab2dfd5057f149f2fedd34b3e74c8b84dd5d839c53fec8885b23a2bd05de286405a7e

diff --git a/dev-python/test2ref/metadata.xml b/dev-python/test2ref/metadata.xml
new file mode 100644
index 000000000000..e22445909ca8
--- /dev/null
+++ b/dev-python/test2ref/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Python</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="github">nbiotcloud/test2ref</remote-id>
+               <remote-id type="pypi">test2ref</remote-id>
+       </upstream>
+</pkgmetadata>

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=
+}

Reply via email to