Created attachment 213073 [details] py-django-photologue-3.11-and-py-django-sortedm2m-3.0.0.patch Hi, attached is the patch that updates www/py-django-photologue to 3.11 and assigns it to Django 2.2 (current LTS release) as Django 1.11 is End-of-Life since April 2020. The patch also updates www/py-django-sortedm2m to 3.0.0 because it's required for the 3.11 release of www/py-django-photologue. Changes to the www/py-django-photologue port: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Sort variables according to the Porter's Handbook by placing NO_ARCH below the USES block - Remove the now obsolete patch for setup.py. Changes to the www/py-django-sortedm2m port: - Sort variables according to the Porter's Handbook by placing NO_ARCH below the USES block - Switch to GitHub for a while as PyPI offers no sdist at the moment. QA: ~~~ - poudriere (11.3-RELEASE amd64 for each py35, py36, py37 and py38 flavor) -> OK - portlint -> OK
I'm happy, although as jazzband say py3.6 is the minimum for the latest release for www/py-django-sortedm2m I'd prefer it to use: USES= python:3.6+ If easier, commit as is and I can submit an update later.
Comment on attachment 213073 [details] py-django-photologue-3.11-and-py-django-sortedm2m-3.0.0.patch ^ Triage: Maintainer approval was given in comment #1, setting flag accordingly.
(In reply to Kevin Golding from comment #1) Thank you for the pointer! It's no problem and I already changed that line in my local repository.
A commit references this bug: Author: kai Date: Tue Apr 7 10:19:41 UTC 2020 New revision: 530962 URL: https://svnweb.freebsd.org/changeset/ports/530962 Log: www/py-django-{photologue,sortedm2m}: Update to 3.11 and 3.0.0 * Update both ports at once because www/py-django-photologue requires www/py-django-sortedm2m in version 3.0.0 or later. Also assign them to Django 2.2 (current LTS release) as Django 1.11 is End-of-Life. * www/py-django-photologue: Remove an obsolete patch that was required to fix build isses with newer versions of devel/py-pip . * www/py-django-sortedm2m: Switch to GitHub for a while as no sdist is available at PyPI. * Sort variables a bit according to the PHB. Changelogs: https://github.com/richardbarran/django-photologue/blob/3.11/CHANGELOG.txt https://github.com/jazzband/django-sortedm2m/blob/3.0.0/CHANGES.rst PR: 245359 Approved 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/ head/www/py-django-sortedm2m/Makefile head/www/py-django-sortedm2m/distinfo
(In reply to Kevin Golding from comment #1) Committed, thank you for your review and approval! I did a minor change to www/py-django-photologue by setting there also "USES=python3.6+". This is to avoid breakage during calculation of the dependency chains when building all Python flavors (by setting "BUILD_ALL_PYTHON_FLAVORS=yes" in make.conf).