dev-python/ruamel-yaml-clibz: New package, v0.3.7

Package the rename of dev-python/ruamel-yaml-clib.  The code is almost
the same (modulo enabling freethreading), so keep the keywords.  We
ignore upstream Zig dependency, and just use the C compiler.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-01-03 11:22:44 +01:00
parent bf718e6536
commit f090f9dfac
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ruamel_yaml_clibz-0.3.7.tar.gz 231233 BLAKE2B c39e3cc9f8b848913b98f16bc64b775aaec4f247b1691648e8fb95e15991b36a694e8d5fd14ed65fdb1f384522b75f13b6cf145c9224a9f2ef9e8e0248bc60ed SHA512 6aab600febe5adcbd3c7ecc1c6bad05f826c2e5a2934511a07bf1fdb7ca9b56dde27ce10b94c47bb5068f3f34b74ceb5cdc9b971f91d4934175698c566d70090

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">ruamel.yaml.clibz</remote-id>
<remote-id type="sourceforge">ruamel-yaml-clibz</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_PN=${PN//-/.}
PYTHON_COMPAT=( pypy3_11 python3_{11..14} python3_{13,14}t )
inherit distutils-r1 pypi
DESCRIPTION="C-based reader/scanner and emitter for dev-python/ruamel-yaml"
HOMEPAGE="
https://pypi.org/project/ruamel.yaml.clibz/
https://sourceforge.net/projects/ruamel-yaml-clibz/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
# Technically, upstream depends on setuptools-zig to compile C using Zig,
# but we just use a C compiler.
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
src_configure() {
cython -f -3 _ruamel_yaml_clibz.pyx || die
}