Bug 246171

Summary: www/py-django-solo: Update to latest commit and assign to Django 2.2
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Kai Knoblich <kai>
Status: Closed FIXED    
Severity: Affects Only Me CC: rozhuk.im
Priority: --- Flags: bugzilla: maintainer-feedback? (rozhuk.im)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/lazybird/django-solo/compare/1.1.3...master
Bug Depends on:    
Bug Blocks: 245309    
Attachments:
Description Flags
py-django-solo-update-to-latest-commit-and-assign-to-django22.patch rozhuk.im: maintainer-approval+

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!