dev-python/*: treeclean orphaned dependencies
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
4587aac6db
commit
5eb97ad7d9
@ -1 +0,0 @@
|
||||
DIST pygaljs-1.0.2.tar.gz 89711 BLAKE2B 64287ac1238183e34b99275218f8598546b455f9de7df0f8285691e253a8421d1287eb9c499910eed47d2e971d4f709d0341a7e56129cbcca70c938105e1d5ad SHA512 d7e0000e8cc55cde9ca455c4761c83202a95aadb2431086cb5ee21b44307f35ccc8431a50b43699814d0cdec0d8f4c14df68ec19c0ad0ac27f2c7eec85799a82
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>parona@protonmail.com</email>
|
||||
<name>Alfred Wingate</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ionelmc/python-pygaljs</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,20 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python package providing assets from pygal.js"
|
||||
HOMEPAGE="https://github.com/ionelmc/python-pygaljs"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( "README.rst" )
|
@ -1 +0,0 @@
|
||||
DIST pytest-benchmark-3.4.1.tar.gz 340349 BLAKE2B 474743ef6c2d098ca6451e6da1a40686a529af901bf40ba8daf900844166895c676e3a95e8c252557d97d6668e077f625f96c90c00cdb4a1de021a5e5abae479 SHA512 630b27462796aea97c2d878bb936009d59e1c33be3f4219113eae5e389d2cd7912a7f7bc10a1a9a7abbfc4f69213be10a3cc68bbdceef0783f4b0a8a13600119
|
@ -1,87 +0,0 @@
|
||||
diff --git a/tests/test_cli.py b/tests/test_cli.py
|
||||
index c71ef22..d2ae1da 100644
|
||||
--- a/tests/test_cli.py
|
||||
+++ b/tests/test_cli.py
|
||||
@@ -3,13 +3,14 @@ from collections import namedtuple
|
||||
|
||||
import py
|
||||
import pytest
|
||||
+from os import environ
|
||||
from _pytest.pytester import LineMatcher
|
||||
|
||||
pytest_plugins = 'pytester',
|
||||
|
||||
THIS = py.path.local(__file__)
|
||||
STORAGE = THIS.dirpath('test_storage')
|
||||
-
|
||||
+environ["LINES"]="40"
|
||||
|
||||
@pytest.fixture
|
||||
def testdir(testdir, monkeypatch):
|
||||
@@ -20,13 +21,13 @@ def testdir(testdir, monkeypatch):
|
||||
|
||||
def test_help(testdir):
|
||||
result = testdir.run('py.test-benchmark', '--help')
|
||||
- result.stdout.fnmatch_lines([
|
||||
+ result.stdout.re_match_lines([
|
||||
"usage: py.test-benchmark *",
|
||||
" {help,list,compare} ...",
|
||||
"",
|
||||
"pytest_benchmark's management commands.",
|
||||
"",
|
||||
- "optional arguments:",
|
||||
+ "option(s|al arguments):",
|
||||
" -h [COMMAND], --help [COMMAND]",
|
||||
" Display help and exit.",
|
||||
" --storage URI, -s URI",
|
||||
@@ -49,7 +50,7 @@ def test_help(testdir):
|
||||
|
||||
def test_help_command(testdir):
|
||||
result = testdir.run('py.test-benchmark', 'help')
|
||||
- result.stdout.fnmatch_lines([
|
||||
+ result.stdout.re_match_lines([
|
||||
'usage: py.test-benchmark help [-h] [command]',
|
||||
'',
|
||||
'Display help and exit.',
|
||||
@@ -57,7 +58,7 @@ def test_help_command(testdir):
|
||||
'positional arguments:',
|
||||
' command',
|
||||
'',
|
||||
- 'optional arguments:',
|
||||
+ 'option(s|al arguments):',
|
||||
' -h, --help show this help message and exit',
|
||||
])
|
||||
|
||||
@@ -65,12 +66,12 @@ def test_help_command(testdir):
|
||||
@pytest.mark.parametrize('args', ['list --help', 'help list'])
|
||||
def test_help_list(testdir, args):
|
||||
result = testdir.run('py.test-benchmark', *args.split())
|
||||
- result.stdout.fnmatch_lines([
|
||||
+ result.stdout.re_match_lines([
|
||||
"usage: py.test-benchmark list [-h]",
|
||||
"",
|
||||
"List saved runs.",
|
||||
"",
|
||||
- "optional arguments:",
|
||||
+ "option(s|al arguments):",
|
||||
" -h, --help show this help message and exit",
|
||||
])
|
||||
assert result.ret == 0
|
||||
@@ -79,7 +80,7 @@ def test_help_list(testdir, args):
|
||||
@pytest.mark.parametrize('args', ['compare --help', 'help compare'])
|
||||
def test_help_compare(testdir, args):
|
||||
result = testdir.run('py.test-benchmark', *args.split())
|
||||
- result.stdout.fnmatch_lines([
|
||||
+ result.stdout.re_match_lines([
|
||||
"usage: py.test-benchmark compare [-h] [--sort COL] [--group-by LABEL]",
|
||||
" [--columns LABELS] [--name FORMAT]",
|
||||
" [--histogram [FILENAME-PREFIX]]",
|
||||
@@ -92,7 +93,7 @@ def test_help_compare(testdir, args):
|
||||
" glob_or_file Glob or exact path for json files. If not specified",
|
||||
" all runs are loaded.",
|
||||
"",
|
||||
- "optional arguments:",
|
||||
+ "option(s|al arguments):",
|
||||
" -h, --help show this help message and exit",
|
||||
" --sort COL Column to sort on. Can be one of: 'min', 'max',",
|
||||
" 'mean', 'stddev', 'name', 'fullname'. Default: 'min'",
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>parona@protonmail.com</email>
|
||||
<name>Alfred Wingate</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ionelmc/pytest-benchmark</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,45 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="py.test fixture for benchmarking code"
|
||||
HOMEPAGE="https://github.com/ionelmc/pytest-benchmark"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/aspectlib[${PYTHON_USEDEP}]
|
||||
dev-python/elasticsearch-py[${PYTHON_USEDEP}]
|
||||
dev-python/py-cpuinfo[${PYTHON_USEDEP}]
|
||||
dev-python/pygal[${PYTHON_USEDEP}]
|
||||
dev-python/pygaljs[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
|
||||
|
||||
PATCHES=( "${FILESDIR}/python3_10_test.patch" )
|
||||
|
||||
# Test success is affected by terminal width
|
||||
EPYTEST_DESELECT=( tests/test_cli.py::test_help tests/test_cli.py::test_help_compare )
|
||||
|
||||
python_test() {
|
||||
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST pytest-isort-2.0.0.tar.gz 7637 BLAKE2B aeb1797612fcba6f7421ffbd2c349d2353fccd60e88d314e9e64fb9b29bfd94b013a46edc46bbb863a501bd002451a1008ee6841b49f0f8d6dfba86211615afd SHA512 fc2e1f197da7893a96e9958e7527ee42f03e42206028701be5f90d684cb9bd077a61f516de2fc1446765ceaed07c188c05e2ff9a35fa0c1fea97b2c878c09d98
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>parona@protonmail.com</email>
|
||||
<name>Alfred Wingate</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">stephrdev/pytest-isort</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,30 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
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" )
|
Loading…
Reference in New Issue
Block a user