From 2ed3fd4de6584dd715d835d3860e7c7a5a5cd732 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 16 Sep 2021 01:39:39 +0000 Subject: Adding metadata --- dev-python/yamlpath/Manifest | 2 +- dev-python/yamlpath/yamlpath-3.6.0.ebuild | 56 ------------------------------- dev-python/yamlpath/yamlpath-3.6.1.ebuild | 56 +++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 57 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 66b3b1648fbe..4fb29dcb8eb1 100644 --- a/dev-python/yamlpath/Manifest +++ b/dev-python/yamlpath/Manifest @@ -1 +1 @@ -DIST yamlpath-3.6.0.tar.gz 214052 BLAKE2B 6b969a8c6e63f879e9c9f17f4542a48e55987835f99f10867577d93107813b684cfa0bf647f6d11b8ef8f02438e7e72f847eb0a29761a169950f8a5c6ee0ec5b SHA512 377cd281b4e7df251bbb298977c258e1a547ce4726ad321e5bf500242884049d3e052b83b83b72d477111fe121bd483d5122427498a5ebf784ab6d86d92d6ed6 +DIST yamlpath-3.6.1.tar.gz 214053 BLAKE2B 5c72ffc4e4307f1a3fea7a697782c432402acc1ee929de34a702188d51287fd7187b688354533163b7101dc17ed394f0e2681a1a194807f00762bf6c71387292 SHA512 8ef8e1931118ed881d52b6d7f589b1c671694c211cb1c988e7e6945b7ff5408163bd402f52c1815b453bf8ccc61e8b8ed5c19a00be076d8e76e0a037461a12e2 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 8e5362e754d8..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_{6,7,8,9,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..fe072351325c --- /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_{6,7,8,9,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.3