From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ED7D115807A for ; Sat, 07 Jun 2025 06:13:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D8B313430C1 for ; Sat, 07 Jun 2025 06:13:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D979F1104A5; Sat, 07 Jun 2025 06:13:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C7D121104A5 for ; Sat, 07 Jun 2025 06:13:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49538340DE6 for ; Sat, 07 Jun 2025 06:13:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C4B2291F for ; Sat, 07 Jun 2025 06:13:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1749276794.b0be629532f3f8990b2bd935650596ee4b787c0e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ruamel-yaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ruamel-yaml/Manifest dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild X-VCS-Directories: dev-python/ruamel-yaml/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b0be629532f3f8990b2bd935650596ee4b787c0e X-VCS-Branch: master Date: Sat, 07 Jun 2025 06:13:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9a610d4-74c0-41a5-b9c6-5ec1444480f3 X-Archives-Hash: df60910bf5a2587aca81099186181bb0 commit: b0be629532f3f8990b2bd935650596ee4b787c0e Author: Michał Górny gentoo org> AuthorDate: Sat Jun 7 04:34:14 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 7 06:13:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0be6295 dev-python/ruamel-yaml: Bump to 0.18.13 Signed-off-by: Michał Górny gentoo.org> dev-python/ruamel-yaml/Manifest | 1 + dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild | 53 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 9ca9f1ef619e..a003fbe43683 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,3 +1,4 @@ DIST ruamel.yaml-0.18.10.tar.xz 198860 BLAKE2B 02b6a1791002e5bd31c321c6307b7239be6f248e9b9186fcf9bdc440b966f15f5e947976a3295a279071a3b1f2853a2eb196851363ad3ed87f943850e40f0909 SHA512 089977ba0ac7b2f9cf761b4d94aa647ec431abe88fe21f167011899be3d13b5072b330a4c3f09cd14406692377235ec433db3f15e15df1a56697443cce4027fa DIST ruamel.yaml-0.18.11.tar.xz 199288 BLAKE2B 61570938ce90a7143241d903a6ccb83137aedda3d726b9cce337217f3fc0cf27aadfb7d80510ef19574dd25c71451643bb8fda4d392a8b0c6f8f63595bb65af4 SHA512 3858ea80024c94e3e0f685fc93c4a94ffbf967269b3c8c0422590507d7639dbb2b70b86fc5ad536e9d5491d3082e5aeef85f7660837f786bf20acb04f7822c37 DIST ruamel.yaml-0.18.12.tar.xz 199740 BLAKE2B 3eb891258980395f66428993c66b13ef79b1d26b91d1f60b7b461d3eb15c5de7afe4bf149dd077d12681fdae78544a919fca8826ba4f0705b6d4873d1850127c SHA512 982d640576a26d72ed1eb66bde9954c2e083c973eecc96a1e006fc904d4681a9a82574ba26a24dd697f503a77f8ab2f936f991e63a61b5e5d89894072404a41c +DIST ruamel.yaml-0.18.13.tar.xz 200268 BLAKE2B 4663153bb8593bd8d41efd3c5bf301893364b3c5b211b129e25ee82a807da80574322911ebc0c490c7bec696474dc2b7c5e51ed9f503019940f6988a38c272e1 SHA512 a0b7fc7beeab4590e76f468442f97da8ac16078d5aae2ecece1b6b6d7cd34ed575aab6e1021be74332158cdf316eeb8a2690af22f72e2fb1192f30f23a517b09 diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild new file mode 100644 index 000000000000..f2802290a472 --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 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} ) + +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://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-clib[${PYTHON_USEDEP}] + !dev-python/namespace-ruamel +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + _test/test_deprecation.py::test_collections_deprecation + ) + 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 +}