From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/flasgger/Manifest | 1 - .../files/flasgger-0.9.7.1-click-8.2.patch | 36 ------------------ dev-python/flasgger/flasgger-0.9.7.1.ebuild | 44 ---------------------- dev-python/flasgger/metadata.xml | 12 ------ 4 files changed, 93 deletions(-) delete mode 100644 dev-python/flasgger/Manifest delete mode 100644 dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch delete mode 100644 dev-python/flasgger/flasgger-0.9.7.1.ebuild delete mode 100644 dev-python/flasgger/metadata.xml (limited to 'dev-python/flasgger') diff --git a/dev-python/flasgger/Manifest b/dev-python/flasgger/Manifest deleted file mode 100644 index bf46ca0ab2f9..000000000000 --- a/dev-python/flasgger/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flasgger-0.9.7.1.tar.gz 3979409 BLAKE2B 939b0adfdfa3fcc8305320c6a140ef378e5617d46743e1cae04093e8391b782b73d4f112174ed1e29711fbf55a7469ffe6008beff9a218f5eaa68bb8864ced1c SHA512 fe1feb5ebadc6c3cde8e9e70726c86efc8d88392c5eb44ddaa6135fa96fbaada975d2042187bd4cebe08d843d21dc8e89dea5f2935b6c65863b36e4a6a39d121 diff --git a/dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch b/dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch deleted file mode 100644 index e66324012d0a..000000000000 --- a/dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://github.com/flasgger/flasgger/pull/633 - -From 08591b60e988c0002fcf1b1e9f98b78e041d2732 Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Tue, 4 Mar 2025 10:13:55 +0000 -Subject: [PATCH] Fix tests with Click 8.2 - -https://github.com/pallets/click/pull/2523 introduced changes to -`click.testing` that broke a few unit tests in Flasgger: -`mix_stderr=False` is now effectively the default and can no longer be -specified explicitly. Although this Click version hasn't been fully -released yet, this adjusts Flasgger to work with both old and new -versions. ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -1,7 +1,9 @@ -+import inspect - import json - import random - - import pytest -+from click.testing import CliRunner - from flasgger import Swagger - from flasgger.utils import get_examples - -@@ -99,4 +101,8 @@ def app(): - - @pytest.fixture(scope="function") - def cli_runner(app): -- yield app.test_cli_runner(mix_stderr=False) -+ kwargs = {} -+ if "mix_stderr" in inspect.signature(CliRunner).parameters: -+ # click < 8.2 -+ kwargs["mix_stderr"] = False -+ yield app.test_cli_runner(**kwargs) - diff --git a/dev-python/flasgger/flasgger-0.9.7.1.ebuild b/dev-python/flasgger/flasgger-0.9.7.1.ebuild deleted file mode 100644 index d98b5a1d5dcf..000000000000 --- a/dev-python/flasgger/flasgger-0.9.7.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Easy OpenAPI specs and Swagger UI for your Flask API" -HOMEPAGE=" - https://github.com/flasgger/flasgger/ - https://pypi.org/project/flasgger/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-python/flask-0.10[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] - dev-python/mistune[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] -" - -PATCHES=( - # https://github.com/flasgger/flasgger/pull/633 - "${FILESDIR}/${PN}-0.9.7.1-click-8.2.patch" -) - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # requires flex - tests/test_examples.py - ) - - epytest tests -} diff --git a/dev-python/flasgger/metadata.xml b/dev-python/flasgger/metadata.xml deleted file mode 100644 index afb6a76c4a91..000000000000 --- a/dev-python/flasgger/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - python@gentoo.org - - - - flasgger/flasgger - flasgger - - -- cgit v1.3