1 |
commit: e7d6dd3857abb3801fa7ba768af4f688f2ad966b |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 15:38:13 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 15:38:13 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d6dd38 |
7 |
|
8 |
dev-util/cookiecutter: Initial version |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
dev-util/cookiecutter/Manifest | 1 + |
13 |
dev-util/cookiecutter/cookiecutter-1.4.0.ebuild | 42 +++++++++++++++++++++++++ |
14 |
dev-util/cookiecutter/metadata.xml | 8 +++++ |
15 |
3 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/cookiecutter/Manifest b/dev-util/cookiecutter/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000..ef7f38e |
20 |
--- /dev/null |
21 |
+++ b/dev-util/cookiecutter/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST cookiecutter-1.4.0.tar.gz 226136 SHA256 7697b1d64cd9b8eb5abd9e7594e318a80f1382f45d879c425944175697b29db2 SHA512 21cc9293b81c21f9256a73728310bd7898b2132bc007ef650ba94394e872aa97dfba83b93018923e773b908f8822f5f9d992e5cc078936e2f9ba032f3cc83f9d WHIRLPOOL d1b01766fa42eaa46b6fefe2b82ebe7712c83327e08704ddc938c8dc8f5fb0167e2d1cfe47373274f2ef387c4a253d9f88b46ac57804ed7557b8585da94b7590 |
24 |
|
25 |
diff --git a/dev-util/cookiecutter/cookiecutter-1.4.0.ebuild b/dev-util/cookiecutter/cookiecutter-1.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..e56a33a |
28 |
--- /dev/null |
29 |
+++ b/dev-util/cookiecutter/cookiecutter-1.4.0.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_4} ) |
38 |
+ |
39 |
+inherit vcs-snapshot distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Command-line utility to create projects from cookiecutters (project templates)" |
42 |
+HOMEPAGE="https://github.com/audreyr/cookiecutter" |
43 |
+ |
44 |
+SRC_URI="https://github.com/audreyr/cookiecutter/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RESTRICT="test" # tests currently fail here |
52 |
+ |
53 |
+RDEPEND=">=dev-python/binaryornot-0.2.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/future-0.15.2[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/jinja-2.7[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/click-5.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/whichcraft-0.1.1[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/poyo-0.4.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/jinja2-time-0.1.0[${PYTHON_USEDEP}] |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
61 |
+ |
62 |
+DEPEND="${RDEPEND} |
63 |
+ test? ( |
64 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/pytest-mock-1.1[${PYTHON_USEDEP}] |
66 |
+ dev-python/freezegun[${PYTHON_USEDEP}] )" |
67 |
+ |
68 |
+DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst ) |
69 |
+ |
70 |
+python_test() { |
71 |
+ py.test || die |
72 |
+} |
73 |
|
74 |
diff --git a/dev-util/cookiecutter/metadata.xml b/dev-util/cookiecutter/metadata.xml |
75 |
new file mode 100644 |
76 |
index 00000000..97df2a0 |
77 |
--- /dev/null |
78 |
+++ b/dev-util/cookiecutter/metadata.xml |
79 |
@@ -0,0 +1,8 @@ |
80 |
+<?xml version="1.0" encoding="UTF-8"?> |
81 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
82 |
+<pkgmetadata> |
83 |
+ <maintainer type="person"> |
84 |
+ <email>mrueg@g.o</email> |
85 |
+ <name>Manuel Rüger</name> |
86 |
+ </maintainer> |
87 |
+</pkgmetadata> |