www/py-django21 (and dj21 ports): Deprecate / set expiration date
Django 2.1 reached its End-of-Life (EoL) on 2nd December. Deprecate the port
and its consumers (= www/py-dj21-*) accordingly.
Set the expiration date to the end of January 2020 to give users enough time
to migrate to Django 2.2+ because the EoL is already onset and the
deprecation comes quite late.
Reviewed by: koobs (python: maintainer)
Approved by: koobs (python: maintainer)
Differential Revision: https://reviews.freebsd.org/D22668
net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2
Upstream decided to switch from Django 2.1 to the 2.2 LTS release to fix a
rather annoying bug that generated intermittent errors when objects were
deleted/manipulated.
Therefore the same procedure must be done in almost the same way as in
r492690 to make NetBox compatible with Django 2.2 in the ports tree.
That means to repocopy the required Django 1.11 ports, assign them to
Django 2.2, limit them to Python 3.5+ and update all related
CONFLICTS_INSTALL entries accordingly:
* www/py-dj22-django-cors-headers [1]
* www/py-dj22-django-debug-toolbar
* www/py-dj22-django-filter
* www/py-dj22-django-js-asset
* www/py-dj22-django-mptt
* www/py-dj22-django-tables2
* www/py-dj22-django-taggit-serializer
* www/py-dj22-django-timezone-field
* www/py-dj22-drf-yasg
[1] www/py-django-cors-headers was repocopied from r500510 to keep on the
2.5.x branch as 3.x introduced some backward incompatibilities that
haven't been fully tested, yet.
Changelog since 2.5.10:
Enhancements:
* Improve natural ordering of device components
* Add support for filtering cables by connected device
* Add decommissioning status for devices
Bug Fixes:
* Fix natural ordering of device components (after it has been improved
before)
* Upgrade Django requirement to 2.2 to fix object deletion issue in the
changelog middleware
* Preserve multiselect filter values when updating per-page count for list
views
* Fix ordering of interface connections list by termination B name/device
* Fix tagged_items count in tags API endpoint
* Disable last_login update on login when maintenance mode is enabled
Reviewed by: koobs, miwi
Differential Revision: https://reviews.freebsd.org/D20103
Create some ports that are assigned to Django 2.1 instead Django 1.11.
Django 1.11 is currently the "default" version in the ports tree due its
long term support until April 2020 thus ports that are assigned to that
version will exist until then.
The following packages are required to make the upgrade of net-mgmt/netbox
to 2.5.x possible because upstream has decided to switch from Django 1.11
to Django 2.1:
* www/py-dj21-django-cors-headers
* www/py-dj21-django-debug-toolbar
* www/py-dj21-django-filter
* www/py-dj21-django-js-asset
* www/py-dj21-django-mptt
(Only the first 15 lines of the commit message are shown above )