Bug 237424

Summary: devel/py-Jinja2: Update to 2.10.1
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Kai Knoblich <kai>
Status: Closed FIXED    
Severity: Affects Only Me CC: nivit, python
Priority: --- Flags: kai: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/pallets/jinja/blob/2.10.1/CHANGES.rst
Attachments:
Description Flags
py-Jinja2-2.10.1.patch none

Description Kai Knoblich freebsd_committer freebsd_triage 2019-04-20 22:15:51 UTC
Created attachment 203841 [details]
py-Jinja2-2.10.1.patch

Hi,

attached is the patch that updates devel/py-Jinja2 to 2.10.1.

Changes to the port:
~~~~~~~~~~~~~~~~~~~~
- Pet portlint by placing NO_ARCH below the USES block

Changelog:
~~~~~~~~~~
https://github.com/pallets/jinja/blob/master/CHANGES.rst#version-2101

QA:
~~~
- poudriere (11.2-, 12.0-RELEASE, 13.0-CURRENT@r346346 amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK

Results of testing with devel/py-pytest:

py27 -> 456 passed, 4 skipped in 3.63 seconds
py36 -> 536 passed, 3 skipped in 3.85 seconds
Comment 1 Kai Knoblich freebsd_committer freebsd_triage 2019-05-04 23:33:06 UTC
Taking this PR due maintainer timeout.
Comment 2 Kai Knoblich freebsd_committer freebsd_triage 2019-05-30 12:44:28 UTC
A "mini" exp-run with devel/py-Jinja2 2.10.1 for its consumers did not produce any failures so far, but maybe there are some pitfalls:

Ports with pinned requirements:

- devel/py-medikit: =~2.9 (setup.py, seems to be BROKEN since py-pip-tools 3.x has landed into ports tree)

- devel/py-molecule: ==2.10 (requirements.txt, not checked during installation/runtime, quick runtime tests worked fine so far)

- graphics/qgis-ltr: ==2.7.2 (Given in "python/plugins/MetaSearch/requirements.txt", not checked during build)

- graphics/qgis: ==2.7.2 (Given in "python/plugins/MetaSearch/requirements.txt", not checked during build)

- net-mgmt/netbox: ==2.10 (Given in requirements.txt, not checked during installation/runtime, works fine)

- security/w3af: ==2.7.3 (Given in core/controllers/dependency_check/requirements.py, the dependency check seems to be patched out during build)

- sysutils/osquery: ==2.8 (Given in requirements.txt, not checked during installation/runtime, quick runtime tests worked fine so far)

- sysutils/py-honcho: >=2.7,<2.8 (setup.py, used for extras, not checked during installation/runtime, quick runtime tests worked fine so far)

Ports that will be (probably) ok:

- benchmarks/py-naarad: N/A (Given as "jinja2" in requirements.txt)
- deskutils/py-bugwarrior: >=2.7.2 (setup.py)
- devel/py-buildbot: >=2.1 (setup.py)
- devel/py-click-completion: N/A (Given as "jinja2" in setup.py)
- devel/py-cookiecutter: >=2.7 (setup.py)
- devel/py-coreschema: N/A (Given as "jinja2" in setup.py)
- devel/py-fabric: <3.0 (setup.py)
- devel/py-flask-babel: >=2.5 (setup.py)
- devel/py-jenkins-job-builder: N/A (Given as "Jinja2" in requirements.txt)
- devel/py-jinja2-time: N/A (Given as "jinja2" in requirements.txt)
- devel/py-nbconvert: >=2.4 (setup.py)
- devel/py-oslo.middleware: >=2.10 (requirements.txt)
- devel/py-oslo.reports: >=2.10 (requirements.txt)
- devel/py-streamparse: N/A (Given as "jinja2" in requirements.txt)
- dns/py-namebench: N/A (Given as "jinja2" in setup.py / Noted Noted as 2.4.1 in Changelog.txt)
- finance/fava: >=2.10 (Given in setup.py)
- games/openage: N/A (Given as "jinja2" in CheckRuntimeDependencies.cmake)
- graphics/opencolorio: N/A (Given as "Jinja" in CMakeLists.txt)
- mail/mailpile: N/A (Given as "Jinja2" in requirements.txt)
- math/py-pandas: N/A (Given as "Jinja2" in docs)
- math/py-rpy2: N/A (Given as "jinja2" in setup.py)
- net-im/py-matrix-synapse: >=2.9 (Given in synapse/python_dependencies.py)
- net-mgmt/py-junos-eznc: >=2.7.1 (Given in requirements.txt)
- net-mgmt/py-napalm: N/A (Given as "jinja2" in requirements.txt)
- net/cloud-init-azure: N/A (Given as "jinja2" in requirements.txt)
- net/cloud-init: N/A (Given as "jinja2" in requirements.txt)
- security/py-gixy: >=2.8 (Given in setup.py)
- sysutils/ansible: N/A (Given as "jinja2" in requirements.txt)
- sysutils/ansible1: N/A (Given as "jinja2" in setup.py)
- sysutils/ansible23: N/A (Given as "jinja2" in requirements.txt)
- sysutils/bsdploy: N/A (Given as "jinja2" in setup.py)
- sysutils/py-salt: N/A (Given as "Jinja2" in base.txt)
- textproc/py-mkdocs: >=2.7.1 (setup.py)
- textproc/py-numpydoc: >=2.3 (setup.py)
- textproc/py-pyjade: N/A (Given as "jinja2" in setup.py)
- textproc/py-sphinx: >=2.3 (setup.py)
- textproc/scancode-toolkit: >=2.7.0,<3.0.0 (setup.py)
- www/chromium: N/A (Various versions given in several files, builds fine with 2.10.1)
- www/iridium: N/A (Various versions given in several files, builds fine with 2.10.1)
- www/py-blogofile: N/A (Given as "Jinja2" in setup.py)
- www/py-bokeh: >=2.7 (setup.py)
- www/py-branca: N/A (Given as "jinja2" in setup.py)
- www/py-collective.easytemplate: N/A (Given as "Jinja2" in setup.py)
- www/py-flask: >=2.10 (Given in setup.py)
- www/py-flexget: N/A (Given as "jinja2" in setup.py)
- www/py-folium: N/A (Given as "jinja2" in setup.py)
- www/py-frappe-bench: N/A (Given as "jinja2" in setup.py)
- www/py-notebook: N/A (Given as "jinja2" in setup.py)
- www/py-pelican: >=2.7 (setup.py)
- www/py-pylons: >=2.2.1 (setup.py)
- www/py-starlette: N/A (Given as "jinja2" in setup.py)
- www/qutebrowser: N/A (Given as "jinja2" in setup.py)
- www/trac-devel: >=2.9.3 (setup.py)
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-06-19 08:45:22 UTC
A commit references this bug:

Author: kai
Date: Wed Jun 19 08:44:20 UTC 2019
New revision: 504526
URL: https://svnweb.freebsd.org/changeset/ports/504526

Log:
  devel/py-Jinja2: Update to 2.10.1

  Changelog:

  https://github.com/pallets/jinja/blob/2.10.1/CHANGES.rst

  PR:		237424
  Approved by:	nivit (maintainer timeout)

Changes:
  head/devel/py-Jinja2/Makefile
  head/devel/py-Jinja2/distinfo