diff --git a/10.9-libcxx/stable/main/finkinfo/libs/pythonmods/jinja2-py-3.0.3.info b/10.9-libcxx/stable/main/finkinfo/libs/pythonmods/jinja2-py-3.0.3.info index b1d39a4da3..d2cdc1c7c8 100644 --- a/10.9-libcxx/stable/main/finkinfo/libs/pythonmods/jinja2-py-3.0.3.info +++ b/10.9-libcxx/stable/main/finkinfo/libs/pythonmods/jinja2-py-3.0.3.info @@ -25,6 +25,14 @@ Depends: << << Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%v.tar.gz Source-Checksum: SHA256(611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7) +PatchScript: << +#!/bin/sh -ev + if [ '%type_pkg[python]' == '37' ]; then + # compatibility with pytest >= 7.2: + # backport from jinja 3.1.3 + perl -pi -e 's/def teardown/def teardown_method/' tests/test_loader.py + fi +<< CompileScript: << chmod u+w *