Bug 228309 - graphics/py-sorl-thumbnail: update to 12.4.1
Summary: graphics/py-sorl-thumbnail: update to 12.4.1
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-17 06:42 UTC by Kai Knoblich
Modified: 2018-05-27 07:37 UTC (History)
3 users (show)

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


Attachments
py-sorl-thumbnail-12.4.1.patch (5.09 KB, patch)
2018-05-17 06:42 UTC, Kai Knoblich
no flags Details | Diff
Original patch with minor changes for depends and defaults (5.00 KB, patch)
2018-05-17 16:54 UTC, Kevin Golding
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 freebsd_triage 2018-05-17 06:42:37 UTC
Created attachment 193475 [details]
py-sorl-thumbnail-12.4.1.patch

Hello,

attached is the patch from svn that updates py-sorl-thumbnail to 12.4.1 . 

Changes by upstream:
- https://github.com/jazzband/sorl-thumbnail/compare/v10.12...12.4.1
- Note: comparision between v3.2.5 and 12.4.1 was not possible due different commit histories

Changes to the port:
- changed RUN_DEPENDS (assign to Django 1.11)
- added LICENSE_FILE
- added NO_ARCH
- added DOCS option with the appropriate dependencies
- changed options to reflect the new possibilities with the pluggable engines and key value stores
- updated WWW
- improved pkg-descr
- added patch to conf.py to enable builds with sphinx for Python != 2.7

QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK
Comment 1 Kevin Golding 2018-05-17 16:52:30 UTC
Comment on attachment 193475 [details]
py-sorl-thumbnail-12.4.1.patch

django metaport prefered
Upstream defaults prefered
Comment 2 Kevin Golding 2018-05-17 16:54:20 UTC
Created attachment 193488 [details]
Original patch with minor changes for depends and defaults

Original patch with minor changes for depends and defaults
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-05-26 17:14:49 UTC
A commit references this bug:

Author: miwi
Date: Sat May 26 17:14:21 UTC 2018
New revision: 470901
URL: https://svnweb.freebsd.org/changeset/ports/470901

Log:
  - Update to 12.4.1
  - Changed RUN_DEPENDS (assign to Django 1.11)
  - Added LICENSE_FILE
  - Added NO_ARCH
  - Added DOCS option with the appropriate dependencies
  - Changed options to reflect the new possibilities with the pluggable engines and key value stores
  - Updated pkg-descr

  PR:	228309
  Submitted by:	freebsd_ports@k-worx.org
  Approved by:	maintainer
  Sponsored by:	iXsystems Inc.

Changes:
  head/graphics/py-sorl-thumbnail/Makefile
  head/graphics/py-sorl-thumbnail/distinfo
  head/graphics/py-sorl-thumbnail/files/
  head/graphics/py-sorl-thumbnail/files/patch-docs_conf.py
  head/graphics/py-sorl-thumbnail/pkg-descr
Comment 4 Kevin Golding 2018-05-27 07:21:46 UTC
I'm struggling to understand how this was committed as "Approved by:  maintainer" when the patch I rejected was used in favour of the patch I actually approved.

- My patch used the same default image engine as upstream which I believe will cause less confusion for users
- May patch used the Django metaport which I believed was best practice for Django dependencies

I'd appreciate some clarification on why those choices were ignored.
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2018-05-27 07:26:22 UTC
(In reply to Kevin Golding from comment #4)
No, using the django metaport is not best practice.
Comment 6 Kevin Golding 2018-05-27 07:37:13 UTC
(In reply to Antoine Brodin from comment #5)
Thanks, I had been under the impression everything was moving to the metaport so it's nice to hear otherwise. I'll phase it out in the future (having been phasing it in).