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 B059A158094 for ; Tue, 27 Sep 2022 04:09:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31C5FE0BE7; Tue, 27 Sep 2022 04:09:15 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10E4EE0BE7 for ; Tue, 27 Sep 2022 04:09:14 +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 EA571341178 for ; Tue, 27 Sep 2022 04:09:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88AE05C7 for ; Tue, 27 Sep 2022 04:09:12 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1664251748.8d6f63f25b221f5f497d48841ebdc796cee161b5.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/yamlpath/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/yamlpath/Manifest dev-python/yamlpath/yamlpath-3.6.6.ebuild X-VCS-Directories: dev-python/yamlpath/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 8d6f63f25b221f5f497d48841ebdc796cee161b5 X-VCS-Branch: master Date: Tue, 27 Sep 2022 04:09:12 +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: bfafa324-6581-405e-bf79-6b5c26675b01 X-Archives-Hash: 66e7c214631c977a7ffb166d97407afa commit: 8d6f63f25b221f5f497d48841ebdc796cee161b5 Author: Zac Medico gentoo org> AuthorDate: Tue Sep 27 04:07:44 2022 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Sep 27 04:09:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d6f63f2 dev-python/yamlpath: add 3.6.6 Signed-off-by: Zac Medico gentoo.org> dev-python/yamlpath/Manifest | 1 + dev-python/yamlpath/yamlpath-3.6.6.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/yamlpath/Manifest b/dev-python/yamlpath/Manifest index a1ff257227e5..7698c79652a6 100644 --- a/dev-python/yamlpath/Manifest +++ b/dev-python/yamlpath/Manifest @@ -1,2 +1,3 @@ DIST yamlpath-3.6.4.gh.tar.gz 216016 BLAKE2B fc6537b7c80ecfb9f69c646970e43935374bb105df007c123cf837eb1de6827ac2cc443294b69500c966ea6bc5d7f56498aec13340238c7660118f17cc6685e5 SHA512 eb1ac0d5861818f4f4b57b07f9fa7f758846982abbb3ac4ec58a1adaca8ec36deba1e21ce3e13916e74a946512f4d66e341a9d45392ef7133d0293e5fd6f66c9 DIST yamlpath-3.6.5.gh.tar.gz 216508 BLAKE2B df1d849840356eb75d9e19a5b53ec94ce140d7474be2fde19ab7f438229d347f247ee3c0f25cef4948f71d95d6935aebc0f8e58bc869083849820f9d641d7f22 SHA512 1d80514516eb573b0c644af7eaab7211714e271cc4334db5d965e2da58f06d26b3cdcb8c1412d03151a196e1b48aeb0c0d5038364a09907bb2af1efa71dd71f3 +DIST yamlpath-3.6.6.gh.tar.gz 222605 BLAKE2B b8e4345e68bb03b9aa48f31813ead149a1e547bab36deacfc255b6d8bb62148ed11bed6495e3e8db14b48859717ee87386e6d740c8b33dbf16bf4923bc19bbcf SHA512 3699cd2af82c77b29de60d0912dd5fc858a7b10ac960a8944dd0566073a7bdf5bccc6378d5aa6e52498482e51aa00cb2cae53f2a089308617d1358d744b5efcc diff --git a/dev-python/yamlpath/yamlpath-3.6.6.ebuild b/dev-python/yamlpath/yamlpath-3.6.6.ebuild new file mode 100644 index 000000000000..1517368d7013 --- /dev/null +++ b/dev-python/yamlpath/yamlpath-3.6.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="Command-line processors for YAML/JSON/Compatible data" +HOMEPAGE="https://github.com/wwkimball/yamlpath https://github.com/wwkimball/yamlpath/wiki" +SRC_URI=" + https://github.com/wwkimball/yamlpath/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/ruamel-yaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-ruby/hiera-eyaml + ) +" + +distutils_enable_tests --install pytest + +python_prepare_all() { + sed -e '/ruamel\.yaml/d' \ + -e '/pytest-cov/d' \ + -e "/find_packages/s/()/(exclude=\['tests'\])/" \ + -i setup.py || die + + touch yamlpath/patches/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install + + # install and optimize yamlpath/patches/aliasstyle.py + local sitedir=$(python_get_sitedir) + [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory" + insinto "${sitedir}/yamlpath" + doins -r "${S}/yamlpath/patches" + python_optimize "${D}${sitedir}" +}