commit: 6c48531a1054251dc713f889e12a3d33ce513ee1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 3 10:10:23 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 3 10:30:40 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c48531a
dev-python/ruamel-yaml: Bump to 0.19.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/ruamel-yaml/Manifest | 1 +
dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild | 53 ++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest
index a71299439395..2448120beac6 100644
--- a/dev-python/ruamel-yaml/Manifest
+++ b/dev-python/ruamel-yaml/Manifest
@@ -1,2 +1,3 @@
DIST ruamel.yaml-0.18.16.tar.xz 201472 BLAKE2B
935a439fb28cd166a7ea30c4f50fea4dede1e8dab7c1cb8a38627df30640a7988e7471ca4fe8b4b248410b258d81943f307d5bdbee1e1a92e2a0372abb22ceea
SHA512
1d4c28c6769167d044cfc506035a0d7e13b533ecbfa2287b00035e9036c400c9cbd86fa96921a7e6a9c9b286f9bf4970637a09d4747c5bf7315b37db353720f6
DIST ruamel.yaml-0.18.17.tar.xz 202272 BLAKE2B
e3df2e53164ab8a5cbc974a5b76de7431935fd753cb7d6d19256ea1e92e1577d2d705410d23d5ab0e637a6c0abeef4f95b6bab74e1c5db523fdff57ca16c3726
SHA512
f39585da4463bb28957549b08debb2cb01ee15f926b20412b50e3dce24643a7de9790f7bd0aeb4191ade449738ff5642e1b1f71dbb199ad70c35c6392279c22c
+DIST ruamel.yaml-0.19.1.tar.xz 203600 BLAKE2B
f5f597a2f95c9e64507ac2031dbb0b6e78a37d5f166765f17739121904943601400aceabcebfee6666eb14e7b9e8a8a0eace6f5ade00c40b2745e6907c65604e
SHA512
bf9eb8e40f506d6f3f34aee5f5ec74eb93bfda2b27022f6ad62dfac724b9e0847d61e3159d284bada7dec147992aaf509804f7139818de5bc85aa328bc32601f
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild
b/dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild
new file mode 100644
index 000000000000..9d8beda7759f
--- /dev/null
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} python3_{13,14}t )
+
+inherit distutils-r1
+
+MY_P="${P/-/.}"
+DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation"
+HOMEPAGE="
+ https://pypi.org/project/ruamel.yaml/
+ https://sourceforge.net/projects/ruamel-yaml/
+"
+# PyPI tarballs do not include tests
+SRC_URI="
+ https://yaml.dev/ruamel-dl-tagged-releases/${MY_P}.tar.xz
+
https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz
+"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/ruamel-yaml-clibz[${PYTHON_USEDEP}]
+ !dev-python/namespace-ruamel
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # Old PyYAML tests from lib/ require special set-up and are
+ # invoked indirectly via test_z_olddata, tell pytest itself
+ # to leave the subdir alone.
+ _test/lib/
+ )
+
+ # this is needed to keep the tests working while
+ # dev-python/namespace-ruamel is still installed
+ distutils_write_namespace ruamel
+ epytest
+}