summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-01-30 16:46:48 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-01-30 16:46:48 +0100
commitb4d6a3a802c9a783fac04f4c6f0a6c4e7ac8c20b (patch)
tree597be398d7e8612e2ec47c5d5c8f59901f1097cf /dev-python/swagger-spec-validator
parentdev-python/djangorestframework: drop old version (diff)
downloadgentoo-b4d6a3a802c9a783fac04f4c6f0a6c4e7ac8c20b.tar.gz
gentoo-b4d6a3a802c9a783fac04f4c6f0a6c4e7ac8c20b.tar.bz2
gentoo-b4d6a3a802c9a783fac04f4c6f0a6c4e7ac8c20b.zip
dev-python/swagger-spec-validator: bump to version 2.7.3
Also added support for newer python versions. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/swagger-spec-validator')
-rw-r--r--dev-python/swagger-spec-validator/Manifest1
-rw-r--r--dev-python/swagger-spec-validator/swagger-spec-validator-2.7.3.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/swagger-spec-validator/Manifest b/dev-python/swagger-spec-validator/Manifest
index 16c1766b3f3b..b61499ccacb9 100644
--- a/dev-python/swagger-spec-validator/Manifest
+++ b/dev-python/swagger-spec-validator/Manifest
@@ -1 +1,2 @@
DIST swagger-spec-validator-2.5.0.tar.gz 20803 BLAKE2B c7e0dac221aff9bef1e91560a8e6311827c7bb821aa0fa76c92c230f18e7b9e53ba1e971b5c309a017c32a4b3e57d06a32ef137e37b15cc7ca5b38cc633ec754 SHA512 31d5df7e29418ede25eb6efa78b26d67bbfd8fe0a5b25dafcc11a4afad89d496138930f06987570a3f57d6712dd8b893050f0ae38b9b3bb142cd65c192bd8930
+DIST swagger-spec-validator-2.7.3.tar.gz 21364 BLAKE2B 05e4d3281c112895eff88050f1902161ecd661c77179f9421cd1335a04e759a67480a53858977a5b8ad4b2ad749c8940e01a646960954ee1006b3e75481c5103 SHA512 182e67f6b2a83c61a2ad452614557cfdebf72e30178f3882ba27a55bcbc475c34a02db46ed037065e986ae24970ab398ba7992fbe1e07f7b45cfb5ddb0379759
diff --git a/dev-python/swagger-spec-validator/swagger-spec-validator-2.7.3.ebuild b/dev-python/swagger-spec-validator/swagger-spec-validator-2.7.3.ebuild
new file mode 100644
index 000000000000..6fdf36710cd3
--- /dev/null
+++ b/dev-python/swagger-spec-validator/swagger-spec-validator-2.7.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+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}"
+
+distutils_enable_tests pytest