Gentoo Archives: gentoo-commits

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/dev-zero:master commit in: dev-python/whichcraft/, dev-python/binaryornot/, dev-python/pytest-mock/, ...
Date: Thu, 26 Nov 2015 10:35:34
Message-Id: 1448534073.3d94349e9cd128e76f1ed90ef7c76b6f0001f18f.dev-zero@gentoo
1 commit: 3d94349e9cd128e76f1ed90ef7c76b6f0001f18f
2 Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 26 10:34:33 2015 +0000
4 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 26 10:34:33 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=3d94349e
7
8 import (and bump) cookiecutter and some rev-deps from mrueg's overlay
9
10 dev-python/binaryornot/Manifest | 1 +
11 dev-python/binaryornot/binaryornot-0.4.0.ebuild | 28 ++++++++++++++++++
12 dev-python/binaryornot/metadata.xml | 8 ++++++
13 dev-python/pytest-mock/Manifest | 1 +
14 dev-python/pytest-mock/metadata.xml | 8 ++++++
15 dev-python/pytest-mock/pytest-mock-0.8.1.ebuild | 21 ++++++++++++++
16 dev-python/whichcraft/Manifest | 1 +
17 dev-python/whichcraft/metadata.xml | 8 ++++++
18 dev-python/whichcraft/whichcraft-0.1.1.ebuild | 24 ++++++++++++++++
19 dev-util/cookiecutter/Manifest | 1 +
20 dev-util/cookiecutter/cookiecutter-1.3.0.ebuild | 38 +++++++++++++++++++++++++
21 dev-util/cookiecutter/metadata.xml | 8 ++++++
22 12 files changed, 147 insertions(+)
23
24 diff --git a/dev-python/binaryornot/Manifest b/dev-python/binaryornot/Manifest
25 new file mode 100644
26 index 0000000..029709a
27 --- /dev/null
28 +++ b/dev-python/binaryornot/Manifest
29 @@ -0,0 +1 @@
30 +DIST binaryornot-0.4.0.tar.gz 371339 SHA256 2d2fa466cf6755638af0295b6ad048543e31332b40e905bbf546e28f63eeb9be SHA512 b63123a1496168142aa7d9119ac6d910682b8fe28bde1624f933b2368f884d8a6552608238e2dd64779fb035a20ecd8d16d7777f3f0eaf48674750eae2f3ef10 WHIRLPOOL 5434ba25f29dee39399c58d62d7a776194740b25a54592b8002d4687117d9748b129314e559c7fb5ad846dfe4ab3d1b253f72c2bc0f7a424b165eee500a3a881
31
32 diff --git a/dev-python/binaryornot/binaryornot-0.4.0.ebuild b/dev-python/binaryornot/binaryornot-0.4.0.ebuild
33 new file mode 100644
34 index 0000000..68536cf
35 --- /dev/null
36 +++ b/dev-python/binaryornot/binaryornot-0.4.0.ebuild
37 @@ -0,0 +1,28 @@
38 +# Copyright 1999-2015 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +# $Id$
41 +
42 +EAPI=5
43 +
44 +PYTHON_COMPAT=( python{2_7,3_4} )
45 +
46 +inherit distutils-r1
47 +
48 +DESCRIPTION="Ultra-lightweight pure Python package to guess whether a file is binary or text"
49 +HOMEPAGE="https://github.com/audreyr/binaryornot"
50 +SRC_URI="https://github.com/audreyr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +KEYWORDS="~amd64"
55 +IUSE="test"
56 +
57 +RDEPEND=">=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]"
58 +DEPEND="test? ( ${RDEPEND}
59 + dev-python/hypothesis[${PYTHON_USEDEP}] )"
60 +
61 +DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
62 +
63 +python_test() {
64 + esetup.py test || die
65 +}
66
67 diff --git a/dev-python/binaryornot/metadata.xml b/dev-python/binaryornot/metadata.xml
68 new file mode 100644
69 index 0000000..bfcb697
70 --- /dev/null
71 +++ b/dev-python/binaryornot/metadata.xml
72 @@ -0,0 +1,8 @@
73 +<?xml version="1.0" encoding="UTF-8"?>
74 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
75 +<pkgmetadata>
76 + <maintainer>
77 + <email>mrueg@g.o</email>
78 + <name>Manuel Rüger</name>
79 + </maintainer>
80 +</pkgmetadata>
81
82 diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
83 new file mode 100644
84 index 0000000..5d5bad7
85 --- /dev/null
86 +++ b/dev-python/pytest-mock/Manifest
87 @@ -0,0 +1 @@
88 +DIST pytest-mock-0.8.1.zip 16596 SHA256 2ba9b5feebc3c4fd5fc34df8c4b8401f9d5936aa8c64be15d74dae303467946b SHA512 30b20e315124a1a0a2aadd548d8b6b4a4762b425e5b4807e7ac4661cdaa3e5b62876fe62a68a3e3de693d2910f8c0c24be3e82e5b24215e5692c80fedfd1f8df WHIRLPOOL e934e1dfa0fbeeab5b72a7048d940e499e057ea1c631c21339c54e15792f7a0aaa119fda8c45922e47e2efbfe276fb82725d0b1d22bb877f952896887e71b790
89
90 diff --git a/dev-python/pytest-mock/metadata.xml b/dev-python/pytest-mock/metadata.xml
91 new file mode 100644
92 index 0000000..bfcb697
93 --- /dev/null
94 +++ b/dev-python/pytest-mock/metadata.xml
95 @@ -0,0 +1,8 @@
96 +<?xml version="1.0" encoding="UTF-8"?>
97 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
98 +<pkgmetadata>
99 + <maintainer>
100 + <email>mrueg@g.o</email>
101 + <name>Manuel Rüger</name>
102 + </maintainer>
103 +</pkgmetadata>
104
105 diff --git a/dev-python/pytest-mock/pytest-mock-0.8.1.ebuild b/dev-python/pytest-mock/pytest-mock-0.8.1.ebuild
106 new file mode 100644
107 index 0000000..b9e31cf
108 --- /dev/null
109 +++ b/dev-python/pytest-mock/pytest-mock-0.8.1.ebuild
110 @@ -0,0 +1,21 @@
111 +# Copyright 1999-2015 Gentoo Foundation
112 +# Distributed under the terms of the GNU General Public License v2
113 +# $Id$
114 +
115 +EAPI=5
116 +PYTHON_COMPAT=(python{2_7,3_4})
117 +
118 +inherit distutils-r1
119 +
120 +DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test"
121 +HOMEPAGE="https://github.com/pytest-dev/pytest-mock"
122 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
123 +
124 +LICENSE="GPL-3"
125 +SLOT="0"
126 +KEYWORDS="~amd64"
127 +IUSE="test"
128 +
129 +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
130 +DEPEND="app-arch/unzip
131 + test? ( ${RDEPEND} )"
132
133 diff --git a/dev-python/whichcraft/Manifest b/dev-python/whichcraft/Manifest
134 new file mode 100644
135 index 0000000..d06a519
136 --- /dev/null
137 +++ b/dev-python/whichcraft/Manifest
138 @@ -0,0 +1 @@
139 +DIST whichcraft-0.1.1.tar.gz 7833 SHA256 7b2d3584318a890acc8e2665b434ad3214caff0684450cc60c60d16fa73117f7 SHA512 e6c3e5ea866e9bf47ddf7a4a11ac1124d3f6fd50233624a493b09685e0e4b5d805768399391f0580228c8ca60d6c347499108027b12b05bf65a2d8dc78a9801a WHIRLPOOL 1f4a92df6ac16e729ea03be340971d97ffb11b3da795f5d1a7e0bc836aaa06de04a0d7c2a819b45fccf18f7881af046c355d60bb9d0f8453161116c26da9fdd4
140
141 diff --git a/dev-python/whichcraft/metadata.xml b/dev-python/whichcraft/metadata.xml
142 new file mode 100644
143 index 0000000..bfcb697
144 --- /dev/null
145 +++ b/dev-python/whichcraft/metadata.xml
146 @@ -0,0 +1,8 @@
147 +<?xml version="1.0" encoding="UTF-8"?>
148 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
149 +<pkgmetadata>
150 + <maintainer>
151 + <email>mrueg@g.o</email>
152 + <name>Manuel Rüger</name>
153 + </maintainer>
154 +</pkgmetadata>
155
156 diff --git a/dev-python/whichcraft/whichcraft-0.1.1.ebuild b/dev-python/whichcraft/whichcraft-0.1.1.ebuild
157 new file mode 100644
158 index 0000000..91b4688
159 --- /dev/null
160 +++ b/dev-python/whichcraft/whichcraft-0.1.1.ebuild
161 @@ -0,0 +1,24 @@
162 +# Copyright 1999-2015 Gentoo Foundation
163 +# Distributed under the terms of the GNU General Public License v2
164 +# $Id$
165 +
166 +EAPI=5
167 +
168 +PYTHON_COMPAT=( python{2_7,3_4} )
169 +
170 +inherit distutils-r1
171 +
172 +DESCRIPTION=" This package provides cross-platform cross-python shutil.which functionality"
173 +HOMEPAGE="https://github.com/pydanny/whichcraft"
174 +SRC_URI="https://github.com/pydanny/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
175 +
176 +LICENSE="BSD"
177 +SLOT="0"
178 +KEYWORDS="~amd64"
179 +IUSE="test"
180 +
181 +DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
182 +
183 +python_test() {
184 + ${PYTHON} test_whichcraft.py || die
185 +}
186
187 diff --git a/dev-util/cookiecutter/Manifest b/dev-util/cookiecutter/Manifest
188 new file mode 100644
189 index 0000000..fae5887
190 --- /dev/null
191 +++ b/dev-util/cookiecutter/Manifest
192 @@ -0,0 +1 @@
193 +DIST cookiecutter-1.3.0.tar.gz 219110 SHA256 8fb5297bea5956d20a68c2d487a7a917d634e153a5fc2ffe6736a472e09690ed SHA512 e195e103da2cbc2aa40ea2cde47db8bea3cadf79506ad11062f2856a7fe7199168037a4805f2a1cfb56bc423c7e4f15f43ef15f974c7d38240720e3cb0d12c61 WHIRLPOOL e96c22fd05ee01cf1d525245764cdc408234af704d8f95d639b2a727af01f35178a9633f17cf716af5c26efba8e868b50ab07cfbe939b01815f03b0d07a57821
194
195 diff --git a/dev-util/cookiecutter/cookiecutter-1.3.0.ebuild b/dev-util/cookiecutter/cookiecutter-1.3.0.ebuild
196 new file mode 100644
197 index 0000000..9417719
198 --- /dev/null
199 +++ b/dev-util/cookiecutter/cookiecutter-1.3.0.ebuild
200 @@ -0,0 +1,38 @@
201 +# Copyright 1999-2015 Gentoo Foundation
202 +# Distributed under the terms of the GNU General Public License v2
203 +# $Id$
204 +
205 +EAPI=5
206 +
207 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
208 +
209 +inherit distutils-r1
210 +
211 +DESCRIPTION="Command-line utility to create projects from cookiecutters (project templates)"
212 +HOMEPAGE="https://github.com/audreyr/cookiecutter"
213 +
214 +SRC_URI="https://github.com/audreyr/cookiecutter/archive/${PV}.tar.gz -> ${P}.tar.gz"
215 +
216 +LICENSE="BSD"
217 +SLOT="0"
218 +KEYWORDS="~amd64"
219 +IUSE="test"
220 +
221 +#RESTRICT="test" # tests currently fail here
222 +
223 +RDEPEND=">=dev-python/binaryornot-0.2.0[${PYTHON_USEDEP}]
224 + >=dev-python/future-0.15.2[${PYTHON_USEDEP}]
225 + >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
226 + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
227 + >=dev-python/click-4.0[${PYTHON_USEDEP}]
228 + >=dev-python/whichcraft-0.1.1[${PYTHON_USEDEP}]"
229 +
230 +DEPEND="test? ( ${RDEPEND}
231 + dev-python/pytest[${PYTHON_USEDEP}]
232 + dev-python/pytest-mock[${PYTHON_USEDEP}] )"
233 +
234 +DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
235 +
236 +python_test() {
237 + py.test || die
238 +}
239
240 diff --git a/dev-util/cookiecutter/metadata.xml b/dev-util/cookiecutter/metadata.xml
241 new file mode 100644
242 index 0000000..bfcb697
243 --- /dev/null
244 +++ b/dev-util/cookiecutter/metadata.xml
245 @@ -0,0 +1,8 @@
246 +<?xml version="1.0" encoding="UTF-8"?>
247 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
248 +<pkgmetadata>
249 + <maintainer>
250 + <email>mrueg@g.o</email>
251 + <name>Manuel Rüger</name>
252 + </maintainer>
253 +</pkgmetadata>