dev-python/swagger-spec-validator: 2.5.0 bump
authorWilliam Hubbs <william.hubbs@sony.com>
Wed, 11 Mar 2020 22:37:28 +0000 (17:37 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Wed, 11 Mar 2020 22:37:57 +0000 (17:37 -0500)
Signed-off-by: William Hubbs <williamh@gentoo.org>
dev-python/swagger-spec-validator/Manifest
dev-python/swagger-spec-validator/swagger-spec-validator-2.5.0.ebuild [new file with mode: 0644]

index 8b0e0c4b753ece1dfefe9afff86bb8d0680d55ad..552bcac4520cd0b35506a12a9a97b466c25d2b17 100644 (file)
@@ -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 (file)
index 0000000..21ee6c9
--- /dev/null
@@ -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}"
+}