Bug 246177 - www/py-dojango: Deprecate and set to expire
Summary: www/py-dojango: Deprecate and set to expire
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:
Keywords:
Depends on:
Blocks: 245309
  Show dependency treegraph
 
Reported: 2020-05-04 14:24 UTC by Kai Knoblich
Modified: 2020-05-05 08:04 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (jpaetzel)


Attachments
deprecate-py-dojango.patch (428 bytes, patch)
2020-05-04 14:24 UTC, Kai Knoblich
kai: 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 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!