##// END OF EJS Templates
nix: Add pytest-sugar to our development environment.
Martin Bornhold -
r83:25a177ac default
parent child Browse files
Show More
@@ -1,471 +1,496 b''
1 1 {
2 2 Beaker = super.buildPythonPackage {
3 3 name = "Beaker-1.7.0";
4 4 buildInputs = with self; [];
5 5 doCheck = false;
6 6 propagatedBuildInputs = with self; [];
7 7 src = fetchurl {
8 8 url = "https://pypi.python.org/packages/97/8e/409d2e7c009b8aa803dc9e6f239f1db7c3cdf578249087a404e7c27a505d/Beaker-1.7.0.tar.gz";
9 9 md5 = "386be3f7fe427358881eee4622b428b3";
10 10 };
11 11 meta = {
12 12 license = [ pkgs.lib.licenses.bsdOriginal ];
13 13 };
14 14 };
15 15 Jinja2 = super.buildPythonPackage {
16 16 name = "Jinja2-2.8";
17 17 buildInputs = with self; [];
18 18 doCheck = false;
19 19 propagatedBuildInputs = with self; [MarkupSafe];
20 20 src = fetchurl {
21 21 url = "https://pypi.python.org/packages/f2/2f/0b98b06a345a761bec91a079ccae392d282690c2d8272e708f4d10829e22/Jinja2-2.8.tar.gz";
22 22 md5 = "edb51693fe22c53cee5403775c71a99e";
23 23 };
24 24 meta = {
25 25 license = [ pkgs.lib.licenses.bsdOriginal ];
26 26 };
27 27 };
28 28 Mako = super.buildPythonPackage {
29 29 name = "Mako-1.0.4";
30 30 buildInputs = with self; [];
31 31 doCheck = false;
32 32 propagatedBuildInputs = with self; [MarkupSafe];
33 33 src = fetchurl {
34 34 url = "https://pypi.python.org/packages/7a/ae/925434246ee90b42e8ef57d3b30a0ab7caf9a2de3e449b876c56dcb48155/Mako-1.0.4.tar.gz";
35 35 md5 = "c5fc31a323dd4990683d2f2da02d4e20";
36 36 };
37 37 meta = {
38 38 license = [ pkgs.lib.licenses.mit ];
39 39 };
40 40 };
41 41 MarkupSafe = super.buildPythonPackage {
42 42 name = "MarkupSafe-0.23";
43 43 buildInputs = with self; [];
44 44 doCheck = false;
45 45 propagatedBuildInputs = with self; [];
46 46 src = fetchurl {
47 47 url = "https://pypi.python.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz";
48 48 md5 = "f5ab3deee4c37cd6a922fb81e730da6e";
49 49 };
50 50 meta = {
51 51 license = [ pkgs.lib.licenses.bsdOriginal ];
52 52 };
53 53 };
54 54 PasteDeploy = super.buildPythonPackage {
55 55 name = "PasteDeploy-1.5.2";
56 56 buildInputs = with self; [];
57 57 doCheck = false;
58 58 propagatedBuildInputs = with self; [];
59 59 src = fetchurl {
60 60 url = "https://pypi.python.org/packages/0f/90/8e20cdae206c543ea10793cbf4136eb9a8b3f417e04e40a29d72d9922cbd/PasteDeploy-1.5.2.tar.gz";
61 61 md5 = "352b7205c78c8de4987578d19431af3b";
62 62 };
63 63 meta = {
64 64 license = [ pkgs.lib.licenses.mit ];
65 65 };
66 66 };
67 67 Pyro4 = super.buildPythonPackage {
68 68 name = "Pyro4-4.41";
69 69 buildInputs = with self; [];
70 70 doCheck = false;
71 71 propagatedBuildInputs = with self; [serpent];
72 72 src = fetchurl {
73 73 url = "https://pypi.python.org/packages/56/2b/89b566b4bf3e7f8ba790db2d1223852f8cb454c52cab7693dd41f608ca2a/Pyro4-4.41.tar.gz";
74 74 md5 = "ed69e9bfafa9c06c049a87cb0c4c2b6c";
75 75 };
76 76 meta = {
77 77 license = [ pkgs.lib.licenses.mit ];
78 78 };
79 79 };
80 80 WebOb = super.buildPythonPackage {
81 81 name = "WebOb-1.3.1";
82 82 buildInputs = with self; [];
83 83 doCheck = false;
84 84 propagatedBuildInputs = with self; [];
85 85 src = fetchurl {
86 86 url = "https://pypi.python.org/packages/16/78/adfc0380b8a0d75b2d543fa7085ba98a573b1ae486d9def88d172b81b9fa/WebOb-1.3.1.tar.gz";
87 87 md5 = "20918251c5726956ba8fef22d1556177";
88 88 };
89 89 meta = {
90 90 license = [ pkgs.lib.licenses.mit ];
91 91 };
92 92 };
93 93 WebTest = super.buildPythonPackage {
94 94 name = "WebTest-1.4.3";
95 95 buildInputs = with self; [];
96 96 doCheck = false;
97 97 propagatedBuildInputs = with self; [WebOb];
98 98 src = fetchurl {
99 99 url = "https://pypi.python.org/packages/51/3d/84fd0f628df10b30c7db87895f56d0158e5411206b721ca903cb51bfd948/WebTest-1.4.3.zip";
100 100 md5 = "631ce728bed92c681a4020a36adbc353";
101 101 };
102 102 meta = {
103 103 license = [ pkgs.lib.licenses.mit ];
104 104 };
105 105 };
106 106 configobj = super.buildPythonPackage {
107 107 name = "configobj-5.0.6";
108 108 buildInputs = with self; [];
109 109 doCheck = false;
110 110 propagatedBuildInputs = with self; [six];
111 111 src = fetchurl {
112 112 url = "https://pypi.python.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz";
113 113 md5 = "e472a3a1c2a67bb0ec9b5d54c13a47d6";
114 114 };
115 115 meta = {
116 116 license = [ pkgs.lib.licenses.bsdOriginal ];
117 117 };
118 118 };
119 119 dulwich = super.buildPythonPackage {
120 120 name = "dulwich-0.13.0";
121 121 buildInputs = with self; [];
122 122 doCheck = false;
123 123 propagatedBuildInputs = with self; [];
124 124 src = fetchurl {
125 125 url = "https://pypi.python.org/packages/84/95/732d280eee829dacc954e8109f97b47abcadcca472c2ab013e1635eb4792/dulwich-0.13.0.tar.gz";
126 126 md5 = "6dede0626657c2bd08f48ca1221eea91";
127 127 };
128 128 meta = {
129 129 license = [ pkgs.lib.licenses.gpl2Plus ];
130 130 };
131 131 };
132 132 greenlet = super.buildPythonPackage {
133 133 name = "greenlet-0.4.7";
134 134 buildInputs = with self; [];
135 135 doCheck = false;
136 136 propagatedBuildInputs = with self; [];
137 137 src = fetchurl {
138 138 url = "https://pypi.python.org/packages/7a/9f/a1a0d9bdf3203ae1502c5a8434fe89d323599d78a106985bc327351a69d4/greenlet-0.4.7.zip";
139 139 md5 = "c2333a8ff30fa75c5d5ec0e67b461086";
140 140 };
141 141 meta = {
142 142 license = [ pkgs.lib.licenses.mit ];
143 143 };
144 144 };
145 145 gunicorn = super.buildPythonPackage {
146 146 name = "gunicorn-19.6.0";
147 147 buildInputs = with self; [];
148 148 doCheck = false;
149 149 propagatedBuildInputs = with self; [];
150 150 src = fetchurl {
151 151 url = "https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80/gunicorn-19.6.0.tar.gz";
152 152 md5 = "338e5e8a83ea0f0625f768dba4597530";
153 153 };
154 154 meta = {
155 155 license = [ pkgs.lib.licenses.mit ];
156 156 };
157 157 };
158 158 hgsubversion = super.buildPythonPackage {
159 159 name = "hgsubversion-1.8.6";
160 160 buildInputs = with self; [];
161 161 doCheck = false;
162 162 propagatedBuildInputs = with self; [mercurial subvertpy];
163 163 src = fetchurl {
164 164 url = "https://pypi.python.org/packages/ce/97/032e5093ad250e9908cea04395cbddb6902d587f712a79b53b2d778bdfdd/hgsubversion-1.8.6.tar.gz";
165 165 md5 = "9310cb266031cf8d0779885782a84a5b";
166 166 };
167 167 meta = {
168 168 license = [ pkgs.lib.licenses.gpl1 ];
169 169 };
170 170 };
171 171 infrae.cache = super.buildPythonPackage {
172 172 name = "infrae.cache-1.0.1";
173 173 buildInputs = with self; [];
174 174 doCheck = false;
175 175 propagatedBuildInputs = with self; [Beaker repoze.lru];
176 176 src = fetchurl {
177 177 url = "https://pypi.python.org/packages/bb/f0/e7d5e984cf6592fd2807dc7bc44a93f9d18e04e6a61f87fdfb2622422d74/infrae.cache-1.0.1.tar.gz";
178 178 md5 = "b09076a766747e6ed2a755cc62088e32";
179 179 };
180 180 meta = {
181 181 license = [ pkgs.lib.licenses.zpt21 ];
182 182 };
183 183 };
184 184 mercurial = super.buildPythonPackage {
185 185 name = "mercurial-3.8.4";
186 186 buildInputs = with self; [];
187 187 doCheck = false;
188 188 propagatedBuildInputs = with self; [];
189 189 src = fetchurl {
190 190 url = "https://pypi.python.org/packages/bc/16/b66eef0b70ee2b4ebb8e76622fe21bbed834606dd8c1bd30d6936ebf6f45/mercurial-3.8.4.tar.gz";
191 191 md5 = "cec2c3db688cb87142809089c6ae13e9";
192 192 };
193 193 meta = {
194 194 license = [ pkgs.lib.licenses.gpl1 pkgs.lib.licenses.gpl2Plus ];
195 195 };
196 196 };
197 197 mock = super.buildPythonPackage {
198 198 name = "mock-1.0.1";
199 199 buildInputs = with self; [];
200 200 doCheck = false;
201 201 propagatedBuildInputs = with self; [];
202 202 src = fetchurl {
203 203 url = "https://pypi.python.org/packages/15/45/30273ee91feb60dabb8fbb2da7868520525f02cf910279b3047182feed80/mock-1.0.1.zip";
204 204 md5 = "869f08d003c289a97c1a6610faf5e913";
205 205 };
206 206 meta = {
207 207 license = [ pkgs.lib.licenses.bsdOriginal ];
208 208 };
209 209 };
210 210 msgpack-python = super.buildPythonPackage {
211 211 name = "msgpack-python-0.4.6";
212 212 buildInputs = with self; [];
213 213 doCheck = false;
214 214 propagatedBuildInputs = with self; [];
215 215 src = fetchurl {
216 216 url = "https://pypi.python.org/packages/15/ce/ff2840885789ef8035f66cd506ea05bdb228340307d5e71a7b1e3f82224c/msgpack-python-0.4.6.tar.gz";
217 217 md5 = "8b317669314cf1bc881716cccdaccb30";
218 218 };
219 219 meta = {
220 220 license = [ pkgs.lib.licenses.asl20 ];
221 221 };
222 222 };
223 223 py = super.buildPythonPackage {
224 224 name = "py-1.4.29";
225 225 buildInputs = with self; [];
226 226 doCheck = false;
227 227 propagatedBuildInputs = with self; [];
228 228 src = fetchurl {
229 229 url = "https://pypi.python.org/packages/2a/bc/a1a4a332ac10069b8e5e25136a35e08a03f01fd6ab03d819889d79a1fd65/py-1.4.29.tar.gz";
230 230 md5 = "c28e0accba523a29b35a48bb703fb96c";
231 231 };
232 232 meta = {
233 233 license = [ pkgs.lib.licenses.mit ];
234 234 };
235 235 };
236 236 pyramid = super.buildPythonPackage {
237 237 name = "pyramid-1.6.1";
238 238 buildInputs = with self; [];
239 239 doCheck = false;
240 240 propagatedBuildInputs = with self; [setuptools WebOb repoze.lru zope.interface zope.deprecation venusian translationstring PasteDeploy];
241 241 src = fetchurl {
242 242 url = "https://pypi.python.org/packages/30/b3/fcc4a2a4800cbf21989e00454b5828cf1f7fe35c63e0810b350e56d4c475/pyramid-1.6.1.tar.gz";
243 243 md5 = "b18688ff3cc33efdbb098a35b45dd122";
244 244 };
245 245 meta = {
246 246 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
247 247 };
248 248 };
249 249 pyramid-jinja2 = super.buildPythonPackage {
250 250 name = "pyramid-jinja2-2.5";
251 251 buildInputs = with self; [];
252 252 doCheck = false;
253 253 propagatedBuildInputs = with self; [pyramid zope.deprecation Jinja2 MarkupSafe];
254 254 src = fetchurl {
255 255 url = "https://pypi.python.org/packages/a1/80/595e26ffab7deba7208676b6936b7e5a721875710f982e59899013cae1ed/pyramid_jinja2-2.5.tar.gz";
256 256 md5 = "07cb6547204ac5e6f0b22a954ccee928";
257 257 };
258 258 meta = {
259 259 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
260 260 };
261 261 };
262 262 pyramid-mako = super.buildPythonPackage {
263 263 name = "pyramid-mako-1.0.2";
264 264 buildInputs = with self; [];
265 265 doCheck = false;
266 266 propagatedBuildInputs = with self; [pyramid Mako];
267 267 src = fetchurl {
268 268 url = "https://pypi.python.org/packages/f1/92/7e69bcf09676d286a71cb3bbb887b16595b96f9ba7adbdc239ffdd4b1eb9/pyramid_mako-1.0.2.tar.gz";
269 269 md5 = "ee25343a97eb76bd90abdc2a774eb48a";
270 270 };
271 271 meta = {
272 272 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
273 273 };
274 274 };
275 275 pytest = super.buildPythonPackage {
276 276 name = "pytest-2.8.5";
277 277 buildInputs = with self; [];
278 278 doCheck = false;
279 279 propagatedBuildInputs = with self; [py];
280 280 src = fetchurl {
281 281 url = "https://pypi.python.org/packages/b1/3d/d7ea9b0c51e0cacded856e49859f0a13452747491e842c236bbab3714afe/pytest-2.8.5.zip";
282 282 md5 = "8493b06f700862f1294298d6c1b715a9";
283 283 };
284 284 meta = {
285 285 license = [ pkgs.lib.licenses.mit ];
286 286 };
287 287 };
288 288 repoze.lru = super.buildPythonPackage {
289 289 name = "repoze.lru-0.6";
290 290 buildInputs = with self; [];
291 291 doCheck = false;
292 292 propagatedBuildInputs = with self; [];
293 293 src = fetchurl {
294 294 url = "https://pypi.python.org/packages/6e/1e/aa15cc90217e086dc8769872c8778b409812ff036bf021b15795638939e4/repoze.lru-0.6.tar.gz";
295 295 md5 = "2c3b64b17a8e18b405f55d46173e14dd";
296 296 };
297 297 meta = {
298 298 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
299 299 };
300 300 };
301 301 rhodecode-vcsserver = super.buildPythonPackage {
302 302 name = "rhodecode-vcsserver-4.5.0";
303 buildInputs = with self; [mock pytest WebTest];
303 buildInputs = with self; [mock pytest pytest-sugar WebTest];
304 304 doCheck = true;
305 305 propagatedBuildInputs = with self; [configobj dulwich hgsubversion infrae.cache mercurial msgpack-python pyramid Pyro4 simplejson subprocess32 waitress WebOb];
306 306 src = ./.;
307 307 meta = {
308 308 license = [ pkgs.lib.licenses.gpl3 { fullName = "GNU General Public License v3 or later (GPLv3+)"; } ];
309 309 };
310 310 };
311 311 serpent = super.buildPythonPackage {
312 312 name = "serpent-1.12";
313 313 buildInputs = with self; [];
314 314 doCheck = false;
315 315 propagatedBuildInputs = with self; [];
316 316 src = fetchurl {
317 317 url = "https://pypi.python.org/packages/3b/19/1e0e83b47c09edaef8398655088036e7e67386b5c48770218ebb339fbbd5/serpent-1.12.tar.gz";
318 318 md5 = "05869ac7b062828b34f8f927f0457b65";
319 319 };
320 320 meta = {
321 321 license = [ pkgs.lib.licenses.mit ];
322 322 };
323 323 };
324 324 setuptools = super.buildPythonPackage {
325 325 name = "setuptools-20.8.1";
326 326 buildInputs = with self; [];
327 327 doCheck = false;
328 328 propagatedBuildInputs = with self; [];
329 329 src = fetchurl {
330 330 url = "https://pypi.python.org/packages/c4/19/c1bdc88b53da654df43770f941079dbab4e4788c2dcb5658fb86259894c7/setuptools-20.8.1.zip";
331 331 md5 = "fe58a5cac0df20bb83942b252a4b0543";
332 332 };
333 333 meta = {
334 334 license = [ pkgs.lib.licenses.mit ];
335 335 };
336 336 };
337 337 simplejson = super.buildPythonPackage {
338 338 name = "simplejson-3.7.2";
339 339 buildInputs = with self; [];
340 340 doCheck = false;
341 341 propagatedBuildInputs = with self; [];
342 342 src = fetchurl {
343 343 url = "https://pypi.python.org/packages/6d/89/7f13f099344eea9d6722779a1f165087cb559598107844b1ac5dbd831fb1/simplejson-3.7.2.tar.gz";
344 344 md5 = "a5fc7d05d4cb38492285553def5d4b46";
345 345 };
346 346 meta = {
347 347 license = [ pkgs.lib.licenses.mit pkgs.lib.licenses.afl21 ];
348 348 };
349 349 };
350 350 six = super.buildPythonPackage {
351 351 name = "six-1.9.0";
352 352 buildInputs = with self; [];
353 353 doCheck = false;
354 354 propagatedBuildInputs = with self; [];
355 355 src = fetchurl {
356 356 url = "https://pypi.python.org/packages/16/64/1dc5e5976b17466fd7d712e59cbe9fb1e18bec153109e5ba3ed6c9102f1a/six-1.9.0.tar.gz";
357 357 md5 = "476881ef4012262dfc8adc645ee786c4";
358 358 };
359 359 meta = {
360 360 license = [ pkgs.lib.licenses.mit ];
361 361 };
362 362 };
363 363 subprocess32 = super.buildPythonPackage {
364 364 name = "subprocess32-3.2.6";
365 365 buildInputs = with self; [];
366 366 doCheck = false;
367 367 propagatedBuildInputs = with self; [];
368 368 src = fetchurl {
369 369 url = "https://pypi.python.org/packages/28/8d/33ccbff51053f59ae6c357310cac0e79246bbed1d345ecc6188b176d72c3/subprocess32-3.2.6.tar.gz";
370 370 md5 = "754c5ab9f533e764f931136974b618f1";
371 371 };
372 372 meta = {
373 373 license = [ pkgs.lib.licenses.psfl ];
374 374 };
375 375 };
376 376 subvertpy = super.buildPythonPackage {
377 377 name = "subvertpy-0.9.3";
378 378 buildInputs = with self; [];
379 379 doCheck = false;
380 380 propagatedBuildInputs = with self; [];
381 381 src = fetchurl {
382 382 url = "https://github.com/jelmer/subvertpy/archive/subvertpy-0.9.3.tar.gz";
383 383 md5 = "7b745a47128050ea5a73efcd913ec1cf";
384 384 };
385 385 meta = {
386 386 license = [ pkgs.lib.licenses.lgpl21Plus ];
387 387 };
388 388 };
389 389 translationstring = super.buildPythonPackage {
390 390 name = "translationstring-1.3";
391 391 buildInputs = with self; [];
392 392 doCheck = false;
393 393 propagatedBuildInputs = with self; [];
394 394 src = fetchurl {
395 395 url = "https://pypi.python.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz";
396 396 md5 = "a4b62e0f3c189c783a1685b3027f7c90";
397 397 };
398 398 meta = {
399 399 license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ];
400 400 };
401 401 };
402 402 venusian = super.buildPythonPackage {
403 403 name = "venusian-1.0";
404 404 buildInputs = with self; [];
405 405 doCheck = false;
406 406 propagatedBuildInputs = with self; [];
407 407 src = fetchurl {
408 408 url = "https://pypi.python.org/packages/86/20/1948e0dfc4930ddde3da8c33612f6a5717c0b4bc28f591a5c5cf014dd390/venusian-1.0.tar.gz";
409 409 md5 = "dccf2eafb7113759d60c86faf5538756";
410 410 };
411 411 meta = {
412 412 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
413 413 };
414 414 };
415 415 waitress = super.buildPythonPackage {
416 416 name = "waitress-0.8.9";
417 417 buildInputs = with self; [];
418 418 doCheck = false;
419 419 propagatedBuildInputs = with self; [setuptools];
420 420 src = fetchurl {
421 421 url = "https://pypi.python.org/packages/ee/65/fc9dee74a909a1187ca51e4f15ad9c4d35476e4ab5813f73421505c48053/waitress-0.8.9.tar.gz";
422 422 md5 = "da3f2e62b3676be5dd630703a68e2a04";
423 423 };
424 424 meta = {
425 425 license = [ pkgs.lib.licenses.zpt21 ];
426 426 };
427 427 };
428 428 wheel = super.buildPythonPackage {
429 429 name = "wheel-0.29.0";
430 430 buildInputs = with self; [];
431 431 doCheck = false;
432 432 propagatedBuildInputs = with self; [];
433 433 src = fetchurl {
434 434 url = "https://pypi.python.org/packages/c9/1d/bd19e691fd4cfe908c76c429fe6e4436c9e83583c4414b54f6c85471954a/wheel-0.29.0.tar.gz";
435 435 md5 = "555a67e4507cedee23a0deb9651e452f";
436 436 };
437 437 meta = {
438 438 license = [ pkgs.lib.licenses.mit ];
439 439 };
440 440 };
441 441 zope.deprecation = super.buildPythonPackage {
442 442 name = "zope.deprecation-4.1.1";
443 443 buildInputs = with self; [];
444 444 doCheck = false;
445 445 propagatedBuildInputs = with self; [setuptools];
446 446 src = fetchurl {
447 447 url = "https://pypi.python.org/packages/c5/c9/e760f131fcde817da6c186a3f4952b8f206b7eeb269bb6f0836c715c5f20/zope.deprecation-4.1.1.tar.gz";
448 448 md5 = "ce261b9384066f7e13b63525778430cb";
449 449 };
450 450 meta = {
451 451 license = [ pkgs.lib.licenses.zpt21 ];
452 452 };
453 453 };
454 454 zope.interface = super.buildPythonPackage {
455 455 name = "zope.interface-4.1.3";
456 456 buildInputs = with self; [];
457 457 doCheck = false;
458 458 propagatedBuildInputs = with self; [setuptools];
459 459 src = fetchurl {
460 460 url = "https://pypi.python.org/packages/9d/81/2509ca3c6f59080123c1a8a97125eb48414022618cec0e64eb1313727bfe/zope.interface-4.1.3.tar.gz";
461 461 md5 = "9ae3d24c0c7415deb249dd1a132f0f79";
462 462 };
463 463 meta = {
464 464 license = [ pkgs.lib.licenses.zpt21 ];
465 465 };
466 466 };
467 467
468 468 ### Test requirements
469 469
470
470 pytest-sugar = super.buildPythonPackage {
471 name = "pytest-sugar-0.7.1";
472 buildInputs = with self; [];
473 doCheck = false;
474 propagatedBuildInputs = with self; [pytest termcolor];
475 src = fetchurl {
476 url = "https://pypi.python.org/packages/03/97/05d988b4fa870e7373e8ee4582408543b9ca2bd35c3c67b569369c6f9c49/pytest-sugar-0.7.1.tar.gz";
477 md5 = "7400f7c11f3d572b2c2a3b60352d35fe";
478 };
479 meta = {
480 license = [ pkgs.lib.licenses.bsdOriginal ];
481 };
482 };
483 termcolor = super.buildPythonPackage {
484 name = "termcolor-1.1.0";
485 buildInputs = with self; [];
486 doCheck = false;
487 propagatedBuildInputs = with self; [];
488 src = fetchurl {
489 url = "https://pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz";
490 md5 = "043e89644f8909d462fbbfa511c768df";
491 };
492 meta = {
493 license = [ pkgs.lib.licenses.mit ];
494 };
495 };
471 496 }
@@ -1,102 +1,103 b''
1 1 # RhodeCode VCSServer provides access to different vcs backends via network.
2 2 # Copyright (C) 2014-2016 RodeCode GmbH
3 3 #
4 4 # This program is free software; you can redistribute it and/or modify
5 5 # it under the terms of the GNU General Public License as published by
6 6 # the Free Software Foundation; either version 3 of the License, or
7 7 # (at your option) any later version.
8 8 #
9 9 # This program is distributed in the hope that it will be useful,
10 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 # GNU General Public License for more details.
13 13 #
14 14 # You should have received a copy of the GNU General Public License
15 15 # along with this program; if not, write to the Free Software Foundation,
16 16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 17
18 18 from setuptools import setup, find_packages
19 19 from setuptools.command.test import test as TestCommand
20 20 from codecs import open
21 21 from os import path
22 22 import pkgutil
23 23 import sys
24 24
25 25
26 26 here = path.abspath(path.dirname(__file__))
27 27
28 28 with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
29 29 long_description = f.read()
30 30
31 31
32 32 def get_version():
33 33 version = pkgutil.get_data('vcsserver', 'VERSION')
34 34 return version.strip()
35 35
36 36
37 37 class PyTest(TestCommand):
38 38 user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
39 39
40 40 def initialize_options(self):
41 41 TestCommand.initialize_options(self)
42 42 self.pytest_args = []
43 43
44 44 def finalize_options(self):
45 45 TestCommand.finalize_options(self)
46 46 self.test_args = []
47 47 self.test_suite = True
48 48
49 49 def run_tests(self):
50 50 # import here, cause outside the eggs aren't loaded
51 51 import pytest
52 52 errno = pytest.main(self.pytest_args)
53 53 sys.exit(errno)
54 54
55 55
56 56 setup(
57 57 name='rhodecode-vcsserver',
58 58 version=get_version(),
59 59 description='Version Control System Server',
60 60 long_description=long_description,
61 61 url='http://www.rhodecode.com',
62 62 author='RhodeCode GmbH',
63 63 author_email='marcin@rhodecode.com',
64 64 cmdclass={'test': PyTest},
65 65 license='GPLv3',
66 66 classifiers=[
67 67 'Development Status :: 5 - Production/Stable',
68 68 'Intended Audience :: Developers',
69 69 'Topic :: Software Development :: Version Control',
70 70 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
71 71 'Programming Language :: Python :: 2.7',
72 72 ],
73 73 packages=find_packages(),
74 74 tests_require=[
75 75 'mock',
76 76 'pytest',
77 'pytest-sugar',
77 78 'WebTest',
78 79 ],
79 80 install_requires=[
80 81 'configobj',
81 82 'dulwich',
82 83 'hgsubversion',
83 84 'infrae.cache',
84 85 'mercurial',
85 86 'msgpack-python',
86 87 'pyramid',
87 88 'Pyro4',
88 89 'simplejson',
89 90 'subprocess32',
90 91 'waitress',
91 92 'WebOb',
92 93 ],
93 94 package_data={
94 95 'vcsserver': ['VERSION'],
95 96 },
96 97 entry_points={
97 98 'console_scripts': [
98 99 'vcsserver=vcsserver.main:main',
99 100 ],
100 101 'paste.app_factory': ['main=vcsserver.http_main:main']
101 102 },
102 103 )
General Comments 0
You need to be logged in to leave comments. Login now