From 6dbb73f2ae6f225bfcb067323428e95ba7eeb16b Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 9 Sep 2021 14:42:04 +0200 Subject: dev-python/pytest-console-scripts: import from ::sci Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan --- dev-python/pytest-console-scripts/Manifest | 1 + dev-python/pytest-console-scripts/metadata.xml | 13 +++++++++ .../pytest-console-scripts-1.2.0.ebuild | 33 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-python/pytest-console-scripts/Manifest create mode 100644 dev-python/pytest-console-scripts/metadata.xml create mode 100644 dev-python/pytest-console-scripts/pytest-console-scripts-1.2.0.ebuild (limited to 'dev-python/pytest-console-scripts') diff --git a/dev-python/pytest-console-scripts/Manifest b/dev-python/pytest-console-scripts/Manifest new file mode 100644 index 000000000000..2d4349eda3b8 --- /dev/null +++ b/dev-python/pytest-console-scripts/Manifest @@ -0,0 +1 @@ +DIST pytest-console-scripts-1.2.0.tar.gz 13976 BLAKE2B 1452ecfdc47d3341d8f3f30d49f371ae89d6138d56e4dc3a230f6a3803c6c36f542df40e2785c99c3cfd5080fa03b5b3d4926bb742dc99bd2127d47305fbf788 SHA512 07c9baab85035265ab6a21cc0c754b076dba87f08e1ab51319ef47a0a8af0b44f7d42422014c68cf93ed28b508138a70e14b968707cc831682885b3ca8106aa7 diff --git a/dev-python/pytest-console-scripts/metadata.xml b/dev-python/pytest-console-scripts/metadata.xml new file mode 100644 index 000000000000..9d775e8a4cac --- /dev/null +++ b/dev-python/pytest-console-scripts/metadata.xml @@ -0,0 +1,13 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + + pytest-console-scripts + kvas-it/pytest-console-scripts + + diff --git a/dev-python/pytest-console-scripts/pytest-console-scripts-1.2.0.ebuild b/dev-python/pytest-console-scripts/pytest-console-scripts-1.2.0.ebuild new file mode 100644 index 000000000000..6a673ce97309 --- /dev/null +++ b/dev-python/pytest-console-scripts/pytest-console-scripts-1.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin for testing console scripts" +HOMEPAGE="https://github.com/kvas-it/pytest-console-scripts" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests --install pytest + +python_prepare_all() { + # allow newer setuptools_scm + sed -i -e 's/setuptools_scm<6/setuptools_scm/g' setup.py || die + + distutils-r1_python_prepare_all +} -- cgit v1.2.3-65-gdbad