1 |
commit: 9866d3d9c2da6bba1377796be35013440c79199e |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 09:19:17 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 09:20:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9866d3d9 |
7 |
|
8 |
dev-util/cookiecutter: add 2.1.0 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-util/cookiecutter/Manifest | 1 + |
13 |
dev-util/cookiecutter/cookiecutter-2.1.0.ebuild | 52 +++++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/cookiecutter/Manifest b/dev-util/cookiecutter/Manifest |
17 |
index 511c51671697..f4fc894bfbe4 100644 |
18 |
--- a/dev-util/cookiecutter/Manifest |
19 |
+++ b/dev-util/cookiecutter/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST cookiecutter-1.7.2.tar.gz 253484 BLAKE2B de1c773cd5e53532edc7af7aaeac6061b1a5293330b8162da0f31895b0c3a58a4e0f36d66bee3da328a6b0a59fb5bd917a2f3f6fcf7772a4c63db5cd0030caae SHA512 15cc145f143b4cac6e78b12e1c29e191d0c1c96b0187db05a4c8aac18310a5cb31d912073674ef4c01727c9b5a3b67f8c508842cb625db338b4034faa52a4a4c |
22 |
DIST cookiecutter-1.7.3.tar.gz 253444 BLAKE2B 92ae74768c909ab8e2ae97ad87921ae0cbf24c417ab6985ac10eacd913981ee7756843e2588936174d3c04ecfa7a62077a6d4a323fdfa6d1872f3c84d943cbcb SHA512 a7dd7993ba40a084a719d553afbb8035f26976f38a3e8ee373c8074db64eac6bd7b711eca8cedbfd1050fc057a0b45409af4d59ff3bde57b344317dbee56f10b |
23 |
DIST cookiecutter-2.0.2.tar.gz 260840 BLAKE2B 008c4dceb1218ba7ead3846d24fc77253988a1fedfee929f30b4d2a63ee6ead9f2733e58e84f2d29840a5885b6655bb7d554664cec4175f49bd333b493c0f36d SHA512 0bd490e3f7067fbe87aeff35255ccac0d05d723c6505345856284612752a65e4e35a8e5fb4410f900d42e3998e68d7aa8bec402686404336dedbc456fd4cda49 |
24 |
+DIST cookiecutter-2.1.0.tar.gz 262829 BLAKE2B 31ddf25912d4d5d077112ffb5ad85f25f1f3aaef4edd78768a4065aec5baafa8c4b46247ef0fd8941e9c1429161cbd15bac999519f8b4c994e5aab22963288a8 SHA512 507e0030253f02d52e14cf39e8454fe3ea712a8768e9d613aa4cb41985e7d73046286d0c8eb346378c32b2a5ef6dc6481bce92eca574a49e9f21b3944307467f |
25 |
|
26 |
diff --git a/dev-util/cookiecutter/cookiecutter-2.1.0.ebuild b/dev-util/cookiecutter/cookiecutter-2.1.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..e519855dd0ec |
29 |
--- /dev/null |
30 |
+++ b/dev-util/cookiecutter/cookiecutter-2.1.0.ebuild |
31 |
@@ -0,0 +1,52 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Command-line utility to create projects from cookiecutters (project templates)" |
42 |
+HOMEPAGE="https://github.com/cookiecutter/cookiecutter" |
43 |
+SRC_URI="https://github.com/cookiecutter/cookiecutter/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/binaryornot-0.4.4[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/click-7.0[${PYTHON_USEDEP}] |
52 |
+ <dev-python/click-9.0.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jinja-2.7[${PYTHON_USEDEP}] |
54 |
+ <dev-python/jinja-4.0.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/jinja2-time-0.2.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/requests-2.23.0[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+ |
61 |
+BDEPEND=" |
62 |
+ test? ( |
63 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
64 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
65 |
+ dev-vcs/git |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+DOCS=( README.md HISTORY.md CONTRIBUTING.md ) |
70 |
+ |
71 |
+PATCHES=( |
72 |
+ "${FILESDIR}/test_cli-1.7.2.patch" |
73 |
+) |
74 |
+ |
75 |
+distutils_enable_tests pytest |
76 |
+# TODO: Package sphinx-click |
77 |
+# distutils_enable_sphinx docs \ |
78 |
+# dev-python/sphinx_rtd_theme \ |
79 |
+# dev-python/recommonmark |
80 |
+ |
81 |
+python_test() { |
82 |
+ epytest -o addopts= |
83 |
+} |