Bug 245644 - www/py-django-happenings: Deprecate port and add forked variant of it
Summary: www/py-django-happenings: Deprecate port and add forked variant of it
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://pypi.org/project/django-happe...
Keywords:
Depends on:
Blocks: 245309
  Show dependency treegraph
 
Reported: 2020-04-15 19:25 UTC by Kai Knoblich
Modified: 2020-04-16 19:31 UTC (History)
1 user (show)

See Also:
ports: maintainer-feedback+


Attachments
deprecate_py-django-happenings_and_add_py-django-happenings-update (3.55 KB, patch)
2020-04-15 19:25 UTC, Kai Knoblich
ports: 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 2020-04-15 19:25:22 UTC
Created attachment 213425 [details]
deprecate_py-django-happenings_and_add_py-django-happenings-update

Hi,

attached is the patch that deprecates www/py-django-happenings as it doesn't work with Django 2.2 (current LTS release) or newer and adds www/py-django-happenings-update.

The latter one is a fork of www/py-django-happenings and is available at PyPI (please see the URL field for more info). The forked variant also doesn't conflict with www/py-django-mptt hence that port isn't listed in CONFLICTS_INSTALL.

I had no luck to make www/py-django-happenings compatible for Django 2.2 with the merged Pull-Request #32 (URL is available under "See also") from the original repository. It seems that www/py-django-happenings is no longer maintained.

Please note: You'll need to do "svn copy www/py-django-happenings www/py-django-happenings-update" first before applying the patch.

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

Author: kai
Date: Thu Apr 16 19:22:47 UTC 2020
New revision: 531874
URL: https://svnweb.freebsd.org/changeset/ports/531874

Log:
  [NEW PORT] www/py-django-happenings-update

  * Repo-copy from www/py-django-happenings because it's an official fork and
    also available at PyPI.  The forked version has support for newer Django
    releases.

  * Update CONFLICTS_INSTALL entries accordingly but omit www/py-django-mptt
    as it can co-exist (once assigned to Django 2.2) with
    www/py-django-happenings-update.

  PR:		245644
  Approved by:	Kevin Golding <ports@caomhin.org> (maintainer)

Changes:
  head/www/Makefile
  head/www/py-django-happenings/Makefile
  head/www/py-django-happenings-update/
  head/www/py-django-happenings-update/Makefile
  head/www/py-django-happenings-update/distinfo
  head/www/py-django-happenings-update/pkg-descr
Comment 2 commit-hook freebsd_committer 2020-04-16 19:28:58 UTC
A commit references this bug:

Author: kai
Date: Thu Apr 16 19:28:44 UTC 2020
New revision: 531875
URL: https://svnweb.freebsd.org/changeset/ports/531875

Log:
  www/py-django-happenings: Deprecate and set to expire

  * Upstream's repository seems stale and no longer maintained.  There was no
    official release at PyPI since 2015 and the code isn't compatible with
    Django 2.2 or later.

    Thus deprecate the port and set an expiration date.

  PR:		245644
  Approved by:	Kevin Golding <ports@caomhin.org> (maintainer)

Changes:
  head/www/py-django-happenings/Makefile
Comment 3 Kai Knoblich freebsd_committer 2020-04-16 19:31:03 UTC
Committed, thank you for your review and approval!