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/swagger-spec-validator-2.7.3.ebuild
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/swagger-spec-validator-2.7.3.ebuild')
-rw-r--r--dev-python/swagger-spec-validator/swagger-spec-validator-2.7.3.ebuild26
1 files changed, 26 insertions, 0 deletions
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 00000000000..6fdf36710cd
--- /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