From 6a2c26698c4a8b04187ee6e087416e1672b14573 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Mon, 30 Jan 2023 23:47:47 +0100 Subject: [PATCH] dev-python/drf-yasg: new package, add 1.20.0 --- dev-python/drf-yasg/Manifest | 1 + dev-python/drf-yasg/drf-yasg-1.20.0.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-python/drf-yasg/Manifest create mode 100644 dev-python/drf-yasg/drf-yasg-1.20.0.ebuild diff --git a/dev-python/drf-yasg/Manifest b/dev-python/drf-yasg/Manifest new file mode 100644 index 0000000..90e228c --- /dev/null +++ b/dev-python/drf-yasg/Manifest @@ -0,0 +1 @@ +DIST drf-yasg-1.20.0.tar.gz 1793905 BLAKE2B 822a310839af69fc7b976dbdbc2b1fe6a8cff849286f5ba2d24ed55562e3fdeb6478984e1a2d008d1aff615816ac824fa21ac27e7d53b7d4de60cb412015b93b SHA512 351803de4badf41ec95ab1a19218a08a755477b19e5ff10f1c5bb5c8e36f7cea27944f53c46e20fcf9ecf1274403247c910b3cfd531a276b45f482e87914499a diff --git a/dev-python/drf-yasg/drf-yasg-1.20.0.ebuild b/dev-python/drf-yasg/drf-yasg-1.20.0.ebuild new file mode 100644 index 0000000..8d2ca30 --- /dev/null +++ b/dev-python/drf-yasg/drf-yasg-1.20.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{3..11} ) +inherit distutils-r1 + +DESCRIPTION="Automated generation of real Swagger schemas from Django code" +HOMEPAGE=" + https://pypi.org/project/drf-yasg/ + https://github.com/axnsan12/drf-yasg/ +" +SRC_URI="https://github.com/axnsan12/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=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}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}] + >=dev-python/django-2.2.16[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ) +" + +distutils_enable_tests pytest