Bug 228417 - www/py-django-mezzanine: update to 4.2.3-148 (together with dependent ports)
Summary: www/py-django-mezzanine: update to 4.2.3-148 (together with dependent ports)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Martin Wilke
URL: https://wiki.freebsd.org/Ports/Django
Keywords:
Depends on: 228269
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-22 08:33 UTC by Kai Knoblich
Modified: 2018-07-09 19:14 UTC (History)
2 users (show)

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


Attachments
py-django-mezzanine-4.2.3-148.patch (7.65 KB, patch)
2018-05-22 08:33 UTC, Kai Knoblich
no flags Details | Diff
py-django-mezzanine-4.2.3-148-rev2.patch (7.59 KB, patch)
2018-05-24 14:00 UTC, Kai Knoblich
koobs: maintainer-approval+
Details | Diff
py-django-mezzanine-4.2.3-148-rev3.patch (6.55 KB, patch)
2018-07-09 15:13 UTC, Kai Knoblich
no flags 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 2018-05-22 08:33:46 UTC
Created attachment 193602 [details]
py-django-mezzanine-4.2.3-148.patch

Hello,

attached is the patch from svn that is part of the project that moves remaining ports from Django 1.8 to 1.11 . The patch does following modifications:

- updates www/py-django-mezzanine to 4.2.3-148
- updates www/py-django-mezzanine-filebrowser to 0.4.7
- updates www/py-django-mezzanine-grapelli to 0.4.7
- reassigns www/py-django-contrib-comments to Django 1.11


For port www/py-django-mezzanine:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changes by upstream:
- https://github.com/stephenmcd/mezzanine/compare/4.2.2...1211405

Changes to the port:
- changed CHEESESHOP to GH . Reason: Release 4.2.3 is dated from Q1/2017 and has no support for Django 1.11 or newer. Support for Django 1.11 has been introduced with commit 564e574 . When upstream brings a new release then a return to CHEESESHOP should be no problem.
- changed RUN_DEPENDS to reflect the new dependencies
- added NO_ARCH
- added pkg-message with quick start notes to improve the user experience
- added SUB_FILES and SUB_LIST for pkg-message


For port www/py-django-mezzanine-filebrowser:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changes by upstream:
- https://github.com/stephenmcd/filebrowser-safe/compare/v0.4.6...v0.4.7


For port www/py-django-mezzanine-grapelli:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changes by upstream:
- https://github.com/stephenmcd/grappelli-safe/compare/v0.4.5...2562c21


For port www/py-django-contrib-comments:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changes to the port:
- changed RUN_DEPENDS from Django 1.8 to 1.11

Note:
- The port is also required by textproc/pootle but that port is broken at the moment and there is currently work in progress. 
- There's also an update to 1.8 for www/py-django-contrib-comment available but that has been kept back because the master branch of textproc/pootle still depends on 1.7.3 and www/py-django-mezzanine itself has no specific version requirement for www/py-django-contrib-comments.


QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 and py36 flavor -> OK
- portlint -> OK

Result of "make test" (py27 + py36 flavors):

> Ran 82 tests in 14.844s
> 
> OK (skipped=3)
Comment 1 Kai Knoblich freebsd_committer freebsd_triage 2018-05-22 08:40:48 UTC
I forgot to mention, that the new version of www/py-django-mezzanine requires a newer version of www/py-beautifulsoup. 

A PR is already opened for this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228269
Comment 2 Kai Knoblich freebsd_committer freebsd_triage 2018-05-24 14:00:50 UTC
Created attachment 193654 [details]
py-django-mezzanine-4.2.3-148-rev2.patch

Attached is a rebased patch because www/py-django-mezzanine was modified with r470610.

QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 and py36 flavor -> OK
- portlint -> OK

Result of "make test" (py27 + py36 flavors):

> Ran 82 tests in 16.392s
> 
> OK (skipped=3)
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2018-06-25 09:45:17 UTC
Comment on attachment 193654 [details]
py-django-mezzanine-4.2.3-148-rev2.patch

Approved by: koobs (maintainer)
Comment 4 Kai Knoblich freebsd_committer freebsd_triage 2018-07-09 15:13:04 UTC
Created attachment 194997 [details]
py-django-mezzanine-4.2.3-148-rev3.patch

Rebased after r474262.
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-07-09 19:13:45 UTC
A commit references this bug:

Author: miwi
Date: Mon Jul  9 19:13:43 UTC 2018
New revision: 474283
URL: https://svnweb.freebsd.org/changeset/ports/474283

Log:
  - Update www/py-django-mezzanine to 4.2.3-148
  Changes to the port:
   *Changed CHEESESHOP to GH. Reason: Release 4.2.3 is dated from Q1/2017 and
    has no support for Django 1.11 or newer. Support for Django 1.11 has been
    introduced with commit 564e574 . When upstream brings a new release then
    a return to CHEESESHOP should be no problem.
   *Changed RUN_DEPENDS to reflect the new dependencies
   *Added NO_ARCH
   *Added pkg-message with quick start notes to improve the user experience
   *Added SUB_FILES and SUB_LIST for pkg-message

  - Update www/py-django-mezzanine-filebrowser to 0.4.7
  - Update www/py-django-mezzanine-grapelli to 0.4.7

  PR:		228417
  Submitted by:	freebsd_ports@k-worx.org
  Approved by:	koobs (maintainer)
  Sponsored by:	iXsystems Inc.

Changes:
  head/www/py-django-mezzanine/Makefile
  head/www/py-django-mezzanine/distinfo
  head/www/py-django-mezzanine/files/
  head/www/py-django-mezzanine/files/pkg-message.in
  head/www/py-django-mezzanine-filebrowser/Makefile
  head/www/py-django-mezzanine-filebrowser/distinfo
  head/www/py-django-mezzanine-grappelli/Makefile
  head/www/py-django-mezzanine-grappelli/distinfo