summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/apispec/Manifest1
-rw-r--r--dev-python/apispec/apispec-6.8.2.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest
index a52ce02f565b..c8640337e435 100644
--- a/dev-python/apispec/Manifest
+++ b/dev-python/apispec/Manifest
@@ -1 +1,2 @@
DIST apispec-6.8.1.tar.gz 77050 BLAKE2B 394714c23721a18cf205c9f705bebbfa34d508d333e34cd89bab7e4fbd0f61d1427f55d94425135dbbd9a4b6eff1b313bea156ca29eccbc21865787e296ada6c SHA512 db6e92ce765ae8a7cb0dafe2b6bdcf47ff4849f7d11b344526640d3536ff5251b644bb49f9385dafea339eeb59072fc08094b309f4092080fcf9ec582071fc9d
+DIST apispec-6.8.2.tar.gz 77148 BLAKE2B 20c2463c62e3faf2d893983845bd60370acc64abc8411cd7632f24f096eaa8586be14bfe0e312ee4cf9cc68b0e11991ddf261473851e75099a41b8dfd391579c SHA512 0422c20cacf55d909e965be29b0d61fe9e184f9e8331420a8b64a7337555097a0ff9e51f03ac84123565ac6594bd3fdf446ddf9786fcd790525961ce17ba60de
diff --git a/dev-python/apispec/apispec-6.8.2.ebuild b/dev-python/apispec/apispec-6.8.2.ebuild
new file mode 100644
index 000000000000..731f39ee0dd6
--- /dev/null
+++ b/dev-python/apispec/apispec-6.8.2.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_{11..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
+}