diff options
Diffstat (limited to 'dev-python/drf-spectacular')
-rw-r--r-- | dev-python/drf-spectacular/Manifest | 1 | ||||
-rw-r--r-- | dev-python/drf-spectacular/drf-spectacular-0.27.2.ebuild | 49 | ||||
-rw-r--r-- | dev-python/drf-spectacular/metadata.xml | 53 |
3 files changed, 0 insertions, 103 deletions
diff --git a/dev-python/drf-spectacular/Manifest b/dev-python/drf-spectacular/Manifest deleted file mode 100644 index ed62b70..0000000 --- a/dev-python/drf-spectacular/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST drf-spectacular-0.27.2.tar.gz 235131 BLAKE2B a8d722103f1c3cd8239cba2ab99db800517c8b8d18873a4cd453e51a83226f862834a19cf9ba37385a80d064c6bfea02be7c59e18f5b39fa65801901b87e277e SHA512 c35230498044536a6169f98da7f3073a2a2b7c3101fe2d5d27a3373a3a7ab4335e16ddf5dd587ce322c116ce6025ed8344e611f9cb64dee5c8f5d698dfe35ea5 diff --git a/dev-python/drf-spectacular/drf-spectacular-0.27.2.ebuild b/dev-python/drf-spectacular/drf-spectacular-0.27.2.ebuild deleted file mode 100644 index 7e838a1..0000000 --- a/dev-python/drf-spectacular/drf-spectacular-0.27.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 - -inherit distutils-r1 pypi - -DESCRIPTION="Sane and flexible OpenAPI 3 schema generation for Django REST framework" -HOMEPAGE=" - https://github.com/tfranzel/drf-spectacular - https://pypi.org/project/drf-spectacular/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -# Can't get django tests run -RESTRICT="test" - -RDEPEND=" - >=dev-python/django-2.2[${PYTHON_USEDEP}] - dev-python/django-allauth[${PYTHON_USEDEP}] - >=dev-python/django-filter-2.3.0[${PYTHON_USEDEP}] - >=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}] - >=dev-python/djangorestframework-simplejwt-4.4.0[${PYTHON_USEDEP}] - >=dev-python/dj-rest-auth-1.0.0[${PYTHON_USEDEP}] - >=dev-python/inflection-0.3.1[${PYTHON_USEDEP}] - >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] - >=dev-python/psycopg-2.7.3.2[${PYTHON_USEDEP}] - >=dev-python/pydantic-2[${PYTHON_USEDEP}] - <dev-python/pydantic-3[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/twine-3.1.1[${PYTHON_USEDEP}] - >=dev-python/uritemplate-2.0.0[${PYTHON_USEDEP}] - - doc? ( - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] - ) - test? ( >=dev-python/pytest-django-3.8.0[${PYTHON_USEDEP}] ) -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest -distutils_enable_sphinx docs diff --git a/dev-python/drf-spectacular/metadata.xml b/dev-python/drf-spectacular/metadata.xml deleted file mode 100644 index 685b4bc..0000000 --- a/dev-python/drf-spectacular/metadata.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <name>Julien Roy</name> - <email>julien@jroy.ca</email> - </maintainer> - <longdescription> -This project has 3 goals: - - Extract as much schema information from DRF as possible. - Provide flexibility to make the schema usable in the real world (not only toy examples). - Generate a schema that works well with the most popular client generators. - -The code is a heavily modified fork of the DRF OpenAPI generator, which is/was lacking all of the below listed features. - -Features - - Serializers modelled as components. (arbitrary nesting and recursion supported) - - @extend_schema decorator for customization of APIView, Viewsets, function-based views, and @action - additional parameters - request/response serializer override (with status codes) - polymorphic responses either manually with PolymorphicProxySerializer helper or via rest_polymorphic's PolymorphicSerializer) - ... and more customization options - - Authentication support (DRF natives included, easily extendable) - Custom serializer class support (easily extendable) - SerializerMethodField() type via type hinting or @extend_schema_field - i18n support - Tags extraction - Request/response/parameter examples - Description extraction from docstrings - Vendor specification extensions (x-*) in info, operations, parameters, components, and security schemes - Sane fallbacks - Sane operation_id naming (based on path) - Schema serving with SpectacularAPIView (Redoc and Swagger-UI views are also available) - Optional input/output serializer component split - Callback operations - OpenAPI 3.1 support (via setting OAS_VERSION) - </longdescription> - <upstream> - <maintainer> - <name>T. Franzel</name> - <email>tfranzel@gmail.com</email> - </maintainer> - <bugs-to>https://github.com/tfranzel/drf-spectacular/issues</bugs-to> - <changelog>https://github.com/tfranzel/drf-spectacular/releases</changelog> - <doc>https://drf-spectacular.readthedocs.io/</doc> - <remote-id type="github">tfranzel/drf-spectacular</remote-id> - <remote-id type="pypi">drf-spectacular</remote-id> - </upstream> -</pkgmetadata> |