diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 18:28:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 18:28:08 +0000 |
commit | 1f254b1ee917690b4f8f7738fdcfc295ee304ff7 (patch) | |
tree | 136ad1b72b899873af1ab7e8fcc6ec343484f41f /dev-python/openapi-spec-validator | |
parent | bcf596975a1c2450e077c80c84017c54198f216c (diff) |
gentoo auto-resync : 17:03:2023 - 18:28:08
Diffstat (limited to 'dev-python/openapi-spec-validator')
-rw-r--r-- | dev-python/openapi-spec-validator/Manifest | 2 | ||||
-rw-r--r-- | dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest index fef7a9e02894..978befb41b5c 100644 --- a/dev-python/openapi-spec-validator/Manifest +++ b/dev-python/openapi-spec-validator/Manifest @@ -1,3 +1,5 @@ DIST openapi-spec-validator-0.5.5.gh.tar.gz 57200 BLAKE2B 037566130546d2cc894dd12e0fc0d80fe9631f94085ec286a61ea810c58b48cd7837cc044388773798a7684fa4d73bb89eed643a164280433c1cd8d6a9cd42cc SHA512 4b5415216e74937a0c6f527850921f362a3183119a641d4d369cbf3e6aa19209ec7d8ff05697eed7dcd1ee6d0e8fbcc9cb8aaa0e3eb46e4da34bc7a0a4b78c00 +DIST openapi_spec_validator-0.5.6.tar.gz 33031 BLAKE2B a884ceb915f232232406bd880a7eef9e588e1a42ac9a78c2e23f91cbd71e9af471c764550a9dd214ef68ec24ede7ab0ba4624429e4fd8133011489d0039aeae7 SHA512 ea1e810ecf49ff3d237e3368cd2cbcc6b733e9657f101759860ef16d3e2f14c97ccfe52fae2897d12a50c803d709d61d7ef8b40b288e5f73265da9ac5c88280b EBUILD openapi-spec-validator-0.5.5.ebuild 1837 BLAKE2B 5655358dd185ec09be2892819bd0c30aef75060106f8626c23bd1892dacbda94cdc1fdfb93a5c0402f4af18b289920e21347afe4bf2005aec05f528f2736704e SHA512 54056463e40b755ef644c5b264de5e3264a842d77ac936b37d2f8ab865e841ec6cffe978a8d1a11d5eced48f398718a393a797829bdfb0addae9aa380f243975 +EBUILD openapi-spec-validator-0.5.6.ebuild 1780 BLAKE2B 86f5791a361edb1d791df0acd2d2821004ef297892911d9222b6e4b8b557fb3cde9604b09e91f6432d431942c6cfabcb1056809a55b4de76575397ccd22bc87d SHA512 8274c2a5a3919f71b1a8006577558cff42af635b2164d837ee610ca2c35ef6431ec62e84a49fb4cba3920abcace2f86deede9073c704e6aaef20df676dff757e MISC metadata.xml 405 BLAKE2B 82dfdb0a9a068a90ad245a33da95883f863571b12e3d354cee5b7e10b9c098f3635b25fc1871db3b384c5218c2305c90e9f185c97619ba142735b03de90bde01 SHA512 a3f926750e11ce7b8960fa7adef139a329b7dac777c78acfc2cf24225862d8f04a2bb8edba36f99aabd1ea44f93220afefafe060dce6418fa03f360c129a344c diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild new file mode 100644 index 000000000000..851d3026ea8a --- /dev/null +++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator" +HOMEPAGE=" + https://github.com/python-openapi/openapi-spec-validator/ + https://pypi.org/project/openapi-spec-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + <dev-python/jsonschema-4.18[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] + >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}] + <dev-python/openapi-schema-validator-0.5[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.3.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/integration/test_shortcuts.py::TestPetstoreV2Example + tests/integration/test_shortcuts.py::TestApiV2WithExampe + tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample + tests/integration/test_shortcuts.py::TestPetstoreExample + tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl + tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl + tests/integration/test_shortcuts.py::TestApiWithExample + tests/integration/test_shortcuts.py::TestPetstoreExpandedExample + tests/integration/test_validate.py::TestPetstoreExample + tests/integration/test_validate.py::TestApiWithExample + tests/integration/test_validate.py::TestPetstoreExpandedExample + tests/integration/validation/test_validators.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} |