From cc4618c9ba3d974948ebf340b542d8cb01db2f55 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 16 Sep 2021 22:05:01 +0100 Subject: gentoo resync : 16.09.2021 --- dev-python/yamlpath/Manifest | 6 ++-- dev-python/yamlpath/metadata.xml | 2 +- dev-python/yamlpath/yamlpath-3.6.0.ebuild | 56 ------------------------------- dev-python/yamlpath/yamlpath-3.6.1.ebuild | 56 +++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 dev-python/yamlpath/yamlpath-3.6.0.ebuild create mode 100644 dev-python/yamlpath/yamlpath-3.6.1.ebuild (limited to 'dev-python/yamlpath') diff --git a/dev-python/yamlpath/Manifest b/dev-python/yamlpath/Manifest index fe2656666fa2..670224be8ff9 100644 --- a/dev-python/yamlpath/Manifest +++ b/dev-python/yamlpath/Manifest @@ -1,3 +1,3 @@ -DIST yamlpath-3.6.0.tar.gz 214052 BLAKE2B 6b969a8c6e63f879e9c9f17f4542a48e55987835f99f10867577d93107813b684cfa0bf647f6d11b8ef8f02438e7e72f847eb0a29761a169950f8a5c6ee0ec5b SHA512 377cd281b4e7df251bbb298977c258e1a547ce4726ad321e5bf500242884049d3e052b83b83b72d477111fe121bd483d5122427498a5ebf784ab6d86d92d6ed6 -EBUILD yamlpath-3.6.0.ebuild 1365 BLAKE2B 98610b1c3ea596d0af58762f2d48cc4a5753651d9726cd3a483a974270a4d462113e28e981544f3f7a1dc5b1d562716396ff1f8657226041f5c19e670d727eee SHA512 203678520033600fe34d6ab5434881c7f5e4023fca0f261e944e852a1dc2c5a7098aafbe06ce278833b69e4a5e7aba4c096c7b5f8ebcadb3ab66b11666b66370 -MISC metadata.xml 562 BLAKE2B d2b091da12ffd474dd53c09dff56c07aef9f5c6395910315b346cba6762f1eb163b9f62d269e4de97d77fb388d4262a7b6baa0889344765f3fdbab7c86483c00 SHA512 e96c675721a9e538cd835dd07ce1fe949a5c3edd354c6f040d70c6a18f4179f44ff8d7ebdce600b800278d08823ef1ba90d5264e5e53190fb81aa698a5bafe95 +DIST yamlpath-3.6.1.tar.gz 214053 BLAKE2B 5c72ffc4e4307f1a3fea7a697782c432402acc1ee929de34a702188d51287fd7187b688354533163b7101dc17ed394f0e2681a1a194807f00762bf6c71387292 SHA512 8ef8e1931118ed881d52b6d7f589b1c671694c211cb1c988e7e6945b7ff5408163bd402f52c1815b453bf8ccc61e8b8ed5c19a00be076d8e76e0a037461a12e2 +EBUILD yamlpath-3.6.1.ebuild 1365 BLAKE2B 73ccdc94a1b063a65813333494f009b0514eb2fcc76a7e0c544007b5caeb9a7cb7f071fe1078cc891777dc48e3577a26697d0849eb377a904cc6ee84d602b46f SHA512 ec30e9533015048d698b7ccddbbf2d4228bfbf56e112a22a12209ad3d99d50e7ff50578b10bc7801fb4c90ddf2995bc6b0dfb0dc52ddde53a06df9fc811aea67 +MISC metadata.xml 563 BLAKE2B 5b63f4324ccc2685c7e11f4a75b105f9e97b860a983ffba37f1ae862082ce4654d0114ecde9fe7dc66e1c8121e607ade520e3f34192d2e85ebd538ff0631f355 SHA512 f50a3f78e2fa6d4f06fb1f52267202781d189942135112b45f17ed620025b87637925d3205f151573fee635b5f7b4d2ef1de5106223cd13d2f8e2963a31d29ac diff --git a/dev-python/yamlpath/metadata.xml b/dev-python/yamlpath/metadata.xml index 096a53d7d984..2e66798ac25a 100644 --- a/dev-python/yamlpath/metadata.xml +++ b/dev-python/yamlpath/metadata.xml @@ -1,5 +1,5 @@ - + https://github.com/wwkimball/yamlpath/issues diff --git a/dev-python/yamlpath/yamlpath-3.6.0.ebuild b/dev-python/yamlpath/yamlpath-3.6.0.ebuild deleted file mode 100644 index ac88b3e28ffc..000000000000 --- a/dev-python/yamlpath/yamlpath-3.6.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -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/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="test" -RDEPEND=" - dev-python/ruamel-yaml[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -python_prepare_all() { - local sed_args - - sed_args=( - -e 's|\("ruamel\.yaml\)[^"]*|\1|' - -e '/pytest-cov/d' - -e '/pytest-console-scripts/d' - ) - sed "${sed_args[@]}" -i setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - PYTHONPATH="${S}" py.test -v tests || die "Tests failed under ${EPYTHON}" -} - -yamlpath_post_src_install() { - 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}" || die -} - -src_install() { - find "${WORKDIR}" -name tests -print0 | xargs -0 rm -rf || die - distutils-r1_src_install - - python_foreach_impl yamlpath_post_src_install -} diff --git a/dev-python/yamlpath/yamlpath-3.6.1.ebuild b/dev-python/yamlpath/yamlpath-3.6.1.ebuild new file mode 100644 index 000000000000..075879b08bcb --- /dev/null +++ b/dev-python/yamlpath/yamlpath-3.6.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +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/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="test" +RDEPEND=" + dev-python/ruamel-yaml[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_prepare_all() { + local sed_args + + sed_args=( + -e 's|\("ruamel\.yaml\)[^"]*|\1|' + -e '/pytest-cov/d' + -e '/pytest-console-scripts/d' + ) + sed "${sed_args[@]}" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + PYTHONPATH="${S}" py.test -v tests || die "Tests failed under ${EPYTHON}" +} + +yamlpath_post_src_install() { + 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}" || die +} + +src_install() { + find "${WORKDIR}" -name tests -print0 | xargs -0 rm -rf || die + distutils-r1_src_install + + python_foreach_impl yamlpath_post_src_install +} -- cgit v1.2.3