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-dj41-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
0.26.4 www Deleted on this many watch lists=0 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 0.26.4Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
Expired This port expired on: 2023-12-31
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-06-02 16:23:48
Last Update: 2023-12-31 00:06:32
Commit Hash: 4968b58
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}dj41-drf-spectacular>0:www/py-dj41-drf-spectacular@${PY_FLAVOR}
Conflicts:
CONFLICTS_INSTALL:
  • py39-*drf-spectacular
No installation instructions:
This port has been deleted.
PKGNAME: py39-dj41-drf-spectacular
Package flavors (<flavor>: <package>)
  • py39: py39-dj41-drf-spectacular
distinfo:
TIMESTAMP = 1690790119 SHA256 (drf-spectacular-0.26.4.tar.gz) = 8f5a8f87353d1bb8dcb3f3909b7109b2dcbe1d91f3e069409cf322963e140bd6 SIZE (drf-spectacular-0.26.4.tar.gz) = 219010

Packages (timestamps in pop-ups are UTC):
py39-dj41-drf-spectacular
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.26.4-----
FreeBSD:14:latest-----0.26.2-0.26.2
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-django41>=2.2 : www/py-django41@py39
  2. py39-dj41-djangorestframework>=3.10.3 : www/py-dj41-djangorestframework@py39
  3. py39-inflection>=0.3.1 : devel/py-inflection@py39
  4. py39-jsonschema>=2.6.0 : devel/py-jsonschema@py39
  5. py39-uritemplate>=2.0.0 : net/py-uritemplate@py39
  6. py39-yaml>=5.1 : devel/py-yaml@py39
  7. py39-dj41-drf-spectacular-sidecar>0 : www/py-dj41-drf-spectacular-sidecar@py39
  8. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  9. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py39-dj41-drf-spectacular-0.26.4: SIDECAR=on: Enable self-contained Swagger/Redoc UI installation ===> Use 'make config' to modify these settings
Options name:
www_py-dj41-drf-spectacular
USES:
python
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.
Port Moves
  • port moved to www/py-dj42-drf-spectacular on 2023-12-31
    REASON: Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.26.4
31 Dec 2023 00:06:32
commit hash: 4968b58a56e0315475e6d48809e8a4523a37cbcfcommit hash: 4968b58a56e0315475e6d48809e8a4523a37cbcfcommit hash: 4968b58a56e0315475e6d48809e8a4523a37cbcfcommit hash: 4968b58a56e0315475e6d48809e8a4523a37cbcf files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
www/py-dj41-drf-spectacular: Remove expired port

2023-12-31 www/py-dj41-drf-spectacular: Extended support of Django 4.1 ends
December 2023, upgrade to the Django 4.2+ version of this port. See
https://www.djangoproject.com/download/
0.26.4
10 Sep 2023 13:15:33
commit hash: b9c3ffd4a399be3a8db57ed5e12bd41d693736bacommit hash: b9c3ffd4a399be3a8db57ed5e12bd41d693736bacommit hash: b9c3ffd4a399be3a8db57ed5e12bd41d693736bacommit hash: b9c3ffd4a399be3a8db57ed5e12bd41d693736ba files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
*/*dj41*: Deprecate/Set to expire

* Django 4.1 will reach its End-of-Life in December 2023.  Deprecate its
  consumers and set the expiration date accordingly.

Differential Revision:	https://reviews.freebsd.org/D41666
With hat:		python
0.26.4
01 Aug 2023 06:39:15
commit hash: 8abe589ea08ed8d6f71def61f8bce45ec0b0a487commit hash: 8abe589ea08ed8d6f71def61f8bce45ec0b0a487commit hash: 8abe589ea08ed8d6f71def61f8bce45ec0b0a487commit hash: 8abe589ea08ed8d6f71def61f8bce45ec0b0a487 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-dj41-drf-spectacular: Update to 0.26.4

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.4

MFH:		2023Q3
0.26.3
12 Jul 2023 04:24:12
commit hash: 6d72d1c63513ebf2eccb0049f51dc93a200fbd46commit hash: 6d72d1c63513ebf2eccb0049f51dc93a200fbd46commit hash: 6d72d1c63513ebf2eccb0049f51dc93a200fbd46commit hash: 6d72d1c63513ebf2eccb0049f51dc93a200fbd46 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-dj41-drf-spectacular: Update to 0.26.3

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.3

MFH:		2023Q3
0.26.2
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.26.2
02 Jun 2023 16:19:21
commit hash: fb7fd0b40f7e953086a9aa54b167da7c2a677c2dcommit hash: fb7fd0b40f7e953086a9aa54b167da7c2a677c2dcommit hash: fb7fd0b40f7e953086a9aa54b167da7c2a677c2dcommit hash: fb7fd0b40f7e953086a9aa54b167da7c2a677c2d files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-dj41-drf-spectacular: New port

Note: Copied from www/py-drf-spectacular, required for NetBox 3.5.

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:
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 6