summaryrefslogtreecommitdiff
path: root/dev-python/drf-yasg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-24 17:22:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-24 17:22:19 +0000
commitaa3411e241a201d53a2689766fe419f2756819f3 (patch)
treecc19adfde0a10aab1ab566c8dfe3c1616e5cc390 /dev-python/drf-yasg
parentb7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (diff)
gentoo resync : 24.03.2019
Diffstat (limited to 'dev-python/drf-yasg')
-rw-r--r--dev-python/drf-yasg/Manifest3
-rw-r--r--dev-python/drf-yasg/drf-yasg-1.14.0.ebuild28
-rw-r--r--dev-python/drf-yasg/metadata.xml13
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/drf-yasg/Manifest b/dev-python/drf-yasg/Manifest
new file mode 100644
index 000000000000..e8f2902500b9
--- /dev/null
+++ b/dev-python/drf-yasg/Manifest
@@ -0,0 +1,3 @@
+DIST drf-yasg-1.14.0.tar.gz 1270930 BLAKE2B 11c075fecf1e0742765ebcab27ffda719867e4d49f5e6f337d2d048dea26e3fd1585f42a2bc58808395ff3ef2e1c5aae912d5ab547f91be5b3f0bc3a0ebae98e SHA512 283307cecfc0c8fe97a8742780184bd73b547f9cd4e28bafd35cb1447519f65a432f112627fc7f5e9560185014d0477a9bf507c1cb9afcbdc3f58a21a7dd351f
+EBUILD drf-yasg-1.14.0.ebuild 957 BLAKE2B 06d20c391a3fe65a2dd5d2bf4c3cd307f87c55cad20be6a6a8385a0c18f59d9731e56b166c018f075c2fe9c2d766a7a4d8ddb01beda5e33b8a9b2283f360beb2 SHA512 b2bfea296c5a9ccfd78967c64e85f5df7600e25756b3f3a9ab0dbba61ed1d088f86dcc587e8dacac87cbe6ffc0fe163cf6a1ee4202b163db485ac2f4a4ae5888
+MISC metadata.xml 363 BLAKE2B 7adee65506aa3e63d7eedb2ced7a91f3ebb34fd2654da96656b31242cb4017da34e9986246be218841eb0046beb590fe3381dbd49bbdd79eb4e965b27223f109 SHA512 1cb8c63d5549c77ec884f5d668e8270ab7f73097ab25d1fc19fea3150b3ed56d7fbfb899d5418c3343cbeed6bed219edb892d3a4b630e900ef00db19103b3f3c
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>