diff options
author | William Hubbs <william.hubbs@sony.com> | 2020-03-11 17:37:28 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-03-11 17:37:57 -0500 |
commit | 5f5df230b98add68326ed33c0e3d2e06b94e5b2e (patch) | |
tree | a1ea1a6e29786480063fbe97f89bdcc130dfb28d /dev-python/swagger-spec-validator | |
parent | dev-python/drf-yasg: 1.17.1 bump (diff) | |
download | gentoo-5f5df230b98add68326ed33c0e3d2e06b94e5b2e.tar.gz gentoo-5f5df230b98add68326ed33c0e3d2e06b94e5b2e.tar.bz2 gentoo-5f5df230b98add68326ed33c0e3d2e06b94e5b2e.zip |
dev-python/swagger-spec-validator: 2.5.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-python/swagger-spec-validator')
-rw-r--r-- | dev-python/swagger-spec-validator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/swagger-spec-validator/swagger-spec-validator-2.5.0.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/swagger-spec-validator/Manifest b/dev-python/swagger-spec-validator/Manifest index 8b0e0c4b753e..552bcac4520c 100644 --- a/dev-python/swagger-spec-validator/Manifest +++ b/dev-python/swagger-spec-validator/Manifest @@ -1 +1,2 @@ DIST swagger-spec-validator-2.4.3.tar.gz 19636 BLAKE2B 3805aa8663d141898e5106ad98d9aa0c697e87a474c0446151b0a6210684c8a0afbfa7a54b44e9aa7c4257c5e9f8713139943774bcacb38105b21c4cfe46492f SHA512 d785f1d9f2664fcf4f62e2e2c2adf9e17d7844e6febda69bcb718efa5f951ddc0496c7e2804e4269750a15f5b5c7f6cc11fac0f99363f7eadab8cf1209d152db +DIST swagger-spec-validator-2.5.0.tar.gz 20803 BLAKE2B c7e0dac221aff9bef1e91560a8e6311827c7bb821aa0fa76c92c230f18e7b9e53ba1e971b5c309a017c32a4b3e57d06a32ef137e37b15cc7ca5b38cc633ec754 SHA512 31d5df7e29418ede25eb6efa78b26d67bbfd8fe0a5b25dafcc11a4afad89d496138930f06987570a3f57d6712dd8b893050f0ae38b9b3bb142cd65c192bd8930 diff --git a/dev-python/swagger-spec-validator/swagger-spec-validator-2.5.0.ebuild b/dev-python/swagger-spec-validator/swagger-spec-validator-2.5.0.ebuild new file mode 100644 index 000000000000..21ee6c92751e --- /dev/null +++ b/dev-python/swagger-spec-validator/swagger-spec-validator-2.5.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit distutils-r1 + +DESCRIPTION="validate Swagger specs against Swagger 1.1 or 2.0 specification" +HOMEPAGE="https://github.com/Yelp/swagger_spec_validator" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +# PyPI tarball lacks unit tests +RESTRICT="test" + +RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + py.test -v || die "tests failed under ${EPYTHON}" +} |