commit:     1b776818bf3eca5170667f0b19ddbfc3a617251f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 31 04:09:55 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 04:09:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b776818

dev-python/yamlpath: Bump to 3.8.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/yamlpath/Manifest              |  1 +
 dev-python/yamlpath/yamlpath-3.8.0.ebuild | 54 +++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/yamlpath/Manifest b/dev-python/yamlpath/Manifest
index 03ad0cc241b7..110b75bf6bca 100644
--- a/dev-python/yamlpath/Manifest
+++ b/dev-python/yamlpath/Manifest
@@ -1 +1,2 @@
 DIST yamlpath-3.7.0.gh.tar.gz 224352 BLAKE2B 
9a5483847fa765c3f06a4746b6c364ba66657f739383f0eeaac4f639bf44762bf1d3b7c468ec376d2d8d8bc6669daa60512f2202de6ec3407a5dd674d022f50e
 SHA512 
d0ca007065f5efdc7c876d9596b37028881c4b3782f478f4dd87525cc6e316005bf23b930ea723bf524bc455c492c9eb07c50ccfc9333d9d794f110fa63dd268
+DIST yamlpath-3.8.0.gh.tar.gz 227377 BLAKE2B 
9a722a6f637144a8085c7b71c8ac0c966d2ff7eda7b7136614db06406024c21cdbf6b30d3a5cc7b78ba8e268d406c0db15f15130098b680a1ce36a6eb8d31b9c
 SHA512 
8a91c1519a7a93b099c77d2f850dc775c0ca8147d3ea4eb96408bb3f53a102301c6a9b6d1c5c47580a59f701e8316ff49e27d4643c21c8bc87fb337e6982e91f

diff --git a/dev-python/yamlpath/yamlpath-3.8.0.ebuild 
b/dev-python/yamlpath/yamlpath-3.8.0.ebuild
new file mode 100644
index 000000000000..ad955b668138
--- /dev/null
+++ b/dev-python/yamlpath/yamlpath-3.8.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..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}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       sed -i -e '/ruamel\.yaml/d' setup.py || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       local EPYTEST_DESELECT=()
+
+       if ! has_version "dev-ruby/hiera-eyaml"; then
+               EPYTEST_DESELECT+=(
+                       tests/test_commands_eyaml_rotate_keys.py
+                       
tests/test_commands_yaml_merge.py::Test_commands_yaml_merge::test_yaml_syntax_error
+                       
tests/test_commands_yaml_paths.py::Test_yaml_paths::test_search_encrypted_values
+               )
+       fi
+
+       epytest
+}

Reply via email to