diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-01 17:03:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-01 17:03:56 +0000 |
commit | b704a12f55494cd0f6fef2a547cab684dcecd4de (patch) | |
tree | 2d8b91e3179588a8b35b9539533db10690b7fcb6 /dev-python/openapi3 | |
parent | 511da2e8215301136bf13531af2329e9703addaf (diff) |
gentoo auto-resync : 01:12:2023 - 17:03:56
Diffstat (limited to 'dev-python/openapi3')
-rw-r--r-- | dev-python/openapi3/Manifest | 3 | ||||
-rw-r--r-- | dev-python/openapi3/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/openapi3/openapi3-1.8.2.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/openapi3/Manifest b/dev-python/openapi3/Manifest new file mode 100644 index 000000000000..15b0f277dd34 --- /dev/null +++ b/dev-python/openapi3/Manifest @@ -0,0 +1,3 @@ +DIST openapi3-1.8.2.gh.tar.gz 41402 BLAKE2B a22af8ce1d1c94f3dd2b5f1871222c8c2ec902e9f8b5b065a9a3dd8143ed361df4b26438215e88ac416b6012b015a38c9709b9ed290aaf5cfdaff5b2d1d439f7 SHA512 5555ef0495f7d459fabef98c56da4b1b9d758aa06c4dc83adf1388c044dd0f6b09b933e105ef8665737359fbf98b9699ca2d7127ead2aa86e3f99682b29dbf1e +EBUILD openapi3-1.8.2.ebuild 707 BLAKE2B 570103899104f15a36b45fc313a97ebd17ac598a3c1da7477f48ae759a6b5dfd1ea406d235269e715661b76f50f6cf7f5ef1c76d93f6ec2606c64f8811f02703 SHA512 77891da3251986e80db97eba7f6939dd61b080d9406837cc982cdfbb0b97fb5bf3b8fe426b260c744b2b6ff91c55a183151ffab1358013ac60d9a30cc94b30b2 +MISC metadata.xml 344 BLAKE2B 14267f2fd846f243d2e3be1e21758a88efb8d57e654bca17a06a8b5fa7d8b80826049434ca94761ed504a7006f6dd0348d29c843f323d7ca4b0a1da26997c6b7 SHA512 3d3744a378a32f5037a322f3dacddf33ac638f17738b8588ccf5252a83ab7f60efac35890aaf1b57c888e7a725baa32bffaa81bb551f061fd7dcfd714b8df080 diff --git a/dev-python/openapi3/metadata.xml b/dev-python/openapi3/metadata.xml new file mode 100644 index 000000000000..b0af68e225aa --- /dev/null +++ b/dev-python/openapi3/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>ceamac@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="pypi">openapi3</remote-id> + <remote-id type="github">Dorthu/openapi3</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/openapi3/openapi3-1.8.2.ebuild b/dev-python/openapi3/openapi3-1.8.2.ebuild new file mode 100644 index 000000000000..77cb4b50a85a --- /dev/null +++ b/dev-python/openapi3/openapi3-1.8.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python OpenAPI 3 Specification client and validator" +HOMEPAGE=" + https://pypi.org/project/openapi3/ + https://github.com/Dorthu/openapi3 +" +SRC_URI="https://github.com/Dorthu/openapi3/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + # the fastapi test is broken for fastapi 0.94+ + rm -f tests/fastapi_test.py || die + epytest +} |