commit:     870e60d472e74b4ffb2b5211914f83229094b9c1
Author:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 10 16:30:34 2025 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Thu Dec 18 09:42:38 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=870e60d4

dev-python/cffconvert: new package, add 2.0.0

Part-of: https://github.com/gentoo/sci/pull/1388
Closes: https://github.com/gentoo/sci/pull/1388
Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>

 dev-python/cffconvert/cffconvert-2.0.0.ebuild      | 35 ++++++++++++++++++++++
 .../files/cffconvert-2.0.0-coverage.patch          | 11 +++++++
 dev-python/cffconvert/metadata.xml                 | 13 ++++++++
 3 files changed, 59 insertions(+)

diff --git a/dev-python/cffconvert/cffconvert-2.0.0.ebuild 
b/dev-python/cffconvert/cffconvert-2.0.0.ebuild
new file mode 100644
index 000000000..7b034b2c2
--- /dev/null
+++ b/dev-python/cffconvert/cffconvert-2.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Command line program to validate and convert CITATION.cff files."
+HOMEPAGE="
+       https://pypi.org/project/cffconvert/
+       https://github.com/citation-fiel-format/cffconvert/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+       <dev-python/click-9
+       <dev-python/requests-3
+       <dev-python/jsonschema-5
+       >=dev-python/ruamel-yaml-0.16.0
+       >=dev-python/pykwalify-1.6
+"
+PATCHES=(
+       "${FILESDIR}"/$P-coverage.patch
+)
+EPYTEST_IGNORE=(
+       # needs files that were stripped from pypi
+       test/test_consistent_versioning.py
+)
+
+distutils_enable_tests pytest

diff --git a/dev-python/cffconvert/files/cffconvert-2.0.0-coverage.patch 
b/dev-python/cffconvert/files/cffconvert-2.0.0-coverage.patch
new file mode 100644
index 000000000..0da60c87c
--- /dev/null
+++ b/dev-python/cffconvert/files/cffconvert-2.0.0-coverage.patch
@@ -0,0 +1,11 @@
+--- a/setup.cfg        2025-12-10 17:21:43.383044929 +0100
++++ b/setup.cfg        2025-12-10 17:21:52.886370995 +0100
+@@ -83,7 +83,7 @@
+ line_length = 120
+ 
+ [tool:pytest]
+-addopts = --no-cov --verbose
++addopts = --verbose
+ 
+ [egg_info]
+ tag_build = 

diff --git a/dev-python/cffconvert/metadata.xml 
b/dev-python/cffconvert/metadata.xml
new file mode 100644
index 000000000..d00d22b9b
--- /dev/null
+++ b/dev-python/cffconvert/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <!-- please remove python@ if tests do not work -->
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Alexander Puck Neuwirth</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">cffconvert</remote-id>
+               <remote-id 
type="github">citation-file-format/cffconvert</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to