Add ripe atlas tools
more/packages/python.scm
21 | 21 | #:use-module (gnu packages) | |
22 | 22 | #:use-module (gnu packages compression) | |
23 | 23 | #:use-module (gnu packages databases) | |
24 | + | #:use-module (gnu packages networking) | |
24 | 25 | #:use-module (gnu packages python) | |
25 | 26 | #:use-module (gnu packages tls) | |
26 | 27 | #:use-module (guix packages) | |
… | |||
296 | 297 | (define-public python2-plumbum | |
297 | 298 | (package-with-python2 python-plumbum)) | |
298 | 299 | ||
299 | - | (define-public python2-trollius | |
300 | + | (define-public python-trollius | |
300 | 301 | (package | |
301 | - | (name "python2-trollius") | |
302 | + | (name "python-trollius") | |
302 | 303 | (version "2.1") | |
303 | 304 | (source (origin | |
304 | 305 | (method url-fetch) | |
… | |||
309 | 310 | (build-system python-build-system) | |
310 | 311 | (home-page "https://github.com/haypo/trollius") | |
311 | 312 | (propagated-inputs | |
312 | - | `(("futures" ,python2-futures) | |
313 | - | ("mock" ,python2-mock) | |
314 | - | ("six" ,python2-six))) | |
313 | + | `(("mock" ,python-mock) | |
314 | + | ("six" ,python-six))) | |
315 | 315 | (arguments | |
316 | - | `(#:python ,python-2 | |
317 | - | #:tests? #f)) | |
316 | + | `(#:tests? #f)) | |
318 | 317 | (synopsis "") | |
319 | 318 | (description "") | |
320 | 319 | (license license:asl2.0))) | |
321 | 320 | ||
321 | + | (define-public python2-trollius | |
322 | + | (package-with-python2 python-trollius)) | |
323 | + | ||
322 | 324 | (define-public python-neovim | |
323 | 325 | (package | |
324 | 326 | (name "python-neovim") | |
… | |||
347 | 349 | (propagated-inputs | |
348 | 350 | `(("trollius" ,python2-trollius) | |
349 | 351 | ,@(package-propagated-inputs parent)))))) | |
352 | + | ||
353 | + | (define-public python-cymruwhois | |
354 | + | (package | |
355 | + | (name "python-cymruwhois") | |
356 | + | (version "1.6") | |
357 | + | (source (origin | |
358 | + | (method url-fetch) | |
359 | + | (uri (pypi-uri "cymruwhois" version)) | |
360 | + | (sha256 | |
361 | + | (base32 | |
362 | + | "0m7jgpglkjd0lsyw64lfw6qxdm0fg0f54145f79kq4rk1vjqbh5n")))) | |
363 | + | (build-system python-build-system) | |
364 | + | (native-inputs | |
365 | + | `(("python-nose" ,python-nose))) | |
366 | + | (home-page "") | |
367 | + | (synopsis "") | |
368 | + | (description "") | |
369 | + | (license license:expat))) | |
370 | + | ||
371 | + | (define-public python2-cymruwhois | |
372 | + | (package-with-python2 python-cymruwhois)) | |
373 | + | ||
374 | + | (define-public python-ripe-atlas-sagan | |
375 | + | (package | |
376 | + | (name "python-ripe-atlas-sagan") | |
377 | + | (version "1.2.1") | |
378 | + | (source (origin | |
379 | + | (method url-fetch) | |
380 | + | (uri (pypi-uri "ripe.atlas.sagan" version)) | |
381 | + | (sha256 | |
382 | + | (base32 | |
383 | + | "0mc5f50jj61q5z92765gnqhifila2bdngaybzrh6hycz1x6lz0ra")))) | |
384 | + | (build-system python-build-system) | |
385 | + | (propagated-inputs | |
386 | + | `(("cryptography" ,python-cryptography) | |
387 | + | ("dateutil" ,python-dateutil) | |
388 | + | ("python-nose" ,python-nose) | |
389 | + | ("pytz" ,python-pytz))) | |
390 | + | (home-page "") | |
391 | + | (synopsis "") | |
392 | + | (description "") | |
393 | + | (license license:gpl3+))) | |
394 | + | ||
395 | + | (define-public python2-ripe-atlas-sagan | |
396 | + | (package-with-python2 python-ripe-atlas-sagan)) | |
397 | + | ||
398 | + | (define-public python-socketio-client | |
399 | + | (package | |
400 | + | (name "python-socketio-client") | |
401 | + | (version "0.7.2") | |
402 | + | (source (origin | |
403 | + | (method url-fetch) | |
404 | + | (uri (pypi-uri "socketIO-client" version)) | |
405 | + | (sha256 | |
406 | + | (base32 | |
407 | + | "1hfjfhyxgql1ndda1bagg8niy8m28byd2r0yq4l7zycwlzxq9kb4")))) | |
408 | + | (build-system python-build-system) | |
409 | + | (propagated-inputs | |
410 | + | `(("websocket-client" ,python-websocket-client) | |
411 | + | ("requests" ,python-requests))) | |
412 | + | (native-inputs | |
413 | + | `(("coverage" ,python-coverage) | |
414 | + | ("nose" ,python-nose))) | |
415 | + | (arguments '(#:tests? #f)); requires network | |
416 | + | (home-page "") | |
417 | + | (synopsis "") | |
418 | + | (description "") | |
419 | + | (license license:gpl3+))) | |
420 | + | ||
421 | + | (define-public python2-socketio-client | |
422 | + | (package-with-python2 python-socketio-client)) | |
423 | + | ||
424 | + | (define-public python-linecache2 | |
425 | + | (package | |
426 | + | (name "python-linecache2") | |
427 | + | (version "1.0.0") | |
428 | + | (source (origin | |
429 | + | (method url-fetch) | |
430 | + | (uri (pypi-uri "linecache2" version)) | |
431 | + | (sha256 | |
432 | + | (base32 | |
433 | + | "0z79g3ds5wk2lvnqw0y2jpakjf32h95bd9zmnvp7dnqhf57gy9jb")))) | |
434 | + | (build-system python-build-system) | |
435 | + | (arguments '(#:tests? #f)); circular dependency with unittest2 | |
436 | + | (propagated-inputs | |
437 | + | `(("pbr" ,python-pbr))) | |
438 | + | (home-page "") | |
439 | + | (synopsis "") | |
440 | + | (description "") | |
441 | + | (license license:gpl3+))) | |
442 | + | ||
443 | + | (define-public python2-linecache2 | |
444 | + | (package-with-python2 python-linecache2)) | |
445 | + | ||
446 | + | (define-public python-traceback2 | |
447 | + | (package | |
448 | + | (name "python-traceback2") | |
449 | + | (version "1.4.0") | |
450 | + | (source (origin | |
451 | + | (method url-fetch) | |
452 | + | (uri (pypi-uri "traceback2" version)) | |
453 | + | (sha256 | |
454 | + | (base32 | |
455 | + | "0c1h3jas1jp1fdbn9z2mrgn3jj0hw1x3yhnkxp7jw34q15xcdb05")))) | |
456 | + | (build-system python-build-system) | |
457 | + | (arguments '(#:tests? #f)); circular dependency with unittest2 | |
458 | + | (propagated-inputs | |
459 | + | `(("linecache2" ,python-linecache2) | |
460 | + | ("pbr" ,python-pbr))) | |
461 | + | (home-page "") | |
462 | + | (synopsis "") | |
463 | + | (description "") | |
464 | + | (license license:gpl3+))) | |
465 | + | ||
466 | + | (define-public python2-traceback2 | |
467 | + | (package-with-python2 python-traceback2)) | |
468 | + | ||
469 | + | (define-public python-argparse | |
470 | + | (package | |
471 | + | (name "python-argparse") | |
472 | + | (version "1.4.0") | |
473 | + | (source (origin | |
474 | + | (method url-fetch) | |
475 | + | (uri (pypi-uri "argparse" version)) | |
476 | + | (sha256 | |
477 | + | (base32 | |
478 | + | "1r6nznp64j68ih1k537wms7h57nvppq0szmwsaf99n71bfjqkc32")))) | |
479 | + | (build-system python-build-system) | |
480 | + | (home-page "") | |
481 | + | (synopsis "") | |
482 | + | (description "") | |
483 | + | (license license:gpl3+))) | |
484 | + | ||
485 | + | (define-public python2-argparse | |
486 | + | (package-with-python2 python-argparse)) | |
487 | + | ||
488 | + | (define-public python-unittest2-fix | |
489 | + | (package | |
490 | + | (inherit python-unittest2) | |
491 | + | (version "1.1.0") | |
492 | + | (source (origin | |
493 | + | (method url-fetch) | |
494 | + | (uri (pypi-uri "unittest2" version)) | |
495 | + | (sha256 | |
496 | + | (base32 | |
497 | + | "0y855kmx7a8rnf81d3lh5lyxai1908xjp0laf4glwa4c8472m212")))) | |
498 | + | (arguments | |
499 | + | `(#:phases | |
500 | + | (modify-phases %standard-phases | |
501 | + | (add-before 'check 'disable-failures | |
502 | + | (lambda _ | |
503 | + | (substitute* "unittest2/test/test_result.py" | |
504 | + | (("testGet") "dontTestGet")) | |
505 | + | (substitute* "unittest2/test/test_loader.py" | |
506 | + | (("test_loadTestsFromNames__relative_malformed_name") "dontTest") | |
507 | + | (("test_loadTestsFromName__relative_malformed_name") "dontTest2"))))))) | |
508 | + | (propagated-inputs | |
509 | + | `(("traceback2" ,python-traceback2) | |
510 | + | ("six" ,python-six) | |
511 | + | ("argparse" ,python-argparse))))) | |
512 | + | ||
513 | + | (define-public python2-unittest2-fix | |
514 | + | (package-with-python2 python-unittest2-fix)) | |
515 | + | ||
516 | + | (define-public python-funcsigs | |
517 | + | (package | |
518 | + | (name "python-funcsigs") | |
519 | + | (version "1.0.2") | |
520 | + | (source (origin | |
521 | + | (method url-fetch) | |
522 | + | (uri (pypi-uri "funcsigs" version)) | |
523 | + | (sha256 | |
524 | + | (base32 | |
525 | + | "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7")))) | |
526 | + | (build-system python-build-system) | |
527 | + | (native-inputs | |
528 | + | `(("unittest2" ,python-unittest2-fix))) | |
529 | + | (home-page "") | |
530 | + | (synopsis "") | |
531 | + | (description "") | |
532 | + | (license license:asl2.0))) | |
533 | + | ||
534 | + | (define-public python2-funcsigs | |
535 | + | (package-with-python2 python-funcsigs)) | |
536 | + | ||
537 | + | (define-public python-ripe-atlas-cousteau | |
538 | + | (package | |
539 | + | (name "python-ripe-atlas-cousteau") | |
540 | + | (version "1.4") | |
541 | + | (source (origin | |
542 | + | (method url-fetch) | |
543 | + | (uri (pypi-uri "ripe.atlas.cousteau" version)) | |
544 | + | (sha256 | |
545 | + | (base32 | |
546 | + | "0lhaanxs3hxlw1d0ma6rpx54p91v0kxvmxa82h86r6j5whdckq21")))) | |
547 | + | (build-system python-build-system) | |
548 | + | (propagated-inputs | |
549 | + | `(("websocket-client" ,python-websocket-client) | |
550 | + | ("socketIO-client" ,python-socketio-client) | |
551 | + | ("dateutil" ,python-dateutil) | |
552 | + | ("jsonschema" ,python-jsonschema) | |
553 | + | ("requests" ,python-requests))) | |
554 | + | (native-inputs | |
555 | + | `(("mock" ,python-mock) | |
556 | + | ("nose" ,python-nose) | |
557 | + | ("funcsigs" ,python-funcsigs) | |
558 | + | ("coverage" ,python-coverage))) | |
559 | + | (home-page "") | |
560 | + | (synopsis "") | |
561 | + | (description "") | |
562 | + | (license license:gpl3+))) | |
563 | + | ||
564 | + | (define-public python2-ripe-atlas-cousteau | |
565 | + | (package-with-python2 python-ripe-atlas-cousteau)) | |
566 | + | ||
567 | + | (define-public python-ripe-atlas-tools | |
568 | + | (package | |
569 | + | (name "python-ripe-atlas-tools") | |
570 | + | (version "2.1") | |
571 | + | (source (origin | |
572 | + | (method url-fetch) | |
573 | + | (uri (pypi-uri "ripe.atlas.tools" version)) | |
574 | + | (sha256 | |
575 | + | (base32 | |
576 | + | "07h9cjxxp0dx4p32dhf5j3cciiap7sc32hb1byljkll5lv4vm9l5")))) | |
577 | + | (build-system python-build-system) | |
578 | + | (propagated-inputs | |
579 | + | `(("pyopenssl" ,python-pyopenssl) | |
580 | + | ("sagan" ,python-ripe-atlas-sagan) | |
581 | + | ("cousteau" ,python-ripe-atlas-cousteau) | |
582 | + | ("pyaml" ,python-pyaml) | |
583 | + | ("ipy" ,python-ipy) | |
584 | + | ("tzlocal" ,python-tzlocal))) | |
585 | + | (native-inputs | |
586 | + | `(("mock" ,python-mock) | |
587 | + | ("coverage" ,python-coverage))) | |
588 | + | (arguments | |
589 | + | `(#:tests? #f; tests can't load dependencies | |
590 | + | #:phases | |
591 | + | (modify-phases %standard-phases | |
592 | + | (add-before 'check 'update-dependency | |
593 | + | (lambda _ | |
594 | + | (substitute* "setup.py" | |
595 | + | (("==1.2") "==1.2.1"))))))) | |
596 | + | (home-page "") | |
597 | + | (synopsis "") | |
598 | + | (description "") | |
599 | + | (license license:gpl3+))) | |
600 | + | ||
601 | + | (define-public python2-ripe-atlas-tools | |
602 | + | (package-with-python2 python-ripe-atlas-tools)) |