Page MenuHomeFreeBSD

net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2, Create necessary dj22-* ports accordingly

Authored by kai on Apr 30 2019, 11:02 AM.
Referenced Files
Unknown Object (File)
Mon, Jul 8, 1:58 PM
Unknown Object (File)
Sat, Jul 6, 2:03 AM
Unknown Object (File)
Sat, Jun 22, 12:35 PM
Unknown Object (File)
May 15 2024, 7:20 PM
Unknown Object (File)
May 10 2024, 9:32 AM
Unknown Object (File)
May 8 2024, 3:17 AM
Unknown Object (File)
May 7 2024, 8:09 AM
Unknown Object (File)
May 7 2024, 8:09 AM



Upstream switched from Django 2.1 to Django 2.2. The reason behind this is that it fixes intermittent errors when objects are deleted/manipulated. ( Django 2.2 is also designed as new LTS release so it makes sense to switch over to that version. (

The whole diff does following actions in short:

  • Update www/Makefile
  • Repocopy following ports, assign them to Django 2.2 and limit them to Python 3.5 or later:
    • www/py-django-cors-headers -> www/py-dj22-django-cors-headers
    • www/py-django-debug-toolbar -> www/py-dj22-django-debug-toolbar
    • www/py-django-filter -> www/py-dj22-django-filter
    • www/py-django-js-asset -> www/py-dj22-django-js-asset
    • www/py-django-mptt -> www/py-dj22-django-mptt
    • www/py-django-tables2 -> www/py-dj22-django-tables2
    • www/py-django-taggit-serializer -> www/py-dj22-django-taggit-serializer
    • www/py-django-timezone-field -> www/py-dj22-django-timezone-field
    • www/py-drf-yasg -> www/py-dj22-drf-yasg
  • Update all related CONFLICTS_INSTALL entries
Test Plan
  • poudriere (11.2-RELEASE amd64) for py36 -> OK
  • portlint -> OK

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

koobs requested changes to this revision.May 17 2019, 11:28 AM
koobs added a subscriber: koobs.

Add netbox changes that motivate these changes to the diff, it helps for everyone to have full context, especially if they're unfamiliar.

On deprecat'ing consumer-less django 21 ports, I'd wait and do that in a separate change (if necessary, we can discuss there or offline)

It would be good to clarify in the summary what the current status of django ports are (django, dj22, dj21?) for those that dont know (i dont, but im assuming)

This revision now requires changes to proceed.May 17 2019, 11:28 AM

Updated the review with a more precise target:

  • Update net-mgmt/netbox to 2.5.12
  • Include only the required ports that need to be repocopied/modified to match the given requirements
kai retitled this revision from New ports: Create some ports that use Django 2.2 in preparation for NetBox 2.6 to net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2, Create necessary dj22-* ports accordingly.May 17 2019, 3:01 PM
kai edited the summary of this revision. (Show Details)
kai edited the test plan for this revision. (Show Details)

Since we have done that in the same way for all other netbox releases please go for it.

This revision was not accepted when it landed; it landed in state Needs Review.May 25 2019, 10:10 AM
This revision was automatically updated to reflect the committed changes.