Bug 246177

Summary: www/py-dojango: Deprecate and set to expire
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Kai Knoblich <kai>
Status: Closed FIXED    
Severity: Affects Only Me CC: jpaetzel, wg
Priority: --- Flags: bugzilla: maintainer-feedback? (jpaetzel)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 245309    
Attachments:
Description Flags
deprecate-py-dojango.patch kai: maintainer-approval+

Description Kai Knoblich freebsd_committer freebsd_triage 2020-05-04 14:24:27 UTC
Created attachment 214107 [details]
deprecate-py-dojango.patch

Hi,

attached is the patch that deprecates www/py-dojango and set an expiration date for it because Django 1.11 is End-of-Life since April 2020 and the port doesn't seem to be compatible with Django 2.2 (current LTS release).

When running with Django 2.2 following error is given via "python3.7 manage.py runserver":

> File "/usr/local/lib/python3.7/site-packages/dojango/templatetags/dojango_base.py", line 17
>     raise template.TemplateSyntaxError, "Could not find the profile '%s' in the DOJANGO_DOJO_PROFILES settings" % (self.profile)
>
> SyntaxError: invalid syntax

Also CC'ing wg@ as he's the maintainer of the Github repository. Maybe www/py-dojango needs only some tweaks to make it usable for Django 2.2+ or later.
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2020-05-04 14:39:17 UTC
Hi,

There is no interest in that port anymore. Official upstream has been abandoned long ago. it can be nuked.

Thanks
Comment 2 Josh Paetzel freebsd_committer freebsd_triage 2020-05-04 15:03:19 UTC
Approved
Comment 3 Kai Knoblich freebsd_committer freebsd_triage 2020-05-05 07:49:07 UTC
Comment on attachment 214107 [details]
deprecate-py-dojango.patch

^ Triage: Maintainer's approval was given in comment #2, set maintainer-approval flag accordingly.
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-05-05 07:49:45 UTC
A commit references this bug:

Author: kai
Date: Tue May  5 07:49:24 UTC 2020
New revision: 534033
URL: https://svnweb.freebsd.org/changeset/ports/534033

Log:
  www/py-dojango: Deprecate and set to expire

  * The official upstream project has been abandoned and the code is not
    compatible with Django 2.2+.

  PR:		246177
  Reviewed by:	wg
  Approved by:	jpaetzel (maintainer)

Changes:
  head/www/py-dojango/Makefile
Comment 5 Kai Knoblich freebsd_committer freebsd_triage 2020-05-05 08:04:41 UTC
(In reply to William Grzybowski from comment #1)
(In reply to Josh Paetzel from comment #2)

Committed, thank you both for the quick feedback and approval!