dev-python/apispec: Bump to 6.5.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-02-27 07:30:49 +01:00
parent 1e6b0a07cf
commit 0e0a5efc0b
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST apispec-6.4.0.tar.gz 79114 BLAKE2B 998b153a3d80c45247148210a929a0713d930560a4219dc0da0791e02480ff2a99a74d0b8bc2c170534f7d9e4e05a5fa231fa1d0eaf9359191e7ea6f37e5caf3 SHA512 2b9ceb99945c2e40e00af9f1626d0bd45cdb853fea1b75c58ef312b42b10d521405138c3bc788a33bf38eb31fc9220ed8e9a23c6a3c8980fc5549688d999dcdf
DIST apispec-6.5.0.tar.gz 76109 BLAKE2B 63cf1fe60a828e3612d211214c07eb250accbab62760e76af48e30871f0bfbb6a3d80efe6373549da43a3b3e5ccacc80f61de48a236ad0391e210d9033e87c9f SHA512 1102bd0c00b8b7018c1ad88fe2b4531fbfcfc83fca73aa63e9b7965c0775634f40fb59c061ec901b804c79e69df43f5b33c7b64129a1684a4f8b0b6228f1b1de

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..12} )
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
}