From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4872158086 for ; Sun, 26 Dec 2021 18:54:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C05E4E07E0; Sun, 26 Dec 2021 18:54:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06320E07E0 for ; Sun, 26 Dec 2021 18:54:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39A68342C87 for ; Sun, 26 Dec 2021 18:54:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA03E1BD for ; Sun, 26 Dec 2021 18:54:35 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1640544615.284d94d6cbbb56b5b3a8630406bfc3fad9ee3e80.arthurzam@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.17.19.ebuild X-VCS-Directories: dev-python/ruamel-yaml/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 284d94d6cbbb56b5b3a8630406bfc3fad9ee3e80 X-VCS-Branch: master Date: Sun, 26 Dec 2021 18:54:35 +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: 1844fbe7-b84f-47c5-a31c-a440ecc48d07 X-Archives-Hash: baeb24dc6bf21eefc384314e49f31afe commit: 284d94d6cbbb56b5b3a8630406bfc3fad9ee3e80 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 26 18:50:15 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 26 18:50:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284d94d6 dev-python/ruamel-yaml: add 0.17.19 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/ruamel-yaml/Manifest | 1 + dev-python/ruamel-yaml/ruamel-yaml-0.17.19.ebuild | 47 +++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 8eece641589b..2709407427b7 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,2 +1,3 @@ DIST ruamel.yaml-0.17.17.tar.xz 184120 BLAKE2B 05bd1dd719677918a49798f377c5e52bd1b8c7e3bd38a416626330baec90f3e7a71509f236151be73b1773e48ae02d25ac01ef970ebe6cf15ccca49a01a996d1 SHA512 72fbdda33c193dfb556367d79b50e148d2aecd4f2b04cf5b48f2dcf4b690e0796b40273995badec655891408bb8ba6a7e84992e6911e55e75ab453403da3397f DIST ruamel.yaml-0.17.18.tar.xz 184412 BLAKE2B 47fc39b8811b19507a99a88408660ed9eef0182a91cdc86976d04f055361b9cf296e4761433207d47c8343c184c2f6358cb4541af4efce19be6865f492d11939 SHA512 dc11868522904463aba8d7d85e4c44d0d72c6fa84381089647546bde5ab091f733476d04f088611222ad4cac818dbbc7b24c51f721f34d94bdeae82fe0c627ae +DIST ruamel.yaml-0.17.19.tar.xz 184508 BLAKE2B dea922cab102f8a73888df2af8093a0c6ae51bae93ceb34f5cf58d1c9be407b65b52b000688213aed41ba14cf39506193a13102d8cd0a6597c8f7d30cc15a0fb SHA512 5f1daeead463e8fc0de43f2180ef1b536036d01c3aa1fdeaf6854789c0170dd54a09d72055b5528ed836f8323b3bec79b85c409812d7ab3c09de0e98f03f4c33 diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.19.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.19.ebuild new file mode 100644 index 000000000000..f87789872e5e --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.19.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) +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/p/ruamel-yaml/" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/namespace-ruamel[${PYTHON_USEDEP}] + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +# 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. +python_test() { + local deselect=() + + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + _test/test_deprecation.py::test_collections_deprecation + ) + + epytest --ignore _test/lib/ ${deselect[@]/#/--deselect } +} + +python_install() { + distutils-r1_python_install --single-version-externally-managed + find "${ED}" -name '*.pth' -delete || die +}