notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-dj50-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
0.27.2 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-07-15 17:15:14
Last Update: 2024-07-15 16:58:00
Commit Hash: 9dcfcfc
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://github.com/tfranzel/drf-spectacular
Description:
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: * Serializers modelled as components. (arbitrary nesting + recursion supported) * @extend_schema decorator for customization of APIView, Viewsets, function-based views, and @action * 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, Description extraction from docstrings * Request/response/parameter examples, Callback operations * Vendor specification extensions (x-*) in info, operations, parameters, components, and security schemes * Sane fallbacks and 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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}dj50-drf-spectacular>0:www/py-dj50-drf-spectacular@${PY_FLAVOR}
Conflicts:
CONFLICTS_INSTALL:
  • py311-*drf-spectacular
To install the port:
cd /usr/ports/www/py-dj50-drf-spectacular/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-dj50-drf-spectacular
  • pkg install py311-dj50-drf-spectacular
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-dj50-drf-spectacular listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-dj50-drf-spectacular
Package flavors (<flavor>: <package>)
  • py311: py311-dj50-drf-spectacular
distinfo:
TIMESTAMP = 1712292804 SHA256 (drf-spectacular-0.27.2.tar.gz) = a199492f2163c4101055075ebdbb037d59c6e0030692fc83a1a8c0fc65929981 SIZE (drf-spectacular-0.27.2.tar.gz) = 235131

Packages (timestamps in pop-ups are UTC):
py311-dj50-drf-spectacular
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.27.20.27.2--0.27.2---
FreeBSD:13:quarterly-0.27.2--0.27.2---
FreeBSD:14:latest0.27.20.27.2--0.27.2---
FreeBSD:14:quarterly-0.27.2--0.27.2---
FreeBSD:15:latest0.27.20.27.2n/a0.27.2n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-django50>=2.2 : www/py-django50@py311
  2. py311-dj50-djangorestframework>=3.10.3 : www/py-dj50-djangorestframework@py311
  3. py311-inflection>=0.3.1 : devel/py-inflection@py311
  4. py311-jsonschema>=2.6.0 : devel/py-jsonschema@py311
  5. py311-uritemplate>=2.0.0 : net/py-uritemplate@py311
  6. py311-pyyaml>=5.1 : devel/py-pyyaml@py311
  7. py311-dj50-drf-spectacular-sidecar>0 : www/py-dj50-drf-spectacular-sidecar@py311
  8. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  9. python3.11 : lang/python311
This port is required by:
for Run
  1. net-mgmt/netbox

Configuration Options:
===> The following configuration options are available for py311-dj50-drf-spectacular-0.27.2: SIDECAR=on: Enable self-contained Swagger/Redoc UI installation ===> Use 'make config' to modify these settings
Options name:
www_py-dj50-drf-spectacular
USES:
python:3.10+
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/drf-spectacular/
  2. https://pypi.org/packages/source/d/drf-spectacular/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.27.2
15 Jul 2024 16:58:00
commit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41bcommit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41bcommit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41bcommit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41b files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
net-mgmt/netbox: Create Django 5.0 consumers

* Django 4.2 is currently the "default" version in the ports tree due
  its long term support until April 2026.  Thus ports that are assigned
  to that version will exist until then.

  The following ports are required to make the upgrade of
  net-mgmt/netbox to the 4.0 release possible because it requires
  Django 5.0.

  All of the ports listed below were created on the basis of their
  respective original ports:

  - devel/py-dj50-django-rq
  - devel/py-dj50-strawberry-graphql
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1