mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/openapi-pydantic: new package, add 0.5.1
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
32
dev-python/openapi-pydantic/openapi-pydantic-0.5.1.ebuild
Normal file
32
dev-python/openapi-pydantic/openapi-pydantic-0.5.1.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Modern, type-safe OpenAPI schemas in Python using Pydantic 1.8+ and 2.x"
|
||||
HOMEPAGE="
|
||||
https://github.com/mike-oakley/openapi-pydantic
|
||||
https://pypi.org/project/openapi-pydantic/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/mike-oakley/openapi-pydantic/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pydantic-1.8[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/openapi-spec-validator-0.7.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user