Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-python/cffconvert/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST cffconvert-2.0.0.tar.gz 147680 BLAKE2B 4fe30d9a1cfefa8be3c52e51d4ed91f57b8f8f8efac62fe61633aab67d5d3f23d867cf7c81965796ff20ae8ba40c28ef25007135e73fb8d76b46a4371f512692 SHA512 19b8d0123361f1577be3c77dc1064eb7aab6cb70c92b39e3446ea0d53d842e6f1db1b2b439648eca162d933433548beb3379cf5082f4f4157ba4fe158c21f0d1
35 changes: 35 additions & 0 deletions dev-python/cffconvert/cffconvert-2.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions dev-python/cffconvert/files/cffconvert-2.0.0-coverage.patch
Original file line number Diff line number Diff line change
@@ -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 =
13 changes: 13 additions & 0 deletions dev-python/cffconvert/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>apn-pucky@gentoo.org</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>