diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-07 06:26:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-07 08:06:28 +0100 |
commit | b24aa7a6778c76e2d77727b5a750a5e79cfde187 (patch) | |
tree | b9a879455186f1503020418a7e1c9e8392fd7047 /dev-python/apispec | |
parent | dev-python/alembic: Bump to 1.10.1 (diff) | |
download | gentoo-b24aa7a6778c76e2d77727b5a750a5e79cfde187.tar.gz gentoo-b24aa7a6778c76e2d77727b5a750a5e79cfde187.tar.bz2 gentoo-b24aa7a6778c76e2d77727b5a750a5e79cfde187.zip |
dev-python/apispec: Bump to 6.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/apispec')
-rw-r--r-- | dev-python/apispec/Manifest | 1 | ||||
-rw-r--r-- | dev-python/apispec/apispec-6.2.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index f3bc3f739ff6..65cde9e42167 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1,2 +1,3 @@ DIST apispec-6.0.2.gh.tar.gz 72472 BLAKE2B 0ff39ad92648cd63487f8901dc918fc1c642ce677ef73d5a7c849cdafbf7c81ac3ec51224575cd83c060930c1b2ef0ebfb3e94e1fb30f040e4dc4aa2bd221936 SHA512 aa5e2cc41d5b3c4555da929819135df30192e6f6ff08518d62674495f0d28c14e51a0aa111b289e5f9d7205f821c1fd4e28b914899ea3e15b3e20f6052258117 DIST apispec-6.1.0.gh.tar.gz 72570 BLAKE2B 524573d188c487c57bed25f735888623d3abb848a949920bfa7ef8737b33d5fa29670d90af47eedb8b6202ddd553d04c2809285151555159c81203989fe23a2c SHA512 95d24491992572304b5c5adbb2a50668d55cb60585e32c85f718f2c211eb15c35082146fd6c88b7d3d574b4fef8f49fdd3cfe714f15d80aa657f3b48f38a40ed +DIST apispec-6.2.0.gh.tar.gz 72921 BLAKE2B 32a0f5c607277afb4db319183777e9cdba625f17942a983ccf8b67fead459783b4d88e8bbd71c24be421aa068fb6dd96c193806b287de3d63f3456ec840132d7 SHA512 432391b42dab9cb1172bd6959346dabf639dabec85540cd6f3c0f227cbc833a8424ae6b34e3d4d79f6bf41d3cf24464d1f5584204e143c3dc2d092029a2d2cf7 diff --git a/dev-python/apispec/apispec-6.2.0.ebuild b/dev-python/apispec/apispec-6.2.0.ebuild new file mode 100644 index 000000000000..a4536d135d69 --- /dev/null +++ b/dev-python/apispec/apispec-6.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="A pluggable API specification generator" +HOMEPAGE=" + https://github.com/marshmallow-code/apispec/ + https://pypi.org/project/apispec/ +" +SRC_URI=" + https://github.com/marshmallow-code/apispec/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~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 +} |