commit: 95222715c07663fd89cf528b8ec035ac7c3d8bd6 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jan 8 08:40:53 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jan 8 09:12:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95222715
dev-python/apispec: Bump to 6.8.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/apispec/Manifest | 1 + dev-python/apispec/apispec-6.8.1.ebuild | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index 86febf789a1a..341981f1ab13 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1,2 +1,3 @@ DIST apispec-6.7.1.tar.gz 76714 BLAKE2B ced24f5d455d02a64bbcd098d892bf5f37275eb6cc3ea445b97f89b8e21d0446ae069e1086cdd9c833135931fa3ddf0694eddf10fbbbd81986a59c79f4faf42c SHA512 97a0800f95301b249c57b05560ef45912462c3754f1923530bdfbbbd5e6968f2b1a8174470a5fdb06368d8541a6ef2c76e4964e98cfb47eea0715e1e7abaac7f DIST apispec-6.8.0.tar.gz 76919 BLAKE2B c97f9a87175755c517a22ebbe66c1fb058b89f370a89f09af1007664519d95cf5938e1b699062f9b7f643bc3263a2055487996f759e0e64e2e2038d36e552525 SHA512 ad8b155dcc373f2423153a4b17d3b446a188e8835ea971496818a93bea098b641a3663dc75b6cd8b92a92de607ddc64fb9b13ad10356e6eeb05e4ff9918e9ecf +DIST apispec-6.8.1.tar.gz 77050 BLAKE2B 394714c23721a18cf205c9f705bebbfa34d508d333e34cd89bab7e4fbd0f61d1427f55d94425135dbbd9a4b6eff1b313bea156ca29eccbc21865787e296ada6c SHA512 db6e92ce765ae8a7cb0dafe2b6bdcf47ff4849f7d11b344526640d3536ff5251b644bb49f9385dafea339eeb59072fc08094b309f4092080fcf9ec582071fc9d diff --git a/dev-python/apispec/apispec-6.8.1.ebuild b/dev-python/apispec/apispec-6.8.1.ebuild new file mode 100644 index 000000000000..337253ee2b06 --- /dev/null +++ b/dev-python/apispec/apispec-6.8.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pluggable API specification generator" +HOMEPAGE=" + https://github.com/marshmallow-code/apispec/ + https://pypi.org/project/apispec/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/marshmallow-3.18.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + dev-python/sphinx-rtd-theme + +python_test() { + local EPYTEST_DESELECT=( + # requires unpackaged prance + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}