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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
0.27.2_1 www 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.27.1Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-05-04 12:00:08
Last Update: 2024-04-27 09:08:48
Commit Hash: 680c68f
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}drf-spectacular>0:www/py-drf-spectacular@${PY_FLAVOR}
Conflicts:
CONFLICTS_INSTALL:
  • py39-*drf-spectacular
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/www/py-drf-spectacular/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-drf-spectacular
  • pkg install py39-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 py39-drf-spectacular listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-drf-spectacular
Package flavors (<flavor>: <package>)
  • py39: py39-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):
py39-drf-spectacular
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.27.2--0.27.2---
FreeBSD:13:quarterly0.27.20.27.20.26.2-0.27.2-0.27.00.27.0
FreeBSD:14:latest0.27.20.27.2--0.27.20.26.2-0.26.2
FreeBSD:14:quarterly0.27.20.27.2-0.27.00.27.2-0.27.00.27.0
FreeBSD:15:latest0.27.10.27.2n/a0.27.1n/a-0.27.1-
FreeBSD:15:quarterly--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-django42>=2.2 : www/py-django42@py39
  2. py39-djangorestframework>=3.10.3 : www/py-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-drf-spectacular-sidecar>0 : www/py-drf-spectacular-sidecar@py39
  8. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  9. python3.9 : lang/python39
  10. py39-typing-extensions>0 : devel/py-typing-extensions@py39
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py39-drf-spectacular-0.27.2_1: SIDECAR=on: Enable self-contained Swagger/Redoc UI installation ===> Use 'make config' to modify these settings
Options name:
www_py-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.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.27.2_1
27 Apr 2024 09:08:48
commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
*: Switch consumers over to Django 4.2

Django 3.2 reached its End-of-Life on 1st April 2024 and Django 4.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2026.

* Switch most ports that use www/py-django32 to www/py-django42.

* Ports that are not compatible with Django 3.2 have already been set
  with an expiration date were not taken into account.

* Bump PORTREVISION due dependency change where necessary.

PR:		276319
Reviewed by:	dvl, grembo, ultima
Approved by:	bofh (implicit), dvl, grembo, Kevin Golding, sunpoet,
		ultima, maintainer timeout (remaining maintainers)
Differential Revision:	https://reviews.freebsd.org/D44637
0.27.2
05 Apr 2024 12:56:31
commit hash: 1a51b9c3a9c6804df9739e9d53cc051811310fd7commit hash: 1a51b9c3a9c6804df9739e9d53cc051811310fd7commit hash: 1a51b9c3a9c6804df9739e9d53cc051811310fd7commit hash: 1a51b9c3a9c6804df9739e9d53cc051811310fd7 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: Update to 0.27.2

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.2
0.27.1
19 Jan 2024 14:44:31
commit hash: 398ee8b74568c987d675b8d76b6cae4fbbe05daecommit hash: 398ee8b74568c987d675b8d76b6cae4fbbe05daecommit hash: 398ee8b74568c987d675b8d76b6cae4fbbe05daecommit hash: 398ee8b74568c987d675b8d76b6cae4fbbe05dae files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: Update to 0.27.1

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.1
0.27.0
17 Dec 2023 12:43:53
commit hash: 4fa51b9239c94bf1650874113b7e2dbf47c42ac1commit hash: 4fa51b9239c94bf1650874113b7e2dbf47c42ac1commit hash: 4fa51b9239c94bf1650874113b7e2dbf47c42ac1commit hash: 4fa51b9239c94bf1650874113b7e2dbf47c42ac1 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: Update to 0.27.0

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.0
0.26.5
01 Oct 2023 10:30:25
commit hash: 0e001d7b35332e41715a857a0c363941e5f936dbcommit hash: 0e001d7b35332e41715a857a0c363941e5f936dbcommit hash: 0e001d7b35332e41715a857a0c363941e5f936dbcommit hash: 0e001d7b35332e41715a857a0c363941e5f936db files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: Update to 0.26.5

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.5
0.26.4
06 Aug 2023 13:30:00
commit hash: 65945ee4d418e4c5cef451cbac365504ec89e6ddcommit hash: 65945ee4d418e4c5cef451cbac365504ec89e6ddcommit hash: 65945ee4d418e4c5cef451cbac365504ec89e6ddcommit hash: 65945ee4d418e4c5cef451cbac365504ec89e6dd files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: Update to 0.26.4

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.4
0.26.3
24 Jul 2023 04:19:05
commit hash: a930954aaee6f8c8ea74ae8dc033264411430f38commit hash: a930954aaee6f8c8ea74ae8dc033264411430f38commit hash: a930954aaee6f8c8ea74ae8dc033264411430f38commit hash: a930954aaee6f8c8ea74ae8dc033264411430f38 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: Update to 0.26.3

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.3
0.26.2
01 Jul 2023 13:10:53
commit hash: a2f3bb0b5ad823e8442b30696baea28ee99ee186commit hash: a2f3bb0b5ad823e8442b30696baea28ee99ee186commit hash: a2f3bb0b5ad823e8442b30696baea28ee99ee186commit hash: a2f3bb0b5ad823e8442b30696baea28ee99ee186 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: Drop PYTHON_REL check for Python 3.7

* Since Python 3.7 was removed in 12f5a11b0425 the check is no longer
  required.
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
04 May 2023 11:57:42
commit hash: 437b5ef2910a26f7e4a20b9f9d89c2cc5d15e186commit hash: 437b5ef2910a26f7e4a20b9f9d89c2cc5d15e186commit hash: 437b5ef2910a26f7e4a20b9f9d89c2cc5d15e186commit hash: 437b5ef2910a26f7e4a20b9f9d89c2cc5d15e186 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-drf-spectacular: New port

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

Number of commits found: 10