Bug 226560 - www/py-django-photologue - update to 3.8.1
Summary: www/py-django-photologue - update to 3.8.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: Po-Chuan Hsieh
URL: https://github.com/jdriscoll/django-p...
Keywords:
Depends on: 226573
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-12 17:35 UTC by Kevin Golding
Modified: 2018-03-17 11:01 UTC (History)
0 users

See Also:


Attachments
Update www/py-django-photologue to 3.8.1 (2.51 KB, patch)
2018-03-12 17:35 UTC, Kevin Golding
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Golding 2018-03-12 17:35:09 UTC
Created attachment 191453 [details]
Update www/py-django-photologue to 3.8.1

Update www/py-django-photologue to 3.8.1

Changes: https://github.com/jdriscoll/django-photologue/blob/bd753b0630f4513084141bb33db043074a96e891/CHANGELOG.txt

- Update RUN_DEPENDS: use Django metaport (www/py-django)
- Add new RUN_DEPENDS: graphics/py-exifread
- rm obsolete setup.py patch

Poudriere ok - py27 FBSD11.1

Fixes pkg-fallout (Django version conflict)
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-03-12 21:48:36 UTC
We need newer Pillow for 3.8.1.

% cat requirements.txt
Django>=1.11
Pillow>=4.3.0
django-sortedm2m>=1.5.0 # Need at least 1.4.0 for it to work with Django 1.11.
ExifRead>=2.1.2
% cd /usr/ports/graphics/py-pillow
% make -V PKGNAME
py36-pillow-3.4.2_1

Before that, I would like to commit the dependency changes:
- Update RUN_DEPENDS: use Django metaport (www/py-django) fixes r457813
- Fix RUN_DEPENDS: add graphics/py-exifread and remove devel/py-pytz
- Fix version requirement of RUN_DEPENDS

-RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}django18>0:www/py-django18@${FLAVOR} \
-               ${PYTHON_PKGNAMEPREFIX}django-sortedm2m>0:www/py-django-sortedm2m@${FLAVOR} \
-               ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR} \
-               ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${FLAVOR}
+RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}django>=1.8:www/py-django@${FLAVOR} \
+               ${PYTHON_PKGNAMEPREFIX}django-sortedm2m>=1.1.1:www/py-django-sortedm2m@${FLAVOR} \
+               ${PYTHON_PKGNAMEPREFIX}ExifRead>=2.1.2:graphics/py-exifread@${FLAVOR} \
+               ${PYTHON_PKGNAMEPREFIX}pillow>=2.7.0:graphics/py-pillow@${FLAVOR}
Comment 2 Kevin Golding 2018-03-13 08:45:08 UTC
Makes sense. I was going to look at submitting an update for Pillow today.
Comment 3 Kevin Golding 2018-03-13 11:14:42 UTC
Requires bug #226573
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-03-17 10:45:55 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Mar 17 10:45:00 UTC 2018
New revision: 464791
URL: https://svnweb.freebsd.org/changeset/ports/464791

Log:
  Update to 3.8.1

  - While I'm here, fix version requirement of RUN_DEPENDS

  Changes:	https://github.com/jdriscoll/django-photologue/blob/master/CHANGELOG.txt
  PR:		226560
  Submitted by:	Kevin Golding <ports@caomhin.org> (maintainer)

Changes:
  head/www/py-django-photologue/Makefile
  head/www/py-django-photologue/distinfo
  head/www/py-django-photologue/files/
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-03-17 11:01:37 UTC
Committed. Thanks!