From 6cb6131f99c3e78adbecdb53fdbb47661d63c3e4 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Wed, 10 Dec 2025 17:30:34 +0100 Subject: [PATCH] dev-python/cffconvert: new package, add 2.0.0 Signed-off-by: Alexander Puck Neuwirth --- dev-python/cffconvert/Manifest | 1 + dev-python/cffconvert/cffconvert-2.0.0.ebuild | 35 +++++++++++++++++++ .../files/cffconvert-2.0.0-coverage.patch | 11 ++++++ dev-python/cffconvert/metadata.xml | 13 +++++++ 4 files changed, 60 insertions(+) create mode 100644 dev-python/cffconvert/Manifest create mode 100644 dev-python/cffconvert/cffconvert-2.0.0.ebuild create mode 100644 dev-python/cffconvert/files/cffconvert-2.0.0-coverage.patch create mode 100644 dev-python/cffconvert/metadata.xml diff --git a/dev-python/cffconvert/Manifest b/dev-python/cffconvert/Manifest new file mode 100644 index 00000000000..4d3fa2a5eb7 --- /dev/null +++ b/dev-python/cffconvert/Manifest @@ -0,0 +1 @@ +DIST cffconvert-2.0.0.tar.gz 147680 BLAKE2B 4fe30d9a1cfefa8be3c52e51d4ed91f57b8f8f8efac62fe61633aab67d5d3f23d867cf7c81965796ff20ae8ba40c28ef25007135e73fb8d76b46a4371f512692 SHA512 19b8d0123361f1577be3c77dc1064eb7aab6cb70c92b39e3446ea0d53d842e6f1db1b2b439648eca162d933433548beb3379cf5082f4f4157ba4fe158c21f0d1 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 00000000000..7b034b2c26b --- /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/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 00000000000..0da60c87c88 --- /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 00000000000..d00d22b9bca --- /dev/null +++ b/dev-python/cffconvert/metadata.xml @@ -0,0 +1,13 @@ + + + + + + apn-pucky@gentoo.org + Alexander Puck Neuwirth + + + cffconvert + citation-file-format/cffconvert + +