summaryrefslogtreecommitdiff
path: root/dev-python/apispec
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /dev-python/apispec
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'dev-python/apispec')
-rw-r--r--dev-python/apispec/Manifest13
-rw-r--r--dev-python/apispec/apispec-3.3.0.ebuild33
-rw-r--r--dev-python/apispec/apispec-4.2.0.ebuild37
-rw-r--r--dev-python/apispec/apispec-4.3.0.ebuild38
-rw-r--r--dev-python/apispec/apispec-4.4.1.ebuild6
-rw-r--r--dev-python/apispec/apispec-4.4.2.ebuild (renamed from dev-python/apispec/apispec-4.4.0.ebuild)6
-rw-r--r--dev-python/apispec/files/apispec-3.3.0-tests.patch20
7 files changed, 13 insertions, 140 deletions
diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest
index c4924ca7809f..0c0744dbef44 100644
--- a/dev-python/apispec/Manifest
+++ b/dev-python/apispec/Manifest
@@ -1,12 +1,5 @@
-AUX apispec-3.3.0-tests.patch 697 BLAKE2B 5bec31aa9f049547921a73a21f5065da40881e1f587a3924f2ca2aabc1876c9d9026cf9c77b8111427d8315b75dc0ed13ee29c094b3336436453e9ecccdaab5e SHA512 b4c764b340b3630dfc3a2ece59858d6e2f03d4718e8b57f828a8db51954cc7c6656e0a6af8d1e6eee034cf4a2a2226cd170bfa3a0b687855ed2e1d52a67834e5
-DIST apispec-3.3.0.tar.gz 61687 BLAKE2B f1bcd212494d9196441e44acd4fd0d06063d7f80859ce49cd50dd5a4cbc4ddace974c2388031ddc8ef015b44f10a8f5d97c6d0f4fed96c1336dfc7282fa7c173 SHA512 c94cc48702ced17baa01175be2ff261dd7203cb0f49477f4be633080ef5f8029e5654579609370b4c1cd852d71f0b6fc116a05ee34515b22e7a0877a19d49a27
-DIST apispec-4.2.0.tar.gz 63046 BLAKE2B 4a6729975e28d22a23b0574f8298f3113ed89cdcc7d01e3086af82354d4a61b4a82420ab7ca7b66790481dd8e3232ebe80319266fb2de54c0aa8c6c3a7fa86a1 SHA512 51187a80f8ad260bd0a89d4a882d2517f56237a6cfb0596cf29999e3fc42af0700c88037ba205a4e7f51587abf8b1db5dbae7ee5d98ae55fc9fe2314f69fa656
-DIST apispec-4.3.0.tar.gz 63351 BLAKE2B 3d5836df242cc0562ce9e8ef47dc352cdb415b8e33b86e835140d88b4b87b7aff3db6d975f3fe7d7541be0e19bfcc451dd9a909ab4b830a35191b5b624930132 SHA512 c42b47697948b4d111bed83b71e2d7e6e7b9972bc44cd642a579444019c468acf6a0c9411273d234b8b2b63d2cfcaaccd1f9d125cffb0d44701a6025ada4a0f3
-DIST apispec-4.4.0.tar.gz 64266 BLAKE2B c87ed439f6b7ca57f89ce86f384362dc4ad4a32663b89ea3b5f5b6600015147c5c5a78aed3555b79715f3283165aea37318f2910dbdb675cf58680df45281531 SHA512 677d7d823a3ea4bc65484a1524a2d8fdea0f4690e69d56ae7138bca0461ae1ddd3cf34c20bb0d4f1a6270cf9895c053a4a0c0db8e5fd975da8fcd61b123532dd
DIST apispec-4.4.1.tar.gz 64424 BLAKE2B b46390659334f5ce5aa83fd15207f5d1ad6d0e9c530f9e7d2b1a0f6a787498aad065153cde9237ce1ab408256e5cd698bbc674dc0316eb4ed16b874ce34611c4 SHA512 fea0787598ca93711eaa231675f97623eb3d6eb224e11c40e66857b95f48724618bf7a9bfda476b56c1c96fe70bb61675966b1f3fb073fe3f7e4da91e78d3d90
-EBUILD apispec-3.3.0.ebuild 744 BLAKE2B 0311796a7d4b89bba060af564c738a8de6222d928f2ab8d2969492d68b0ca91effd9704f039458d8683c9d69cb273983613b51ab2faa84b1c0989d7e44323311 SHA512 ff45807bdbda616f267d80ec26863489906a74fb0f61c4e513608378cd8463b96be8e4054dcb1d0155f5bd093cc43b552302d26240575c0b37f9b0908c102960
-EBUILD apispec-4.2.0.ebuild 918 BLAKE2B c03e6a50bd745c964565716f1ea26d7a4175a3fa63ecf2ec5b1cd7e3c422d343d28f89e45e09ff97afae4e929e8dfff7f97947092f74bfd568bc08ffc46300f3 SHA512 77bff5d3ae51a5bd9eac28036772b5e388f6f7141ad99a254cc97777df666c6690b9229c3cc7f3b00fdd197d978492e7ffc81ffc103108539e6c85bebfbf15b8
-EBUILD apispec-4.3.0.ebuild 949 BLAKE2B 540516d3d9bc6d787499ffad6b65426b9e3f9fb1f0609bf3f65ecd6e42fb7b23cfbcc6c41e51c5c5744b5a8bd10d675f2921046d43cd25f300db586307fc89a3 SHA512 bf4a208f4f650641c276ae1bca69921506e4c0fbaf11e7a4327266e7859971f1bc43abb86fc359e5b564088bad60fdc0c427364dbb38b389f79b26fb720dc00b
-EBUILD apispec-4.4.0.ebuild 906 BLAKE2B 2097f9a44c2f44df1369417175d24fa877ad8a3e02e593b28c1d6d85c16233cefa034d552f72276f47e264827a67cd01e19f41055eceb122a418a55f8ec72743 SHA512 6e3d2538de1f3c1874e4725130e2e0bd9145fc0e2bee93ce6900d85669e82db818174833617ea023b3b3adfed51e162747aed48a2680003782f7dd969b80442f
-EBUILD apispec-4.4.1.ebuild 906 BLAKE2B 2097f9a44c2f44df1369417175d24fa877ad8a3e02e593b28c1d6d85c16233cefa034d552f72276f47e264827a67cd01e19f41055eceb122a418a55f8ec72743 SHA512 6e3d2538de1f3c1874e4725130e2e0bd9145fc0e2bee93ce6900d85669e82db818174833617ea023b3b3adfed51e162747aed48a2680003782f7dd969b80442f
+DIST apispec-4.4.2.tar.gz 64660 BLAKE2B 1e53d4b3f8856e76565690773085dfcbaaab4e1771186eb8ea35f469d7c65b8d5bd6319af0ee32539de96ce5ff1889a15d74ac764d7bb9d0b415648af87d28db SHA512 8f8070ec1a084e5c5dda02d30103ff25a2fe096839aa2b1a75858297377e312e29a2d1cf4d373a53b7bffcbe9108489c2a2516e0e053c2de12ef90044b6b7e17
+EBUILD apispec-4.4.1.ebuild 996 BLAKE2B 010b68129d1ecf076356a1f6c7b7c27d3bb14ad634a88d7f77667be5819f787cb66ad06f808ebbefcd0702ecb5c023efbb52db6e87714129e6b42de1f56fc5a4 SHA512 7dee2b1f9a4efa951b1e84a378fa7538f9543d0e4ad84c931e6b458c793df606f554b83e71a014058c2992774f15cb5dd63402a4ee07bb02ce0b5176a7912a55
+EBUILD apispec-4.4.2.ebuild 996 BLAKE2B 010b68129d1ecf076356a1f6c7b7c27d3bb14ad634a88d7f77667be5819f787cb66ad06f808ebbefcd0702ecb5c023efbb52db6e87714129e6b42de1f56fc5a4 SHA512 7dee2b1f9a4efa951b1e84a378fa7538f9543d0e4ad84c931e6b458c793df606f554b83e71a014058c2992774f15cb5dd63402a4ee07bb02ce0b5176a7912a55
MISC metadata.xml 503 BLAKE2B 2004c77c7f9cf9dc1e3cedc5f2acdfaf7df4c7b7cca45c7cf6644955a042d0a2919560acc6ef838c40568e6cb69bbf5340cbeb1211ce725b005bf652873b396e SHA512 edd05204d0174abc0737f18704d805a701dc4ccc6dd50f7b8da2a8ffb2aff2f4fc993a348e2c549c01d33ae255ec6ad089ff57ba5c3efd608aa6eb2391b2c2a8
diff --git a/dev-python/apispec/apispec-3.3.0.ebuild b/dev-python/apispec/apispec-3.3.0.ebuild
deleted file mode 100644
index 9cee34921ac9..000000000000
--- a/dev-python/apispec/apispec-3.3.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit distutils-r1
-
-DESCRIPTION="A pluggable API specification generator."
-HOMEPAGE="https://github.com/marshmallow-code/apispec/"
-SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
-"
-BDEPEND="${RDEPEND}
- test? (
- dev-python/bottle[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/marshmallow[${PYTHON_USEDEP}]
- )"
-
-PATCHES=(
- "${FILESDIR}/apispec-3.3.0-tests.patch"
-)
-
-distutils_enable_tests pytest
diff --git a/dev-python/apispec/apispec-4.2.0.ebuild b/dev-python/apispec/apispec-4.2.0.ebuild
deleted file mode 100644
index fb3382c1bafd..000000000000
--- a/dev-python/apispec/apispec-4.2.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="A pluggable API specification generator."
-HOMEPAGE="https://github.com/marshmallow-code/apispec/"
-SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
-"
-BDEPEND="${RDEPEND}
- test? (
- dev-python/bottle[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/marshmallow[${PYTHON_USEDEP}]
- )"
-
-distutils_enable_tests pytest
-
-python_test() {
- local deselect=(
- tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
- tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
- )
-
- pytest -vv ${deselect[@]/#/--deselect } ||
- die "Tests failed with ${EPYTHON}"
-}
diff --git a/dev-python/apispec/apispec-4.3.0.ebuild b/dev-python/apispec/apispec-4.3.0.ebuild
deleted file mode 100644
index ea727b22fc6b..000000000000
--- a/dev-python/apispec/apispec-4.3.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="A pluggable API specification generator."
-HOMEPAGE="https://github.com/marshmallow-code/apispec/"
-SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
-"
-BDEPEND="${RDEPEND}
- test? (
- dev-python/bottle[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/marshmallow[${PYTHON_USEDEP}]
- )"
-
-distutils_enable_tests pytest
-
-python_test() {
- local 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
- )
-
- pytest -vv ${deselect[@]/#/--deselect } ||
- die "Tests failed with ${EPYTHON}"
-}
diff --git a/dev-python/apispec/apispec-4.4.1.ebuild b/dev-python/apispec/apispec-4.4.1.ebuild
index 9e530e3935f3..411599826ebf 100644
--- a/dev-python/apispec/apispec-4.4.1.ebuild
+++ b/dev-python/apispec/apispec-4.4.1.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+
+PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
@@ -25,6 +26,9 @@ BDEPEND="${RDEPEND}
)"
distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/sphinx-issues \
+ dev-python/sphinx_rtd_theme
python_test() {
local deselect=(
diff --git a/dev-python/apispec/apispec-4.4.0.ebuild b/dev-python/apispec/apispec-4.4.2.ebuild
index 9e530e3935f3..411599826ebf 100644
--- a/dev-python/apispec/apispec-4.4.0.ebuild
+++ b/dev-python/apispec/apispec-4.4.2.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+
+PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
@@ -25,6 +26,9 @@ BDEPEND="${RDEPEND}
)"
distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/sphinx-issues \
+ dev-python/sphinx_rtd_theme
python_test() {
local deselect=(
diff --git a/dev-python/apispec/files/apispec-3.3.0-tests.patch b/dev-python/apispec/files/apispec-3.3.0-tests.patch
deleted file mode 100644
index fb2ffc549207..000000000000
--- a/dev-python/apispec/files/apispec-3.3.0-tests.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/tests/test_ext_marshmallow_openapi.py b/tests/test_ext_marshmallow_openapi.py
-index ab1b0b8..d151a32 100644
---- a/tests/test_ext_marshmallow_openapi.py
-+++ b/tests/test_ext_marshmallow_openapi.py
-@@ -454,6 +454,7 @@ class TestNesting:
- assert "breed" not in category_props
-
-
-+@pytest.mark.skip("test requires extra dependencies")
- def test_openapi_tools_validate_v2():
- ma_plugin = MarshmallowPlugin()
- spec = APISpec(
-@@ -512,6 +513,7 @@ def test_openapi_tools_validate_v2():
- pytest.fail(str(error))
-
-
-+@pytest.mark.skip("test requires extra dependencies")
- def test_openapi_tools_validate_v3():
- ma_plugin = MarshmallowPlugin()
- spec = APISpec(