Bug 246171 - www/py-django-solo: Update to latest commit and assign to Django 2.2
Summary: www/py-django-solo: Update to latest commit and assign to Django 2.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kai Knoblich
URL: https://github.com/lazybird/django-so...
Keywords:
Depends on:
Blocks: 245309
  Show dependency treegraph
 
Reported: 2020-05-04 09:55 UTC by Kai Knoblich
Modified: 2020-05-05 08:32 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (rozhuk.im)


Attachments
py-django-solo-update-to-latest-commit-and-assign-to-django22.patch (2.70 KB, patch)
2020-05-04 09:55 UTC, Kai Knoblich
rozhuk.im: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2020-05-04 09:55:44 UTC
Created attachment 214101 [details]
py-django-solo-update-to-latest-commit-and-assign-to-django22.patch

Hi,

attached is the patch that updates www/py-django-solo to the latest commit and assigns it to Django 2.2 (current LTS release) because Django 1.11 is End-of-Life since April 2020.

There is no newer release available at PyPI hence switch over to the GitHub repository to get some newer commits which also contains some fixes for newer Django versions.

Changes to the port:
~~~~~~~~~~~~~~~~~~~~
- Patch setup.py to avoid errors during the configure phase
- Sort variables a bit according to the PHB
- Fix WWW field (remove trailing slash from Github URLs)

QA:
~~~
- poudriere (11.3-RELEASE amd64 for each py35, py36, py37 and py38 flavor) -> OK
- portlint -> OK
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-05-05 08:22:51 UTC
A commit references this bug:

Author: kai
Date: Tue May  5 08:21:54 UTC 2020
New revision: 534037
URL: https://svnweb.freebsd.org/changeset/ports/534037

Log:
  www/py-django-solo: Switch to Django 2.2 (current LTS release)

  * Also switch to GitHub for a while to update to the latest commit that
    contain adjustments for newer Django versions and add a patch to fix the
    build in this state.

  * Sort the variables a bit according to the PHB and remove superfluous
    trailing slash of the Github URL while I'm here.

  Changelog:

  https://github.com/lazybird/django-solo/compare/1.1.3...master

  PR:		246171
  Approved by:	<rozhuk.im@gmail.com> (maintainer)

Changes:
  head/www/py-django-solo/Makefile
  head/www/py-django-solo/distinfo
  head/www/py-django-solo/files/
  head/www/py-django-solo/files/patch-setup.py
  head/www/py-django-solo/pkg-descr
Comment 2 Kai Knoblich freebsd_committer freebsd_triage 2020-05-05 08:32:40 UTC
Committed, thank you for the quick approval!