From b2adf2dfead19506d2b1ad867d92a7d408bdfdf9 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 20 May 2021 23:23:32 +0300 Subject: [PATCH] dev-python/pytest-isort: add for dev-python/pygal Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfred Wingate --- dev-python/pytest-isort/Manifest | 1 + dev-python/pytest-isort/metadata.xml | 11 +++++++ .../pytest-isort/pytest-isort-2.0.0.ebuild | 30 +++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 dev-python/pytest-isort/Manifest create mode 100644 dev-python/pytest-isort/metadata.xml create mode 100644 dev-python/pytest-isort/pytest-isort-2.0.0.ebuild diff --git a/dev-python/pytest-isort/Manifest b/dev-python/pytest-isort/Manifest new file mode 100644 index 0000000..95b9ba1 --- /dev/null +++ b/dev-python/pytest-isort/Manifest @@ -0,0 +1 @@ +DIST pytest-isort-2.0.0.tar.gz 7637 BLAKE2B aeb1797612fcba6f7421ffbd2c349d2353fccd60e88d314e9e64fb9b29bfd94b013a46edc46bbb863a501bd002451a1008ee6841b49f0f8d6dfba86211615afd SHA512 fc2e1f197da7893a96e9958e7527ee42f03e42206028701be5f90d684cb9bd077a61f516de2fc1446765ceaed07c188c05e2ff9a35fa0c1fea97b2c878c09d98 diff --git a/dev-python/pytest-isort/metadata.xml b/dev-python/pytest-isort/metadata.xml new file mode 100644 index 0000000..8c7a15f --- /dev/null +++ b/dev-python/pytest-isort/metadata.xml @@ -0,0 +1,11 @@ + + + + + parona@protonmail.com + Alfred Wingate + + + stephrdev/pytest-isort + + diff --git a/dev-python/pytest-isort/pytest-isort-2.0.0.ebuild b/dev-python/pytest-isort/pytest-isort-2.0.0.ebuild new file mode 100644 index 0000000..801ff91 --- /dev/null +++ b/dev-python/pytest-isort/pytest-isort-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="py.test plugin to check import ordering using isort" +HOMEPAGE="https://github.com/stephrdev/pytest-isort" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/isort[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + ${RDEPEND} + ) +" + +distutils_enable_tests pytest + +DOCS=( "README.rst" )