From 5eb97ad7d9e2c38bcf1a4832b265a4a673400324 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 20 May 2023 15:05:19 +0300 Subject: [PATCH] dev-python/*: treeclean orphaned dependencies Signed-off-by: Alfred Wingate --- dev-python/pygaljs/Manifest | 1 - dev-python/pygaljs/metadata.xml | 11 --- dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild | 20 ----- dev-python/pytest-benchmark/Manifest | 1 - .../files/python3_10_test.patch | 87 ------------------- dev-python/pytest-benchmark/metadata.xml | 11 --- .../pytest-benchmark-3.4.1-r1.ebuild | 45 ---------- dev-python/pytest-isort/Manifest | 1 - dev-python/pytest-isort/metadata.xml | 11 --- .../pytest-isort/pytest-isort-2.0.0.ebuild | 30 ------- 10 files changed, 218 deletions(-) delete mode 100644 dev-python/pygaljs/Manifest delete mode 100644 dev-python/pygaljs/metadata.xml delete mode 100644 dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild delete mode 100644 dev-python/pytest-benchmark/Manifest delete mode 100644 dev-python/pytest-benchmark/files/python3_10_test.patch delete mode 100644 dev-python/pytest-benchmark/metadata.xml delete mode 100644 dev-python/pytest-benchmark/pytest-benchmark-3.4.1-r1.ebuild delete mode 100644 dev-python/pytest-isort/Manifest delete mode 100644 dev-python/pytest-isort/metadata.xml delete mode 100644 dev-python/pytest-isort/pytest-isort-2.0.0.ebuild diff --git a/dev-python/pygaljs/Manifest b/dev-python/pygaljs/Manifest deleted file mode 100644 index ae21075..0000000 --- a/dev-python/pygaljs/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pygaljs-1.0.2.tar.gz 89711 BLAKE2B 64287ac1238183e34b99275218f8598546b455f9de7df0f8285691e253a8421d1287eb9c499910eed47d2e971d4f709d0341a7e56129cbcca70c938105e1d5ad SHA512 d7e0000e8cc55cde9ca455c4761c83202a95aadb2431086cb5ee21b44307f35ccc8431a50b43699814d0cdec0d8f4c14df68ec19c0ad0ac27f2c7eec85799a82 diff --git a/dev-python/pygaljs/metadata.xml b/dev-python/pygaljs/metadata.xml deleted file mode 100644 index 6489861..0000000 --- a/dev-python/pygaljs/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - parona@protonmail.com - Alfred Wingate - - - ionelmc/python-pygaljs - - diff --git a/dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild b/dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild deleted file mode 100644 index bced3c2..0000000 --- a/dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild +++ /dev/null @@ -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" ) diff --git a/dev-python/pytest-benchmark/Manifest b/dev-python/pytest-benchmark/Manifest deleted file mode 100644 index 2b52de3..0000000 --- a/dev-python/pytest-benchmark/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pytest-benchmark-3.4.1.tar.gz 340349 BLAKE2B 474743ef6c2d098ca6451e6da1a40686a529af901bf40ba8daf900844166895c676e3a95e8c252557d97d6668e077f625f96c90c00cdb4a1de021a5e5abae479 SHA512 630b27462796aea97c2d878bb936009d59e1c33be3f4219113eae5e389d2cd7912a7f7bc10a1a9a7abbfc4f69213be10a3cc68bbdceef0783f4b0a8a13600119 diff --git a/dev-python/pytest-benchmark/files/python3_10_test.patch b/dev-python/pytest-benchmark/files/python3_10_test.patch deleted file mode 100644 index 7488181..0000000 --- a/dev-python/pytest-benchmark/files/python3_10_test.patch +++ /dev/null @@ -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'", diff --git a/dev-python/pytest-benchmark/metadata.xml b/dev-python/pytest-benchmark/metadata.xml deleted file mode 100644 index b7d0c9b..0000000 --- a/dev-python/pytest-benchmark/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - parona@protonmail.com - Alfred Wingate - - - ionelmc/pytest-benchmark - - diff --git a/dev-python/pytest-benchmark/pytest-benchmark-3.4.1-r1.ebuild b/dev-python/pytest-benchmark/pytest-benchmark-3.4.1-r1.ebuild deleted file mode 100644 index fd65faa..0000000 --- a/dev-python/pytest-benchmark/pytest-benchmark-3.4.1-r1.ebuild +++ /dev/null @@ -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)")" -} diff --git a/dev-python/pytest-isort/Manifest b/dev-python/pytest-isort/Manifest deleted file mode 100644 index 95b9ba1..0000000 --- a/dev-python/pytest-isort/Manifest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 8c7a15f..0000000 --- a/dev-python/pytest-isort/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - 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 deleted file mode 100644 index 24bde6c..0000000 --- a/dev-python/pytest-isort/pytest-isort-2.0.0.ebuild +++ /dev/null @@ -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" )