summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2019-03-19 18:15:36 -0500
committerWilliam Hubbs <williamh@gentoo.org>2019-03-19 18:23:05 -0500
commit73b41dbfe2a17ac948f474930623c31cc7185600 (patch)
treed476a2f24be2577da1a8059c6dcad93e065803a6
parentnet-dns/pdns: Cleanup (diff)
downloadgentoo-73b41dbfe2a17ac948f474930623c31cc7185600.tar.gz
gentoo-73b41dbfe2a17ac948f474930623c31cc7185600.tar.bz2
gentoo-73b41dbfe2a17ac948f474930623c31cc7185600.zip
dev-python/swagger-spec-validator: Library to validate Swagger specifications
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--dev-python/swagger-spec-validator/Manifest1
-rw-r--r--dev-python/swagger-spec-validator/metadata.xml8
-rw-r--r--dev-python/swagger-spec-validator/swagger-spec-validator-2.4.3.ebuild24
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/swagger-spec-validator/Manifest b/dev-python/swagger-spec-validator/Manifest
new file mode 100644
index 00000000000..8b0e0c4b753
--- /dev/null
+++ b/dev-python/swagger-spec-validator/Manifest
@@ -0,0 +1 @@
+DIST swagger-spec-validator-2.4.3.tar.gz 19636 BLAKE2B 3805aa8663d141898e5106ad98d9aa0c697e87a474c0446151b0a6210684c8a0afbfa7a54b44e9aa7c4257c5e9f8713139943774bcacb38105b21c4cfe46492f SHA512 d785f1d9f2664fcf4f62e2e2c2adf9e17d7844e6febda69bcb718efa5f951ddc0496c7e2804e4269750a15f5b5c7f6cc11fac0f99363f7eadab8cf1209d152db
diff --git a/dev-python/swagger-spec-validator/metadata.xml b/dev-python/swagger-spec-validator/metadata.xml
new file mode 100644
index 00000000000..c36c37139fa
--- /dev/null
+++ b/dev-python/swagger-spec-validator/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/swagger-spec-validator/swagger-spec-validator-2.4.3.ebuild b/dev-python/swagger-spec-validator/swagger-spec-validator-2.4.3.ebuild
new file mode 100644
index 00000000000..5f7d1a96009
--- /dev/null
+++ b/dev-python/swagger-spec-validator/swagger-spec-validator-2.4.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_6 )
+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"
+
+RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/swagger_spec_validator"
+