summaryrefslogtreecommitdiff
path: root/dev-python/yamlpath
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-17 01:13:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-17 01:13:38 +0000
commit0e82736d0df44565875b055019ded1be0ac5c319 (patch)
treebd9daea4309088c78f6b358305ab15849d97d159 /dev-python/yamlpath
parent79be8f00e2aa293669b8e22e1ef02d2d5c5f9e25 (diff)
gentoo auto-resync : 17:01:2023 - 01:13:38
Diffstat (limited to 'dev-python/yamlpath')
-rw-r--r--dev-python/yamlpath/Manifest2
-rw-r--r--dev-python/yamlpath/yamlpath-3.7.0.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/yamlpath/Manifest b/dev-python/yamlpath/Manifest
index 75acdb977d5d..e8f51807e46d 100644
--- a/dev-python/yamlpath/Manifest
+++ b/dev-python/yamlpath/Manifest
@@ -1,3 +1,5 @@
DIST yamlpath-3.6.9.gh.tar.gz 220753 BLAKE2B 8110cfccc7376b17bf0248e7a1b4b09962e7180629c3dc0ca5e9106d64a4ce0f3ff3c5aa626ed388ba13d412fb3d0b08d4d8a659c0322a249c28cad5283e133b SHA512 8a7802b890a32423c85f24fc39d7d614a87f30f72ca0e77621ba10eb69fed4bb3c8fa70f687ab30eab1f08036c14a03b4a007332246a5cdf5b15ea47b7280bd4
+DIST yamlpath-3.7.0.gh.tar.gz 224352 BLAKE2B 9a5483847fa765c3f06a4746b6c364ba66657f739383f0eeaac4f639bf44762bf1d3b7c468ec376d2d8d8bc6669daa60512f2202de6ec3407a5dd674d022f50e SHA512 d0ca007065f5efdc7c876d9596b37028881c4b3782f478f4dd87525cc6e316005bf23b930ea723bf524bc455c492c9eb07c50ccfc9333d9d794f110fa63dd268
EBUILD yamlpath-3.6.9.ebuild 845 BLAKE2B 3602549ab8d44150d69b626efbacd222fb726d9a4fa75ceb95743290fb8af537c134716f8247b6a1005ad1c75a370a972f7fa0461885dd2a328ff615da7569f4 SHA512 23a8ffb06ec314ee634f9826636fc71d8d96c6a13ff281794798916f0d6ec647b8270b10e915a56d029e79b01db7528b70ff0931d76e6c6f77cbd9ee9339370e
+EBUILD yamlpath-3.7.0.ebuild 1120 BLAKE2B 135fc3c69e2bae9de6765cbe95459d80dc3f47863802c57a0190e7138613f9fd45f73a3994678cfae9c2a9338008d6a815c2fafb1c7cb9c2edc01449c7a1f2f7 SHA512 5ac6f83b72c71088f2baf503b595fdf13c6e460cbc0a020ab50279ae3205b1e165b581601002c0204e9d84cc3f682f05d45037d3afd225efedd58e6541f61bc7
MISC metadata.xml 664 BLAKE2B cdf919f6a46dbc7ed8f2546509a623e0e784da711afaade20ec79b2861e8c83f54f755ce68ec2944bd0edb92f2e05b18a9c0ff93430c185574c41de2d789e03d SHA512 8020ca58f464e2aed71c01c29375b95dda238be6cdb94468a0abe50c7ce0270a42d723318f34cb4eb8728184cbe6769c7e666f43cffde37e6e9f42cab4d7292e
diff --git a/dev-python/yamlpath/yamlpath-3.7.0.ebuild b/dev-python/yamlpath/yamlpath-3.7.0.ebuild
new file mode 100644
index 000000000000..ad955b668138
--- /dev/null
+++ b/dev-python/yamlpath/yamlpath-3.7.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
+}