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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2CFFE1382C5 for ; Fri, 26 Mar 2021 12:08:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 780CBE081B; Fri, 26 Mar 2021 12:08:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46AA9E081B for ; Fri, 26 Mar 2021 12:08:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03B96335DA4 for ; Fri, 26 Mar 2021 12:08:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CAE04A8 for ; Fri, 26 Mar 2021 12:08:05 +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: <1616760481.6e7d6e4bfbd27e79c07d8887ed32d9063d727bb6.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.17.0.ebuild X-VCS-Directories: dev-python/ruamel-yaml/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6e7d6e4bfbd27e79c07d8887ed32d9063d727bb6 X-VCS-Branch: master Date: Fri, 26 Mar 2021 12:08:05 +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: 4ef73609-efdf-43c1-be66-f243147260d2 X-Archives-Hash: 1281ab890714378553bee7ff92c0cb1e commit: 6e7d6e4bfbd27e79c07d8887ed32d9063d727bb6 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 26 12:06:29 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 26 12:08:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7d6e4b dev-python/ruamel-yaml: Bump to 0.17.0 Signed-off-by: Michał Górny gentoo.org> dev-python/ruamel-yaml/Manifest | 1 + dev-python/ruamel-yaml/ruamel-yaml-0.17.0.ebuild | 50 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index b1b31045d2f..a08a8466fd1 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,2 +1,3 @@ DIST ruamel-yaml-0.16.13.tar.xz 178756 BLAKE2B 19ee4713786a33853f42256e5cd3187e9e19b931ebd83a133365de3f080721c5a6f5fb41ff3079473461df47a0ab149981c5e94d08321da8b3c9eb311c226945 SHA512 1366fc0b3b5ea2699ca324636403576134ccc7c725b13c21a7752d1b16c644c93c7f7d82ddc337087d2c02947f95263d7a3fdd162f552ac3a78fa36f1f17b3f1 +DIST ruamel-yaml-0.17.0.tar.xz 177532 BLAKE2B 8935acef9210f61283a659ffeb1137524b374b26b49e48677a49233f30e4abdd709357dcfe6f0e998405fed9143e0848825418e4af60f3d37f10f957d15f8555 SHA512 a6532c6f02f03211f6afe25c051c192c8b791e71cc32a9f6acaf830f7ed0e80531326ba436902870500bea5509cb36bd89f1b4a9a7c919b8069d6bc0eed2c2b8 DIST ruamel.yaml-0.16.12.tar.gz 147355 BLAKE2B 6e91116029dba57b81580f4ce34a066fc49ec2c6167c2bd6ec2ae940b16bc12ba53cbd4c62f9ae3975664917ce990b050e9f15b434f5ff66f9dece5426049c9d SHA512 21be4d956d01164b84233c3d3945a4e56351a8fc59c35a8e71b1276da84aa43b125e3860f9884e95a1f895bc53e0b85b6d3f0f4b03512d629a892d8664e3ecd6 diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.0.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.0.ebuild new file mode 100644 index 00000000000..ca4e1f98774 --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +inherit distutils-r1 + +MY_PN="${PN//-/.}" +MY_P="${MY_PN}-${PV}" + +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 -> ${P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~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 +}