From e409dea7545701adfcd96d2f0b4e055dcdc5c396 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 5 Mar 2021 10:36:56 +0000 Subject: Adding metadata --- dev-python/enrich/metadata.xml | 4 ++ dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild | 2 +- .../files/pytest-salt-2020.1.27-r2.patch | 14 +++++++ .../pytest-salt/pytest-salt-2020.1.27-r1.ebuild | 39 -------------------- .../pytest-salt/pytest-salt-2020.1.27-r2.ebuild | 43 ++++++++++++++++++++++ .../requests-kerberos-0.12.0-r1.ebuild | 2 +- .../requests-ntlm/requests-ntlm-1.1.0-r1.ebuild | 2 +- dev-python/rich/Manifest | 1 + dev-python/rich/metadata.xml | 4 ++ dev-python/rich/rich-9.12.4.ebuild | 28 ++++++++++++++ dev-python/yaswfp/yaswfp-0.9.3-r1.ebuild | 2 +- 11 files changed, 98 insertions(+), 43 deletions(-) create mode 100644 dev-python/pytest-salt/files/pytest-salt-2020.1.27-r2.patch delete mode 100644 dev-python/pytest-salt/pytest-salt-2020.1.27-r1.ebuild create mode 100644 dev-python/pytest-salt/pytest-salt-2020.1.27-r2.ebuild create mode 100644 dev-python/rich/rich-9.12.4.ebuild (limited to 'dev-python') diff --git a/dev-python/enrich/metadata.xml b/dev-python/enrich/metadata.xml index aa37ee2bbb57..05ec9f32181b 100644 --- a/dev-python/enrich/metadata.xml +++ b/dev-python/enrich/metadata.xml @@ -5,6 +5,10 @@ chainsaw@gentoo.org Tony Vroon + + python@gentoo.org + Python + enrich pycontribs/enrich diff --git a/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild b/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild index 8d19a4ff5687..be989d7ba7aa 100644 --- a/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild +++ b/dev-python/ntlm-auth/ntlm-auth-1.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/pytest-salt/files/pytest-salt-2020.1.27-r2.patch b/dev-python/pytest-salt/files/pytest-salt-2020.1.27-r2.patch new file mode 100644 index 000000000000..35dca262478b --- /dev/null +++ b/dev-python/pytest-salt/files/pytest-salt-2020.1.27-r2.patch @@ -0,0 +1,14 @@ +Fixes a Doctestitem has no attribute 'fixturenames' +Fix by David Denoncin based on https://github.com/saltstack/pytest-salt/issues/48 + +--- a/pytestsalt/fixtures/daemons.py 2021-03-02 15:19:40.500254583 +0100 ++++ b/pytestsalt/fixtures/daemons.py 2021-03-02 15:20:40.706920871 +0100 +@@ -1658,7 +1658,6 @@ + Fixtures injection based on markers + ''' + for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): +- if fixture in item.fixturenames: +- after_start_fixture = '{}_after_start'.format(fixture) ++ if fixture in getattr(item, 'fixturenames', ()): + if after_start_fixture not in item.fixturenames: + item.fixturenames.append(after_start_fixture) diff --git a/dev-python/pytest-salt/pytest-salt-2020.1.27-r1.ebuild b/dev-python/pytest-salt/pytest-salt-2020.1.27-r1.ebuild deleted file mode 100644 index f4121676b7c2..000000000000 --- a/dev-python/pytest-salt/pytest-salt-2020.1.27-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_PV="${PV/_p/.post}" -DESCRIPTION="PyTest Salt Plugin" -HOMEPAGE="https://github.com/saltstack/pytest-salt" -SRC_URI="https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="test" - -RDEPEND=" - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] - >=dev-python/psutil-4.2.0[${PYTHON_USEDEP}] - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] - dev-python/pytest-tempdir[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] -" -#BDEPEND=" -# test? ( app-admin/salt[${PYTHON_USEDEP}] ) -#" - -# tests need network access -RESTRICT="test" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/pytest-salt/pytest-salt-2020.1.27-r2.ebuild b/dev-python/pytest-salt/pytest-salt-2020.1.27-r2.ebuild new file mode 100644 index 000000000000..923e601dcbbd --- /dev/null +++ b/dev-python/pytest-salt/pytest-salt-2020.1.27-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_PV="${PV/_p/.post}" +DESCRIPTION="PyTest Salt Plugin" +HOMEPAGE="https://github.com/saltstack/pytest-salt" +SRC_URI="https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="test" + +RDEPEND=" + >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] + >=dev-python/psutil-4.2.0[${PYTHON_USEDEP}] + dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] + dev-python/pytest-tempdir[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] +" +#BDEPEND=" +# test? ( app-admin/salt[${PYTHON_USEDEP}] ) +#" + +PATCHES=( + "${FILESDIR}/${PN}-2020.1.27-r2.patch" +) + +# tests need network access +RESTRICT="test" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild index 504384a46ba5..eb773fbe61a7 100644 --- a/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild +++ b/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/requests-ntlm/requests-ntlm-1.1.0-r1.ebuild b/dev-python/requests-ntlm/requests-ntlm-1.1.0-r1.ebuild index 3e61ecc73166..a5ed55ffccba 100644 --- a/dev-python/requests-ntlm/requests-ntlm-1.1.0-r1.ebuild +++ b/dev-python/requests-ntlm/requests-ntlm-1.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 22831fe8e7bb..3d5e672971f1 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1 +1,2 @@ DIST rich-9.11.1.tar.gz 14050070 BLAKE2B 7dcae32743bfcbbab0af6896f72e865d2a72ab66545168544d065145cf10a2aab4785454e547f011219a85a8aa762f1ed5ebef2b9fb7f44225a2f776835b643d SHA512 2139cb6602d930e9bf1479456a8e6cee812237fb64073db3f23fd8eab64c1c2b3a83c6292f1f90652791100a93961d8ec8036e5d819f1e23159b6b9a75cd1f6c +DIST rich-9.12.4.tar.gz 16204429 BLAKE2B b57d7dc7ad4463c85cbc43e0fd8afd9f0c5329cbe81eaac168895af3701091669e4b0b6fd0d2de2f5876405c5aae00ed77e77d1b317dbd20c7dd3e53deddf2ca SHA512 92feb4ceab4e10f33c0f4abec19a4ee5bdcf27139591b603aba98239483874089fbd33998a2f05f2b609799afa59cddbe1ee245a87c391d15f58887b21a138df diff --git a/dev-python/rich/metadata.xml b/dev-python/rich/metadata.xml index be96fd36e5ea..4c28d9ed0a92 100644 --- a/dev-python/rich/metadata.xml +++ b/dev-python/rich/metadata.xml @@ -5,6 +5,10 @@ chainsaw@gentoo.org Tony Vroon + + python@gentoo.org + Python + rich willmcgugan/rich diff --git a/dev-python/rich/rich-9.12.4.ebuild b/dev-python/rich/rich-9.12.4.ebuild new file mode 100644 index 000000000000..b6affb7238ee --- /dev/null +++ b/dev-python/rich/rich-9.12.4.ebuild @@ -0,0 +1,28 @@ +# 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=pyproject.toml +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal" +HOMEPAGE="https://github.com/willmcgugan/rich" +SRC_URI="https://github.com/willmcgugan/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/yaswfp/yaswfp-0.9.3-r1.ebuild b/dev-python/yaswfp/yaswfp-0.9.3-r1.ebuild index beff3d831264..def30f4891bb 100644 --- a/dev-python/yaswfp/yaswfp-0.9.3-r1.ebuild +++ b/dev-python/yaswfp/yaswfp-0.9.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -- cgit v1.3.1