diff options
author | William Hubbs <william.hubbs@sony.com> | 2019-03-20 13:18:52 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-03-20 13:20:36 -0500 |
commit | 7a1b759c7dbe8aa7af33fab844b1cf55e8cef1cc (patch) | |
tree | 12b065b296c648ec10885cfbfe6432d06686fe3c /dev-python | |
parent | www-client/qutebrowser: bump 1.6.1 (diff) | |
download | gentoo-7a1b759c7dbe8aa7af33fab844b1cf55e8cef1cc.tar.gz gentoo-7a1b759c7dbe8aa7af33fab844b1cf55e8cef1cc.tar.bz2 gentoo-7a1b759c7dbe8aa7af33fab844b1cf55e8cef1cc.zip |
dev-python/drf-yasg:generate Swagger / OpenAPI 2.0 schemas
Automated generation of Swagger/OpenAPI 2.0 schemas from Django Rest
framework code.
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/drf-yasg/Manifest | 1 | ||||
-rw-r--r-- | dev-python/drf-yasg/drf-yasg-1.14.0.ebuild | 28 | ||||
-rw-r--r-- | dev-python/drf-yasg/metadata.xml | 13 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/drf-yasg/Manifest b/dev-python/drf-yasg/Manifest new file mode 100644 index 000000000000..88605dd49621 --- /dev/null +++ b/dev-python/drf-yasg/Manifest @@ -0,0 +1 @@ +DIST drf-yasg-1.14.0.tar.gz 1270930 BLAKE2B 11c075fecf1e0742765ebcab27ffda719867e4d49f5e6f337d2d048dea26e3fd1585f42a2bc58808395ff3ef2e1c5aae912d5ab547f91be5b3f0bc3a0ebae98e SHA512 283307cecfc0c8fe97a8742780184bd73b547f9cd4e28bafd35cb1447519f65a432f112627fc7f5e9560185014d0477a9bf507c1cb9afcbdc3f58a21a7dd351f diff --git a/dev-python/drf-yasg/drf-yasg-1.14.0.ebuild b/dev-python/drf-yasg/drf-yasg-1.14.0.ebuild new file mode 100644 index 000000000000..8a923a2a9c52 --- /dev/null +++ b/dev-python/drf-yasg/drf-yasg-1.14.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) +inherit distutils-r1 + +DESCRIPTION="Automated generation of Swagger/OpenAPI 2.0 schemas from Django Rest framework" +HOMEPAGE="https://github.com/axnsan12/drf-yasg" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+validation" + +RDEPEND=">=dev-python/django-1.11.7[${PYTHON_USEDEP}] + >=dev-python/djangorestframework-3.7.7[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/coreapi-2.3.3[${PYTHON_USEDEP}] + >=dev-python/coreschema-0.0.4[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.15.34[${PYTHON_USEDEP}] + >=dev-python/inflection-0.3.1[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + validation? ( >=dev-python/swagger-spec-validator-2.1.0[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} +dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/drf-yasg/metadata.xml b/dev-python/drf-yasg/metadata.xml new file mode 100644 index 000000000000..d162bd623caf --- /dev/null +++ b/dev-python/drf-yasg/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <use> + <flag name="validation"> + Enable swagger spec validation using swagger-spec-validator + </flag> + </use> +</pkgmetadata> |