dev-util/cookiecutter: Version bumps
authorCédric Krier <cedk@gentoo.org>
Fri, 8 May 2020 19:59:50 +0000 (21:59 +0200)
committerCédric Krier <cedk@gentoo.org>
Fri, 8 May 2020 20:00:32 +0000 (22:00 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Cédric Krier <cedk@gentoo.org>
dev-util/cookiecutter/Manifest
dev-util/cookiecutter/cookiecutter-1.7.2.ebuild [moved from dev-util/cookiecutter/cookiecutter-1.7.0.ebuild with 59% similarity]
dev-util/cookiecutter/files/test_cli-1.7.2.patch [new file with mode: 0644]

index 1e003fb68049b2c41783f567048bd132abac87fe..36833f08085997cd9e9be3b6b61367e4bf2dcdf9 100644 (file)
@@ -1,2 +1,2 @@
 DIST cookiecutter-1.6.0.tar.gz 255579 BLAKE2B 68d50bc51cc0fa2f7fa84bf77933ad27b4dbdd9c06ed459c5aad8d604256c205bad5434b19b1b93ee95fdf5bf211124558994a9204a79cdfc1e433576a0e7fba SHA512 0a06ae8fe7aceeeb0bcb98b5981d743b2e2e5d5f121c2e0703bb76399b0433816beaddb64c92f28d50f1781737db25907a10ec7b59f6c02c17171cfb56fb12f4
-DIST cookiecutter-1.7.0.tar.gz 249612 BLAKE2B 6ebf09d67640eead22da65d7226c20ebda9a38a36083f5c243e2594db228b21ac665fd7629be1440a78dd69116ba731b7f129489723c6826347acc01cb6eedfb SHA512 2840a3e4c3072f76f79965d29bf9774f79d9f641a1ee96e3b8fdb714f67fd2e1f34020e148767759a083bff67f31f7cab2de311eeaf8a816d12b128b40563c19
+DIST cookiecutter-1.7.2.tar.gz 253484 BLAKE2B de1c773cd5e53532edc7af7aaeac6061b1a5293330b8162da0f31895b0c3a58a4e0f36d66bee3da328a6b0a59fb5bd917a2f3f6fcf7772a4c63db5cd0030caae SHA512 15cc145f143b4cac6e78b12e1c29e191d0c1c96b0187db05a4c8aac18310a5cb31d912073674ef4c01727c9b5a3b67f8c508842cb625db338b4034faa52a4a4c
similarity index 59%
rename from dev-util/cookiecutter/cookiecutter-1.7.0.ebuild
rename to dev-util/cookiecutter/cookiecutter-1.7.2.ebuild
index 13a0f94d191cd399a1d30077a3ae697af5fb1b06..69fab484d8e28c35a733ef317e21c739b11227d0 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6..8} )
 
 inherit distutils-r1
 
@@ -18,27 +18,31 @@ KEYWORDS="~amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND=">=dev-python/future-0.15.2[${PYTHON_USEDEP}]
-       >=dev-python/binaryornot-0.2.0[${PYTHON_USEDEP}]
+RDEPEND=">=dev-python/binaryornot-0.4.4[${PYTHON_USEDEP}]
        >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
+       <dev-python/jinja-3.0.0[${PYTHON_USEDEP}]
        >=dev-python/click-7.0[${PYTHON_USEDEP}]
-       >=dev-python/whichcraft-0.4.0[${PYTHON_USEDEP}]
-       >=dev-python/poyo-0.4.0[${PYTHON_USEDEP}]
-       >=dev-python/jinja2-time-0.1.0[${PYTHON_USEDEP}]
-       >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
+       >=dev-python/poyo-0.5.0[${PYTHON_USEDEP}]
+       >=dev-python/jinja2-time-0.2.0[${PYTHON_USEDEP}]
+       dev-python/python-slugify[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
+       >=dev-python/six-1.10[${PYTHON_USEDEP}]
+       <dev-python/markupsafe-2.0.0[${PYTHON_USEDEP}]
        dev-python/setuptools[${PYTHON_USEDEP}]"
 
 DEPEND="${RDEPEND}
        test? (
                dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/pytest-cov[${PYTHON_USEDEP}]
-               >=dev-python/pytest-mock-1.1[${PYTHON_USEDEP}]
-               dev-python/pytest-catchlog[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
                dev-python/freezegun[${PYTHON_USEDEP}]
                dev-vcs/git )"
 
 DOCS=( README.md HISTORY.md CONTRIBUTING.md )
 
+PATCHES=(
+       "${FILESDIR}/test_cli-1.7.2.patch"
+       )
+
 python_test() {
-       py.test || die
+       pytest -o addopts= || die
 }
diff --git a/dev-util/cookiecutter/files/test_cli-1.7.2.patch b/dev-util/cookiecutter/files/test_cli-1.7.2.patch
new file mode 100644 (file)
index 0000000..e9f8bfa
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/tests/test_cli.py b/tests/test_cli.py
+index e9b559c..9d89b2f 100644
+--- a/tests/test_cli.py
++++ b/tests/test_cli.py
+@@ -401,7 +401,8 @@ def test_cli_extra_context_invalid_format(cli_runner):
+         'tests/fake-repo-pre/', '--no-input', '-v', 'ExtraContextWithNoEqualsSoInvalid',
+     )
+     assert result.exit_code == 2
+-    assert "Error: Invalid value for '[EXTRA_CONTEXT]...'" in result.output
++    assert "Error: Invalid value for"
++    assert "[EXTRA_CONTEXT]..." in result.output
+     assert 'should contain items of the form key=value' in result.output