diff options
Diffstat (limited to 'dev-python/drf-spectacular')
| -rw-r--r-- | dev-python/drf-spectacular/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild | 72 | ||||
| -rw-r--r-- | dev-python/drf-spectacular/metadata.xml | 12 |
3 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/drf-spectacular/Manifest b/dev-python/drf-spectacular/Manifest new file mode 100644 index 000000000000..821cb4905c87 --- /dev/null +++ b/dev-python/drf-spectacular/Manifest @@ -0,0 +1,3 @@ +DIST drf-spectacular-0.28.0.gh.tar.gz 232721 BLAKE2B 9a89df3fc1d9f43d5779b43f70aeb1e66801ed9adc2600049b9853540a5b36bf05e63b3ad97f434e3f2dbc9e427bd23e9980a627d7e1cc869366175875ec1c30 SHA512 925a57d9774ba12df87b218eeb74cbdd8f2ebec0463afe8c194261a534f4b767a6f8a1cc8cca52d6372f74d6216f93fb9a40f2a0ccaa5c13e187ecc018547994 +EBUILD drf-spectacular-0.28.0.ebuild 2135 BLAKE2B 6e8c567d044505bcdadaaaa0c4f7da9d5a05e2a6e2cf60978d017c5bdf6bce159790af046bef907a30d0491e16cfa51d253c74392d053de470f2e8bc23151001 SHA512 a65727b3df10867a2dcb58426540484eaf75a0a455c7ab35e14034564bbfe7c4fc43becae56d4cd1a2ee287c59af467be1e5f419fba9c59450814186dfbf7011 +MISC metadata.xml 470 BLAKE2B 19818bdf7ff95a7449d1864bc4f0cb23b3973988712f1c5e79f3f2ccaff4906ebd6fb916e3860d12c558e1fce745bbc18ba21e10fea534f8cf64fb365356a3b8 SHA512 abcd6987ab1a2323e91da0f7a3c27c0b4610638fc8a7592f3e1ec769563dec6dbc2972644f45b556fd31c1aaa8290316397ea42f86f3e5e2305f955bcc5ba936 diff --git a/dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild b/dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild new file mode 100644 index 000000000000..decd0e5830b1 --- /dev/null +++ b/dev-python/drf-spectacular/drf-spectacular-0.28.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Sane and flexible OpenAPI schema generation for Django REST framework." +HOMEPAGE="https://github.com/tfranzel/drf-spectacular" +SRC_URI="https://github.com/tfranzel/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + >=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}] + >=dev-python/inflection-0.3.1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/uritemplate-2.0.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/drf-spectacular-sidecar[${PYTHON_USEDEP}] + dev-python/psycopg[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/furo + +EPYTEST_IGNORE=( + # Requires dj-rest-auth + tests/contrib/test_rest_auth.py + # Requires django-oauth-toolkit + tests/contrib/test_oauth_toolkit.py + # Requires django-rest-knox + tests/contrib/test_knox_auth_token.py + # Requires django-rest-polymorphic + tests/contrib/test_rest_polymorphic.py + # Requires djangorestframework-simplejwt + tests/contrib/test_simplejwt.py + # Requires djangorestframework-camel-case + tests/contrib/test_djangorestframework_camel_case.py + # Requires djangorestframework-dataclasses + tests/contrib/test_rest_framework_dataclasses.py + # Requires djangorestframework-gis + tests/contrib/test_rest_framework_gis.py + # Requires djangorestframework-recursive + tests/contrib/test_rest_framework_recursive.py + # Requires drf-jwt + tests/contrib/test_drf_jwt.py + # Requires drf-nested-routers + tests/contrib/test_drf_nested_routers.py +) + +EPYTEST_DESELECT=( + # Requires django-oauth-toolkit + tests/test_specification_extensions.py::test_security_spec_extensions +) diff --git a/dev-python/drf-spectacular/metadata.xml b/dev-python/drf-spectacular/metadata.xml new file mode 100644 index 000000000000..1aa70caba6b6 --- /dev/null +++ b/dev-python/drf-spectacular/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/tfranzel/drf-spectacular/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> +</pkgmetadata>
\ No newline at end of file |
