diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-09-09 14:42:04 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-09-09 15:39:09 +0200 |
commit | 6dbb73f2ae6f225bfcb067323428e95ba7eeb16b (patch) | |
tree | 5b645c7b810d98cbb96245bc2e70487ff1bcd48f /dev-python/pytest-console-scripts | |
parent | dev-python/pytest-tornasync: import from ::sci (diff) | |
download | gentoo-6dbb73f2ae6f225bfcb067323428e95ba7eeb16b.tar.gz gentoo-6dbb73f2ae6f225bfcb067323428e95ba7eeb16b.tar.bz2 gentoo-6dbb73f2ae6f225bfcb067323428e95ba7eeb16b.zip |
dev-python/pytest-console-scripts: import from ::sci
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/pytest-console-scripts')
-rw-r--r-- | dev-python/pytest-console-scripts/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-console-scripts/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/pytest-console-scripts/pytest-console-scripts-1.2.0.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">pytest-console-scripts</remote-id> + <remote-id type="github">kvas-it/pytest-console-scripts</remote-id> + </upstream> +</pkgmetadata> 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 +} |