diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-util/cookiecutter/files | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-util/cookiecutter/files')
-rw-r--r-- | dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch | 13 | ||||
-rw-r--r-- | dev-util/cookiecutter/files/cookiecutter-2.0.2-relax-click-dependency.patch | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch b/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch new file mode 100644 index 000000000000..569ca97e5e42 --- /dev/null +++ b/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch @@ -0,0 +1,13 @@ +diff --git a/tests/test_generate_file.py b/tests/test_generate_file.py +index 2ca30df..47e14ec 100644 +--- a/tests/test_generate_file.py ++++ b/tests/test_generate_file.py +@@ -118,7 +118,7 @@ def expected_msg(): + """Fixture. Used to ensure that exception generated text contain full data.""" + msg = ( + 'Missing end of comment tag\n' +- ' File "./tests/files/syntax_error.txt", line 1\n' ++ ' File "tests/files/syntax_error.txt", line 1\n' + ' I eat {{ syntax_error }} {# this comment is not closed}' + ) + return msg.replace("/", os.sep) diff --git a/dev-util/cookiecutter/files/cookiecutter-2.0.2-relax-click-dependency.patch b/dev-util/cookiecutter/files/cookiecutter-2.0.2-relax-click-dependency.patch new file mode 100644 index 000000000000..1ce7ea09f68b --- /dev/null +++ b/dev-util/cookiecutter/files/cookiecutter-2.0.2-relax-click-dependency.patch @@ -0,0 +1,22 @@ +From 931dded761400c99ab70a1469e9c6e1c9abdcb8c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jakub=20La=C5=84ski?= <jakub.lanski@gmail.com> +Date: Fri, 21 Jan 2022 07:11:57 +0100 +Subject: [PATCH] Restore accidentally deleted support for click 8.x + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 654010fa..d703c3c2 100644 +--- a/setup.py ++++ b/setup.py +@@ -10,7 +10,7 @@ + requirements = [ + 'binaryornot>=0.4.4', + 'Jinja2>=2.7,<4.0.0', +- 'click>=7.0,<8.0.0', ++ 'click>=7.0,<9.0.0', + 'pyyaml>=5.3.1', + 'jinja2-time>=0.2.0', + 'python-slugify>=4.0.0', |