diff options
Diffstat (limited to 'dev-python/swagger-spec-validator/swagger-spec-validator-3.0.1.ebuild')
-rw-r--r-- | dev-python/swagger-spec-validator/swagger-spec-validator-3.0.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/swagger-spec-validator/swagger-spec-validator-3.0.1.ebuild b/dev-python/swagger-spec-validator/swagger-spec-validator-3.0.1.ebuild new file mode 100644 index 000000000000..c48e6d2bc39e --- /dev/null +++ b/dev-python/swagger-spec-validator/swagger-spec-validator-3.0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +# TODO: pkgmove me +MY_P=${PN//-/_}-${PV} +DESCRIPTION="Validate Swagger specs against Swagger 1.1 or 2.0 specification" +HOMEPAGE=" + https://github.com/Yelp/swagger_spec_validator/ + https://pypi.org/project/swagger-spec-validator/ +" +SRC_URI=" + https://github.com/Yelp/swagger_spec_validator/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + dev-python/sphinx_rtd_theme |