summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-11-02 11:41:57 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2021-11-02 12:25:58 +0200
commite781ecee01e1de39a6b5c0fd73e8201e85288057 (patch)
treec8ac3e37b6d29967d9da12bdb8d7229bee27ba2a /dev-python/swagger-spec-validator
parentdev-perl/WebService-MusicBrainz: Stabilize 1.0.5 ppc64, #821289 (diff)
downloadgentoo-e781ecee01e1de39a6b5c0fd73e8201e85288057.tar.gz
gentoo-e781ecee01e1de39a6b5c0fd73e8201e85288057.tar.bz2
gentoo-e781ecee01e1de39a6b5c0fd73e8201e85288057.zip
dev-python/swagger-spec-validator: add 2.7.4, enable tests
Signed-off-by: Arthur Zamarin <arthurzam@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.4.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/swagger-spec-validator/Manifest b/dev-python/swagger-spec-validator/Manifest
index 85e2a5ecce40..7064fe48b193 100644
--- a/dev-python/swagger-spec-validator/Manifest
+++ b/dev-python/swagger-spec-validator/Manifest
@@ -1 +1,2 @@
DIST swagger-spec-validator-2.7.3.tar.gz 21364 BLAKE2B 05e4d3281c112895eff88050f1902161ecd661c77179f9421cd1335a04e759a67480a53858977a5b8ad4b2ad749c8940e01a646960954ee1006b3e75481c5103 SHA512 182e67f6b2a83c61a2ad452614557cfdebf72e30178f3882ba27a55bcbc475c34a02db46ed037065e986ae24970ab398ba7992fbe1e07f7b45cfb5ddb0379759
+DIST swagger-spec-validator-2.7.4.gh.tar.gz 47446 BLAKE2B d284bede24477cfc942d094937cec12224535902383779c223899ab7b359ea45427777ebc8d5f264a76696eae6746b619d35824090ae2f87c6acda4ef040b293 SHA512 d65c060f4730413280a188b01cf62d0f2d77fa04461bb60f2711d1806be2e7b8de16c23d952440a838f57acd50294a16114d34eeee988902fb90c099404c7942
diff --git a/dev-python/swagger-spec-validator/swagger-spec-validator-2.7.4.ebuild b/dev-python/swagger-spec-validator/swagger-spec-validator-2.7.4.ebuild
new file mode 100644
index 000000000000..ac967e0a6595
--- /dev/null
+++ b/dev-python/swagger-spec-validator/swagger-spec-validator-2.7.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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="
+ https://github.com/Yelp/swagger_spec_validator/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${PN//-/_}-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest