diff options
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 257 |
1 files changed, 173 insertions, 84 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8bba7ca2565..717a81e59fc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -22,6 +22,8 @@ | |||
| 22 | ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> | 22 | ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> |
| 23 | ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org> | 23 | ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org> |
| 24 | ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com> | 24 | ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com> |
| 25 | ;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com> | ||
| 26 | ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is> | ||
| 25 | ;;; | 27 | ;;; |
| 26 | ;;; This file is part of GNU Guix. | 28 | ;;; This file is part of GNU Guix. |
| 27 | ;;; | 29 | ;;; |
| @@ -384,18 +386,18 @@ instead of @command{python3}."))) | |||
| 384 | (define-public python-psutil | 386 | (define-public python-psutil |
| 385 | (package | 387 | (package |
| 386 | (name "python-psutil") | 388 | (name "python-psutil") |
| 387 | (version "3.3.0") | 389 | (version "4.3.0") |
| 388 | (source | 390 | (source |
| 389 | (origin | 391 | (origin |
| 390 | (method url-fetch) | 392 | (method url-fetch) |
| 391 | (uri (pypi-uri "psutil" version)) | 393 | (uri (pypi-uri "psutil" version)) |
| 392 | (sha256 | 394 | (sha256 |
| 393 | (base32 | 395 | (base32 |
| 394 | "11bd1555vf2ibjnmqf64im5cp55vcqfq45ccinm9ll3bs68na6s2")))) | 396 | "1w4r09fvn6kd80m5mx4ws1wz100brkaq6hzzpwrns8cgjzjpl6c6")))) |
| 395 | (build-system python-build-system) | 397 | (build-system python-build-system) |
| 396 | (native-inputs | 398 | (native-inputs |
| 397 | `(("python-setuptools" ,python-setuptools))) | 399 | `(("python-setuptools" ,python-setuptools))) |
| 398 | (home-page "https://pypi.python.org/pypi/psutil/") | 400 | (home-page "https://www.github.com/giampaolo/psutil") |
| 399 | (synopsis "Library for retrieving information on running processes") | 401 | (synopsis "Library for retrieving information on running processes") |
| 400 | (description | 402 | (description |
| 401 | "psutil (Python system and process utilities) is a library for retrieving | 403 | "psutil (Python system and process utilities) is a library for retrieving |
| @@ -1139,15 +1141,14 @@ after Andy Lester’s Perl module WWW::Mechanize.") | |||
| 1139 | (define-public python-simplejson | 1141 | (define-public python-simplejson |
| 1140 | (package | 1142 | (package |
| 1141 | (name "python-simplejson") | 1143 | (name "python-simplejson") |
| 1142 | (version "3.3.0") | 1144 | (version "3.8.2") |
| 1143 | (source | 1145 | (source |
| 1144 | (origin | 1146 | (origin |
| 1145 | (method url-fetch) | 1147 | (method url-fetch) |
| 1146 | (uri (string-append "https://pypi.python.org/packages/source/s/simplejson/simplejson-" | 1148 | (uri (pypi-uri "simplejson" version)) |
| 1147 | version ".tar.gz")) | ||
| 1148 | (sha256 | 1149 | (sha256 |
| 1149 | (base32 | 1150 | (base32 |
| 1150 | "07wsry5j44l5zzm74l4j2bvasiq8n5m32f31n2p7c68i5vc6p2ks")))) | 1151 | "0zylrnax8b6r0ndgni4w9c599fi6wm9vx5g6k3ddqfj3932kk16m")))) |
| 1151 | (build-system python-build-system) | 1152 | (build-system python-build-system) |
| 1152 | (home-page "http://simplejson.readthedocs.org/en/latest/") | 1153 | (home-page "http://simplejson.readthedocs.org/en/latest/") |
| 1153 | (synopsis | 1154 | (synopsis |
| @@ -2030,14 +2031,14 @@ have failed since the last commit or what tests are currently failing.") | |||
| 2030 | (define-public python-coverage | 2031 | (define-public python-coverage |
| 2031 | (package | 2032 | (package |
| 2032 | (name "python-coverage") | 2033 | (name "python-coverage") |
| 2033 | (version "4.0.3") | 2034 | (version "4.1") |
| 2034 | (source | 2035 | (source |
| 2035 | (origin | 2036 | (origin |
| 2036 | (method url-fetch) | 2037 | (method url-fetch) |
| 2037 | (uri (pypi-uri "coverage" version)) | 2038 | (uri (pypi-uri "coverage" version)) |
| 2038 | (sha256 | 2039 | (sha256 |
| 2039 | (base32 | 2040 | (base32 |
| 2040 | "0qjlja8ny4gcfp8abqfwdrvr8qw9kr69lkja0b4cqqbsdmdjgcc5")))) | 2041 | "01rbr4br4lsk0lwn8fb96zwd2xr4f0mg1w7iq3j11i8f5ig2nqs1")))) |
| 2041 | (build-system python-build-system) | 2042 | (build-system python-build-system) |
| 2042 | (inputs | 2043 | (inputs |
| 2043 | `(("python-setuptools" ,python-setuptools))) | 2044 | `(("python-setuptools" ,python-setuptools))) |
| @@ -2083,14 +2084,13 @@ backported from Python 2.7 for Python 2.4+.") | |||
| 2083 | (define-public behave | 2084 | (define-public behave |
| 2084 | (package | 2085 | (package |
| 2085 | (name "behave") | 2086 | (name "behave") |
| 2086 | (version "1.2.4") | 2087 | (version "1.2.5") |
| 2087 | (source (origin | 2088 | (source (origin |
| 2088 | (method url-fetch) | 2089 | (method url-fetch) |
| 2089 | (uri (string-append "https://pypi.python.org/packages/source/b/" | 2090 | (uri (pypi-uri "behave" version ".tar.bz2")) |
| 2090 | name "/" name "-" version ".tar.gz")) | ||
| 2091 | (sha256 | 2091 | (sha256 |
| 2092 | (base32 | 2092 | (base32 |
| 2093 | "1v2rfy8xnf0rk7cj4cgr7lam4015d458i7bg0xqs9czfv6njlm14")))) | 2093 | "1iypp6z46r19n4xmgx6m1lwmlpfjh8vapq8izigrqlaarvp2y64c")))) |
| 2094 | (build-system python-build-system) | 2094 | (build-system python-build-system) |
| 2095 | (inputs | 2095 | (inputs |
| 2096 | `(("python-setuptools" ,python-setuptools) | 2096 | `(("python-setuptools" ,python-setuptools) |
| @@ -3283,15 +3283,14 @@ that client code uses to construct the grammar directly in Python code.") | |||
| 3283 | (define-public python-numexpr | 3283 | (define-public python-numexpr |
| 3284 | (package | 3284 | (package |
| 3285 | (name "python-numexpr") | 3285 | (name "python-numexpr") |
| 3286 | (version "2.4.4") | 3286 | (version "2.6.0") |
| 3287 | (source | 3287 | (source |
| 3288 | (origin | 3288 | (origin |
| 3289 | (method url-fetch) | 3289 | (method url-fetch) |
| 3290 | (uri (string-append "https://pypi.python.org/packages/source/" | 3290 | (uri (pypi-uri "numexpr" version)) |
| 3291 | "n/numexpr/numexpr-" version ".tar.gz")) | ||
| 3292 | (sha256 | 3291 | (sha256 |
| 3293 | (base32 | 3292 | (base32 |
| 3294 | "0nsnff5312fm38w6dm34bw7ghfqqy8vl9gig0al963h4mz8zm8nz")))) | 3293 | "0i6iagl2hhbr8q4qzbbjd859v5806vqylq87fq7pi914ps6d6cag")))) |
| 3295 | (build-system python-build-system) | 3294 | (build-system python-build-system) |
| 3296 | (arguments `(#:tests? #f)) ; no tests included | 3295 | (arguments `(#:tests? #f)) ; no tests included |
| 3297 | (propagated-inputs | 3296 | (propagated-inputs |
| @@ -4132,13 +4131,13 @@ child application and control it as if a human were typing commands.") | |||
| 4132 | (define-public python-setuptools-scm | 4131 | (define-public python-setuptools-scm |
| 4133 | (package | 4132 | (package |
| 4134 | (name "python-setuptools-scm") | 4133 | (name "python-setuptools-scm") |
| 4135 | (version "1.9.0") | 4134 | (version "1.11.1") |
| 4136 | (source (origin | 4135 | (source (origin |
| 4137 | (method url-fetch) | 4136 | (method url-fetch) |
| 4138 | (uri (pypi-uri "setuptools_scm" version)) | 4137 | (uri (pypi-uri "setuptools_scm" version)) |
| 4139 | (sha256 | 4138 | (sha256 |
| 4140 | (base32 | 4139 | (base32 |
| 4141 | "0y24bl893zk6nrklbvdrlmpkalf214zjn6k1xrglljd29rrn4wxi")))) | 4140 | "1gqr73i150yzj3mz32854vj93x07yr52kn8fdckwa41ll8wgficc")))) |
| 4142 | (build-system python-build-system) | 4141 | (build-system python-build-system) |
| 4143 | (native-inputs `(("python-setuptools" ,python-setuptools))) | 4142 | (native-inputs `(("python-setuptools" ,python-setuptools))) |
| 4144 | (home-page "https://github.com/pypa/setuptools_scm/") | 4143 | (home-page "https://github.com/pypa/setuptools_scm/") |
| @@ -4507,6 +4506,30 @@ features useful for text console applications.") | |||
| 4507 | (define-public python2-urwid | 4506 | (define-public python2-urwid |
| 4508 | (package-with-python2 python-urwid)) | 4507 | (package-with-python2 python-urwid)) |
| 4509 | 4508 | ||
| 4509 | (define-public python-urwidtrees | ||
| 4510 | (package | ||
| 4511 | (name "python-urwidtrees") | ||
| 4512 | (version "1.0.1.1") | ||
| 4513 | (source | ||
| 4514 | (origin | ||
| 4515 | (method url-fetch) | ||
| 4516 | (uri (pypi-uri "urwidtrees" version)) | ||
| 4517 | (sha256 | ||
| 4518 | (base32 | ||
| 4519 | "1zcvy12s7h3fazf33d6y7b4v19p8hg95xqwhqlmw6jz9fq76v9h8")))) | ||
| 4520 | (build-system python-build-system) | ||
| 4521 | (arguments | ||
| 4522 | '(#:tests? #f)) ; no tests | ||
| 4523 | (inputs `(("python-urwid" ,python-urwid))) | ||
| 4524 | (home-page "https://github.com/pazz/urwidtrees") | ||
| 4525 | (synopsis "Tree widgets for urwid") | ||
| 4526 | (description "Urwidtrees is a Widget Container API for the @code{urwid} | ||
| 4527 | toolkit. Use it to build trees of widgets.") | ||
| 4528 | (license gpl3+))) | ||
| 4529 | |||
| 4530 | (define-public python2-urwidtrees | ||
| 4531 | (package-with-python2 python-urwidtrees)) | ||
| 4532 | |||
| 4510 | (define-public python-dbus | 4533 | (define-public python-dbus |
| 4511 | (package | 4534 | (package |
| 4512 | (name "python-dbus") | 4535 | (name "python-dbus") |
| @@ -4591,14 +4614,14 @@ translate the complete SQLite API into Python.") | |||
| 4591 | (define-public python-lxml | 4614 | (define-public python-lxml |
| 4592 | (package | 4615 | (package |
| 4593 | (name "python-lxml") | 4616 | (name "python-lxml") |
| 4594 | (version "3.5.0") | 4617 | (version "3.6.0") |
| 4595 | (source | 4618 | (source |
| 4596 | (origin | 4619 | (origin |
| 4597 | (method url-fetch) | 4620 | (method url-fetch) |
| 4598 | (uri (pypi-uri "lxml" version)) | 4621 | (uri (pypi-uri "lxml" version)) |
| 4599 | (sha256 | 4622 | (sha256 |
| 4600 | (base32 | 4623 | (base32 |
| 4601 | "0y7m2s8ci6q642zl85y5axkj8z827l0vhjl532acb75hlkir77rl")))) | 4624 | "1pvbmiy2m7jwv493kilbghhj2pkh8wy1na3ji350vhzhlwlclx4w")))) |
| 4602 | (build-system python-build-system) | 4625 | (build-system python-build-system) |
| 4603 | (inputs | 4626 | (inputs |
| 4604 | `(("libxml2" ,libxml2) | 4627 | `(("libxml2" ,libxml2) |
| @@ -4651,17 +4674,14 @@ converts incoming documents to Unicode and outgoing documents to UTF-8.") | |||
| 4651 | (define-public python2-cssutils | 4674 | (define-public python2-cssutils |
| 4652 | (package | 4675 | (package |
| 4653 | (name "python2-cssutils") | 4676 | (name "python2-cssutils") |
| 4654 | (version "1.0") | 4677 | (version "1.0.1") |
| 4655 | (source | 4678 | (source |
| 4656 | (origin | 4679 | (origin |
| 4657 | (method url-fetch) | 4680 | (method url-fetch) |
| 4658 | (uri (string-append | 4681 | (uri (pypi-uri "cssutils" version)) |
| 4659 | "https://pypi.python.org/packages/source/c/cssutils/cssutils-" | ||
| 4660 | version | ||
| 4661 | ".zip")) | ||
| 4662 | (sha256 | 4682 | (sha256 |
| 4663 | (base32 | 4683 | (base32 |
| 4664 | "1bwim1353r4hqiir73sn4sc43y7ymh09qx0kly7vj048blppc125")))) | 4684 | "0qwha9x1wml2qmipbcz03gndnlwhzrjdvw9i09si247a90l8p8fq")))) |
| 4665 | (build-system python-build-system) | 4685 | (build-system python-build-system) |
| 4666 | (native-inputs | 4686 | (native-inputs |
| 4667 | `(("python2-mock" ,python2-mock) ; for the tests | 4687 | `(("python2-mock" ,python2-mock) ; for the tests |
| @@ -4684,17 +4704,14 @@ options.") | |||
| 4684 | (define-public python-cssselect | 4704 | (define-public python-cssselect |
| 4685 | (package | 4705 | (package |
| 4686 | (name "python-cssselect") | 4706 | (name "python-cssselect") |
| 4687 | (version "0.9.1") | 4707 | (version "0.9.2") |
| 4688 | (source | 4708 | (source |
| 4689 | (origin | 4709 | (origin |
| 4690 | (method url-fetch) | 4710 | (method url-fetch) |
| 4691 | (uri (string-append | 4711 | (uri (pypi-uri "cssselect" version)) |
| 4692 | "https://pypi.python.org/packages/source/c/cssselect/cssselect-" | ||
| 4693 | version | ||
| 4694 | ".tar.gz")) | ||
| 4695 | (sha256 | 4712 | (sha256 |
| 4696 | (base32 | 4713 | (base32 |
| 4697 | "10h623qnp6dp1191jri7lvgmnd4yfkl36k9smqklp1qlf3iafd85")))) | 4714 | "1xg6gbva1yswghiycmgincv6ab4bn7hpm720ndbj40h8xycmnfvi")))) |
| 4698 | (build-system python-build-system) | 4715 | (build-system python-build-system) |
| 4699 | (inputs | 4716 | (inputs |
| 4700 | `(("python-setuptools" ,python-setuptools))) | 4717 | `(("python-setuptools" ,python-setuptools))) |
| @@ -5961,18 +5978,14 @@ responses, rather than doing any computation.") | |||
| 5961 | (define-public python-cryptography-vectors | 5978 | (define-public python-cryptography-vectors |
| 5962 | (package | 5979 | (package |
| 5963 | (name "python-cryptography-vectors") | 5980 | (name "python-cryptography-vectors") |
| 5964 | (version "1.3.2") | 5981 | (version "1.3.4") |
| 5965 | (source | 5982 | (source |
| 5966 | (origin | 5983 | (origin |
| 5967 | (method url-fetch) | 5984 | (method url-fetch) |
| 5968 | (uri (string-append | 5985 | (uri (pypi-uri "cryptography_vectors" version)) |
| 5969 | "https://pypi.python.org/packages/" | ||
| 5970 | "3f/fd/" | ||
| 5971 | "5883a7fdfcdf6edec55c58605be99d8c36ce97a9b729763ea9cf30e761b7" | ||
| 5972 | "/cryptography_vectors-" version ".tar.gz")) | ||
| 5973 | (sha256 | 5986 | (sha256 |
| 5974 | (base32 | 5987 | (base32 |
| 5975 | "0ss682bpgzdfy2vam8yhhrx7p5gnw89ydlvaswqp52za8sd8nsh0")))) | 5988 | "15h1iz2klnpb4f8djxy7cpbnyn3wbjp7bnj4pz6s7w6plghbq524")))) |
| 5976 | (build-system python-build-system) | 5989 | (build-system python-build-system) |
| 5977 | (native-inputs | 5990 | (native-inputs |
| 5978 | `(("python-setuptools" ,python-setuptools))) | 5991 | `(("python-setuptools" ,python-setuptools))) |
| @@ -5989,18 +6002,14 @@ responses, rather than doing any computation.") | |||
| 5989 | (define-public python-cryptography | 6002 | (define-public python-cryptography |
| 5990 | (package | 6003 | (package |
| 5991 | (name "python-cryptography") | 6004 | (name "python-cryptography") |
| 5992 | (version "1.3.2") | 6005 | (version "1.3.4") |
| 5993 | (source | 6006 | (source |
| 5994 | (origin | 6007 | (origin |
| 5995 | (method url-fetch) | 6008 | (method url-fetch) |
| 5996 | (uri (string-append | 6009 | (uri (pypi-uri "cryptography" version)) |
| 5997 | "https://pypi.python.org/packages/" | ||
| 5998 | "04/da/" | ||
| 5999 | "35f9a1d34dab5d777f65fb87731288f338ab0ae46a525ffdf0405b573dd0" | ||
| 6000 | "/cryptography-" version ".tar.gz")) | ||
| 6001 | (sha256 | 6010 | (sha256 |
| 6002 | (base32 | 6011 | (base32 |
| 6003 | "121067qdbzd0ir0nxjdf0kgai7qlsc9yh2xhrj4cavcn4y4gmapv")))) | 6012 | "1a85l548w5vvq3yhz0az7ajg2ijixzp6gagapw6wgrqvq28ghgs2")))) |
| 6004 | (build-system python-build-system) | 6013 | (build-system python-build-system) |
| 6005 | (inputs | 6014 | (inputs |
| 6006 | `(("openssl" ,openssl))) | 6015 | `(("openssl" ,openssl))) |
| @@ -6666,16 +6675,14 @@ facilities for defining, registering and looking up components.") | |||
| 6666 | (define-public python2-pythondialog | 6675 | (define-public python2-pythondialog |
| 6667 | (package | 6676 | (package |
| 6668 | (name "python2-pythondialog") | 6677 | (name "python2-pythondialog") |
| 6669 | (version "3.3.0") | 6678 | (version "3.4.0") |
| 6670 | (source | 6679 | (source |
| 6671 | (origin | 6680 | (origin |
| 6672 | (method url-fetch) | 6681 | (method url-fetch) |
| 6673 | (uri (string-append "https://pypi.python.org/packages/source/p/" | 6682 | (uri (pypi-uri "python2-pythondialog" version)) |
| 6674 | "python2-pythondialog/python2-pythondialog-" | ||
| 6675 | version ".tar.gz")) | ||
| 6676 | (sha256 | 6683 | (sha256 |
| 6677 | (base32 | 6684 | (base32 |
| 6678 | "1yhkagsh99bfi592ymczf8rnw8rk6n9hdqy3dd98m3yrx8zmjvry")))) | 6685 | "0d8k7lxk50imdyx85lv8j98i4c93a71iwpapnl1506rpkbm9qvd9")))) |
| 6679 | (build-system python-build-system) | 6686 | (build-system python-build-system) |
| 6680 | (arguments | 6687 | (arguments |
| 6681 | `(#:phases | 6688 | `(#:phases |
| @@ -6896,16 +6903,14 @@ tables.") | |||
| 6896 | (define-public python-websocket-client | 6903 | (define-public python-websocket-client |
| 6897 | (package | 6904 | (package |
| 6898 | (name "python-websocket-client") | 6905 | (name "python-websocket-client") |
| 6899 | (version "0.34.0") | 6906 | (version "0.37.0") |
| 6900 | (source | 6907 | (source |
| 6901 | (origin | 6908 | (origin |
| 6902 | (method url-fetch) | 6909 | (method url-fetch) |
| 6903 | (uri (string-append "https://pypi.python.org/packages/source/w" | 6910 | (uri (pypi-uri "websocket_client" version)) |
| 6904 | "/websocket-client/websocket_client-" | ||
| 6905 | version ".tar.gz")) | ||
| 6906 | (sha256 | 6911 | (sha256 |
| 6907 | (base32 | 6912 | (base32 |
| 6908 | "1prdx6d49f1cff17kzj15bnz09palfdgc1m5dkq9jd4mr90n4ak8")))) | 6913 | "0h9glp1jll3z76ly3kg08aqgxqk0a68p4zi9yn50353bh5nj92v7")))) |
| 6909 | (build-system python-build-system) | 6914 | (build-system python-build-system) |
| 6910 | (native-inputs | 6915 | (native-inputs |
| 6911 | `(("python-six" ,python-six))) ; for tests | 6916 | `(("python-six" ,python-six))) ; for tests |
| @@ -7094,7 +7099,17 @@ minimal and fast API targetting the following uses: | |||
| 7094 | (description "The pytest-cache plugin provides tools to rerun failures from | 7099 | (description "The pytest-cache plugin provides tools to rerun failures from |
| 7095 | the last py.test invocation.") | 7100 | the last py.test invocation.") |
| 7096 | (home-page "https://bitbucket.org/hpk42/pytest-cache/") | 7101 | (home-page "https://bitbucket.org/hpk42/pytest-cache/") |
| 7097 | (license license:expat))) | 7102 | (license license:expat) |
| 7103 | (properties `((python2-variant . ,(delay python2-pytest-cache)))))) | ||
| 7104 | |||
| 7105 | (define-public python2-pytest-cache | ||
| 7106 | (let ((pytest-cache (package-with-python2 | ||
| 7107 | (strip-python2-variant python-pytest-cache)))) | ||
| 7108 | (package | ||
| 7109 | (inherit pytest-cache) | ||
| 7110 | (native-inputs | ||
| 7111 | `(("python2-setuptools" ,python2-setuptools) | ||
| 7112 | ,@(package-native-inputs pytest-cache)))))) | ||
| 7098 | 7113 | ||
| 7099 | (define-public python-pytest-localserver | 7114 | (define-public python-pytest-localserver |
| 7100 | (package | 7115 | (package |
| @@ -7975,14 +7990,14 @@ layouts.") | |||
| 7975 | (define-public python-pyquery | 7990 | (define-public python-pyquery |
| 7976 | (package | 7991 | (package |
| 7977 | (name "python-pyquery") | 7992 | (name "python-pyquery") |
| 7978 | (version "1.2.11") | 7993 | (version "1.2.13") |
| 7979 | (source | 7994 | (source |
| 7980 | (origin | 7995 | (origin |
| 7981 | (method url-fetch) | 7996 | (method url-fetch) |
| 7982 | (uri (pypi-uri "pyquery" version)) | 7997 | (uri (pypi-uri "pyquery" version)) |
| 7983 | (sha256 | 7998 | (sha256 |
| 7984 | (base32 | 7999 | (base32 |
| 7985 | "1ikz1387nsp0pp7mzzr6ip9n5gr67acpap24yn33987v7fkjp0sa")))) | 8000 | "0j9fsisip21qv4xljsg5dmni1pgpvwrjyyhhql0glydc4bs5rjgv")))) |
| 7986 | (build-system python-build-system) | 8001 | (build-system python-build-system) |
| 7987 | (propagated-inputs | 8002 | (propagated-inputs |
| 7988 | `(("python-lxml" ,python-lxml) | 8003 | `(("python-lxml" ,python-lxml) |
| @@ -8335,13 +8350,13 @@ commands into documents, helping you to keep your command examples up to date.") | |||
| 8335 | (define-public python-sphinx-repoze-autointerface | 8350 | (define-public python-sphinx-repoze-autointerface |
| 8336 | (package | 8351 | (package |
| 8337 | (name "python-sphinx-repoze-autointerface") | 8352 | (name "python-sphinx-repoze-autointerface") |
| 8338 | (version "0.7.1") | 8353 | (version "0.8") |
| 8339 | (source (origin | 8354 | (source (origin |
| 8340 | (method url-fetch) | 8355 | (method url-fetch) |
| 8341 | (uri (pypi-uri "repoze.sphinx.autointerface" version)) | 8356 | (uri (pypi-uri "repoze.sphinx.autointerface" version)) |
| 8342 | (sha256 | 8357 | (sha256 |
| 8343 | (base32 | 8358 | (base32 |
| 8344 | "016mv3wbylw278wl7z33y2liyra8ljp08zq1g0anzadh1an5zvwp")))) | 8359 | "08ycivzf7bh4a1zcyp31hbyqs1b2c9r26raa3vxjwwmbfqr3iw4f")))) |
| 8345 | (build-system python-build-system) | 8360 | (build-system python-build-system) |
| 8346 | (propagated-inputs | 8361 | (propagated-inputs |
| 8347 | `(("python-docutils" ,python-docutils) | 8362 | `(("python-docutils" ,python-docutils) |
| @@ -9123,8 +9138,9 @@ to provide a high-level synchronous API on top of the libev event loop.") | |||
| 9123 | "0ydxrp9myw1mvsz3qfzx5579y5llmqa82pxvqchgp5syczffi450")))) | 9138 | "0ydxrp9myw1mvsz3qfzx5579y5llmqa82pxvqchgp5syczffi450")))) |
| 9124 | (build-system python-build-system) | 9139 | (build-system python-build-system) |
| 9125 | (native-inputs | 9140 | (native-inputs |
| 9126 | `(("python-setuptools" ,python-setuptools) | 9141 | `(("python-setuptools" ,python-setuptools))) |
| 9127 | ("python-zope-interface" ,python-zope-interface))) | 9142 | (propagated-inputs |
| 9143 | `(("python-zope-interface" ,python-zope-interface))) | ||
| 9128 | (home-page "https://twistedmatrix.com/") | 9144 | (home-page "https://twistedmatrix.com/") |
| 9129 | (synopsis "Asynchronous networking framework written in Python") | 9145 | (synopsis "Asynchronous networking framework written in Python") |
| 9130 | (description | 9146 | (description |
| @@ -9209,8 +9225,9 @@ data in Python.") | |||
| 9209 | (build-system python-build-system) | 9225 | (build-system python-build-system) |
| 9210 | (arguments '(#:tests? #f)) ; XXX: needs zookeeper | 9226 | (arguments '(#:tests? #f)) ; XXX: needs zookeeper |
| 9211 | (native-inputs | 9227 | (native-inputs |
| 9212 | `(("python-setuptools" ,python-setuptools) | 9228 | `(("python-setuptools" ,python-setuptools))) |
| 9213 | ("python-six" ,python-six))) | 9229 | (propagated-inputs |
| 9230 | `(("python-six" ,python-six))) | ||
| 9214 | (home-page "https://kazoo.readthedocs.org") | 9231 | (home-page "https://kazoo.readthedocs.org") |
| 9215 | (synopsis "High-level Zookeeper client library") | 9232 | (synopsis "High-level Zookeeper client library") |
| 9216 | (description | 9233 | (description |
| @@ -9238,9 +9255,10 @@ programming errors.") | |||
| 9238 | (build-system python-build-system) | 9255 | (build-system python-build-system) |
| 9239 | (arguments '(#:tests? #f)) ; XXX: needs zookeeper, kafka, etc. | 9256 | (arguments '(#:tests? #f)) ; XXX: needs zookeeper, kafka, etc. |
| 9240 | (native-inputs | 9257 | (native-inputs |
| 9258 | `(("python-setuptools" ,python-setuptools))) | ||
| 9259 | (propagated-inputs | ||
| 9241 | `(("python-gevent" ,python-gevent) | 9260 | `(("python-gevent" ,python-gevent) |
| 9242 | ("python-kazoo" ,python-kazoo) | 9261 | ("python-kazoo" ,python-kazoo) |
| 9243 | ("python-setuptools" ,python-setuptools) | ||
| 9244 | ("python-tabulate" ,python-tabulate))) | 9262 | ("python-tabulate" ,python-tabulate))) |
| 9245 | (inputs | 9263 | (inputs |
| 9246 | `(("librdkafka" ,librdkafka))) | 9264 | `(("librdkafka" ,librdkafka))) |
| @@ -9277,7 +9295,8 @@ wide-character codes. It is useful for those implementing a terminal emulator, | |||
| 9277 | or programs that carefully produce output to be interpreted by one. It is a | 9295 | or programs that carefully produce output to be interpreted by one. It is a |
| 9278 | Python implementation of the @code{wcwidth} and @code{wcswidth} C functions | 9296 | Python implementation of the @code{wcwidth} and @code{wcswidth} C functions |
| 9279 | specified in POSIX.1-2001 and POSIX.1-2008.") | 9297 | specified in POSIX.1-2001 and POSIX.1-2008.") |
| 9280 | (license license:expat))) | 9298 | (license license:expat) |
| 9299 | (properties `((python2-variant . ,(delay python2-wcwidth)))))) | ||
| 9281 | 9300 | ||
| 9282 | (define-public python2-wcwidth | 9301 | (define-public python2-wcwidth |
| 9283 | (package | 9302 | (package |
| @@ -9348,10 +9367,11 @@ objects, patterned after the Mocha library for Ruby.") | |||
| 9348 | (build-system python-build-system) | 9367 | (build-system python-build-system) |
| 9349 | (native-inputs | 9368 | (native-inputs |
| 9350 | `(("python-setuptools" ,python-setuptools) | 9369 | `(("python-setuptools" ,python-setuptools) |
| 9351 | ("python-dateutil" ,python-dateutil-2) | ||
| 9352 | ;; For testing | 9370 | ;; For testing |
| 9353 | ("python-chai" ,python-chai) | 9371 | ("python-chai" ,python-chai) |
| 9354 | ("python-simplejson" ,python-simplejson))) | 9372 | ("python-simplejson" ,python-simplejson))) |
| 9373 | (propagated-inputs | ||
| 9374 | `(("python-dateutil" ,python-dateutil-2))) | ||
| 9355 | (home-page "https://github.com/crsmithdev/arrow/") | 9375 | (home-page "https://github.com/crsmithdev/arrow/") |
| 9356 | (synopsis "Dates and times for Python") | 9376 | (synopsis "Dates and times for Python") |
| 9357 | (description | 9377 | (description |
| @@ -9422,12 +9442,13 @@ Wikipedia code samples at | |||
| 9422 | "1k2dcl6mqpn5bljyl6w42rqyd9mb3y9kh2mg7m2x3kfjwvg0rpva")))) | 9442 | "1k2dcl6mqpn5bljyl6w42rqyd9mb3y9kh2mg7m2x3kfjwvg0rpva")))) |
| 9423 | (build-system python-build-system) | 9443 | (build-system python-build-system) |
| 9424 | (native-inputs | 9444 | (native-inputs |
| 9425 | `(("python-psutil" ,python-psutil) | 9445 | `(("python-setuptools" ,python-setuptools) |
| 9426 | ("python-pylev" ,python-pylev) | ||
| 9427 | ("python-setuptools" ,python-setuptools) | ||
| 9428 | ;; For testing | 9446 | ;; For testing |
| 9429 | ("python-mock" ,python-mock) | 9447 | ("python-mock" ,python-mock) |
| 9430 | ("python-pytest" ,python-pytest))) | 9448 | ("python-pytest" ,python-pytest))) |
| 9449 | (propagated-inputs | ||
| 9450 | `(("python-psutil" ,python-psutil) | ||
| 9451 | ("python-pylev" ,python-pylev))) | ||
| 9431 | (home-page "https://github.com/sdispater/cleo") | 9452 | (home-page "https://github.com/sdispater/cleo") |
| 9432 | (synopsis "Command-line arguments library for Python") | 9453 | (synopsis "Command-line arguments library for Python") |
| 9433 | (description | 9454 | (description |
| @@ -9507,9 +9528,10 @@ It supports TSIG authenticated messages and EDNS0.") | |||
| 9507 | (("dnspython3") "dnspython")) | 9528 | (("dnspython3") "dnspython")) |
| 9508 | #t))))) | 9529 | #t))))) |
| 9509 | (native-inputs | 9530 | (native-inputs |
| 9531 | `(("python-setuptools" ,python-setuptools))) | ||
| 9532 | (propagated-inputs | ||
| 9510 | `(("python-dnspython" ,python-dnspython) | 9533 | `(("python-dnspython" ,python-dnspython) |
| 9511 | ("python-idna" ,python-idna) | 9534 | ("python-idna" ,python-idna))) |
| 9512 | ("python-setuptools" ,python-setuptools))) | ||
| 9513 | (home-page "https://github.com/JoshData/python-email-validator") | 9535 | (home-page "https://github.com/JoshData/python-email-validator") |
| 9514 | (synopsis "Email address validation library for Python") | 9536 | (synopsis "Email address validation library for Python") |
| 9515 | (description | 9537 | (description |
| @@ -9564,13 +9586,14 @@ parsing UK postcodes.") | |||
| 9564 | (delete-file "faker/tests/ne_np/__init__.py") | 9586 | (delete-file "faker/tests/ne_np/__init__.py") |
| 9565 | #t))))) | 9587 | #t))))) |
| 9566 | (native-inputs | 9588 | (native-inputs |
| 9567 | `(("python-dateutil" ,python-dateutil-2) | 9589 | `(("python-setuptools" ,python-setuptools) |
| 9568 | ("python-setuptools" ,python-setuptools) | ||
| 9569 | ("python-six" ,python-six) | ||
| 9570 | ;; For testing | 9590 | ;; For testing |
| 9571 | ("python-email-validator" ,python-email-validator) | 9591 | ("python-email-validator" ,python-email-validator) |
| 9572 | ("python-mock" ,python-mock) | 9592 | ("python-mock" ,python-mock) |
| 9573 | ("python-ukpostcodeparser" ,python-ukpostcodeparser))) | 9593 | ("python-ukpostcodeparser" ,python-ukpostcodeparser))) |
| 9594 | (propagated-inputs | ||
| 9595 | `(("python-dateutil" ,python-dateutil-2) | ||
| 9596 | ("python-six" ,python-six))) | ||
| 9574 | (home-page "http://github.com/joke2k/faker") | 9597 | (home-page "http://github.com/joke2k/faker") |
| 9575 | (synopsis "Python package that generates fake data") | 9598 | (synopsis "Python package that generates fake data") |
| 9576 | (description | 9599 | (description |
| @@ -9584,9 +9607,9 @@ addresses, and phone numbers.") | |||
| 9584 | python-fake-factory)))) | 9607 | python-fake-factory)))) |
| 9585 | (package | 9608 | (package |
| 9586 | (inherit base) | 9609 | (inherit base) |
| 9587 | (native-inputs | 9610 | (propagated-inputs |
| 9588 | `(("python2-ipaddress" ,python2-ipaddress) | 9611 | `(("python2-ipaddress" ,python2-ipaddress) |
| 9589 | ,@(package-native-inputs base)))))) | 9612 | ,@(package-propagated-inputs base)))))) |
| 9590 | 9613 | ||
| 9591 | (define-public python-pyaml | 9614 | (define-public python-pyaml |
| 9592 | (package | 9615 | (package |
| @@ -9649,6 +9672,8 @@ mocks, stubs and fakes.") | |||
| 9649 | (build-system python-build-system) | 9672 | (build-system python-build-system) |
| 9650 | (arguments '(#:tests? #f)) ; no tests | 9673 | (arguments '(#:tests? #f)) ; no tests |
| 9651 | (native-inputs | 9674 | (native-inputs |
| 9675 | `(("python-setuptools" ,python-setuptools))) | ||
| 9676 | (propagated-inputs | ||
| 9652 | `(("python-arrow" ,python-arrow) | 9677 | `(("python-arrow" ,python-arrow) |
| 9653 | ("python-blinker" ,python-blinker) | 9678 | ("python-blinker" ,python-blinker) |
| 9654 | ("python-cleo" ,python-cleo) | 9679 | ("python-cleo" ,python-cleo) |
| @@ -9656,7 +9681,6 @@ mocks, stubs and fakes.") | |||
| 9656 | ("python-inflection" ,python-inflection) | 9681 | ("python-inflection" ,python-inflection) |
| 9657 | ("python-lazy-object-proxy" ,python-lazy-object-proxy) | 9682 | ("python-lazy-object-proxy" ,python-lazy-object-proxy) |
| 9658 | ("python-pyaml" ,python-pyaml) | 9683 | ("python-pyaml" ,python-pyaml) |
| 9659 | ("python-setuptools" ,python-setuptools) | ||
| 9660 | ("python-simplejson" ,python-simplejson) | 9684 | ("python-simplejson" ,python-simplejson) |
| 9661 | ("python-wrapt" ,python-wrapt))) | 9685 | ("python-wrapt" ,python-wrapt))) |
| 9662 | (home-page "https://orator-orm.com/") | 9686 | (home-page "https://orator-orm.com/") |
| @@ -9671,6 +9695,71 @@ implementation for Python.") | |||
| 9671 | (let ((base (package-with-python2 (strip-python2-variant python-orator)))) | 9695 | (let ((base (package-with-python2 (strip-python2-variant python-orator)))) |
| 9672 | (package | 9696 | (package |
| 9673 | (inherit base) | 9697 | (inherit base) |
| 9674 | (native-inputs | 9698 | (propagated-inputs |
| 9675 | `(("python2-ipaddress" ,python2-ipaddress) | 9699 | `(("python2-ipaddress" ,python2-ipaddress) |
| 9700 | ,@(package-propagated-inputs base)))))) | ||
| 9701 | |||
| 9702 | (define-public python-prompt-toolkit | ||
| 9703 | (package | ||
| 9704 | (name "python-prompt-toolkit") | ||
| 9705 | (version "1.0.3") | ||
| 9706 | (source | ||
| 9707 | (origin | ||
| 9708 | (method url-fetch) | ||
| 9709 | (uri (string-append | ||
| 9710 | "https://pypi.python.org/packages/" | ||
| 9711 | "8d/de/412f23919929c01e6b55183e124623f705e4b91796d3d2dce2cb53d595ad/" | ||
| 9712 | "prompt_toolkit-" version ".tar.gz")) | ||
| 9713 | (sha256 | ||
| 9714 | (base32 | ||
| 9715 | "18lbmmkyjf509klc3217lq0x863pfzix779zx5kp9lms1iph4pl0")))) | ||
| 9716 | (build-system python-build-system) | ||
| 9717 | (inputs `(("python-wcwidth" ,python-wcwidth) | ||
| 9718 | ("python-pygments" ,python-pygments))) | ||
| 9719 | (native-inputs `(("python-six" ,python-six))) | ||
| 9720 | (home-page "https://github.com/jonathanslenders/python-prompt-toolkit") | ||
| 9721 | (synopsis "Library for building command line interfaces in Python") | ||
| 9722 | (description | ||
| 9723 | "Prompt-Toolkit is a library for building interactive command line | ||
| 9724 | interfaces in Python. It's like GNU Readline but it also features syntax | ||
| 9725 | highlighting while typing, out-of-the-box multi-line input editing, advanced | ||
| 9726 | code completion, incremental search, support for Chinese double-width | ||
| 9727 | characters, mouse support, and auto suggestions.") | ||
| 9728 | (license bsd-3) | ||
| 9729 | (properties `((python2-variant . ,(delay python2-prompt-toolkit)))))) | ||
| 9730 | |||
| 9731 | (define-public python2-prompt-toolkit | ||
| 9732 | (let ((base (package-with-python2 (strip-python2-variant python-prompt-toolkit)))) | ||
| 9733 | (package | ||
| 9734 | (inherit base) | ||
| 9735 | (native-inputs | ||
| 9736 | `(("python2-setuptools" ,python2-setuptools) | ||
| 9737 | ,@(package-native-inputs base)))))) | ||
| 9738 | |||
| 9739 | (define-public python-jedi | ||
| 9740 | (package | ||
| 9741 | (name "python-jedi") | ||
| 9742 | (version "0.9.0") | ||
| 9743 | (source | ||
| 9744 | (origin | ||
| 9745 | (method url-fetch) | ||
| 9746 | (uri (pypi-uri "jedi" version)) | ||
| 9747 | (sha256 | ||
| 9748 | (base32 | ||
| 9749 | "0c8x962ynpx001fdvp07m2q5jk4igkxbj3rmnydavphvlgxijk1v")))) | ||
| 9750 | (build-system python-build-system) | ||
| 9751 | (home-page "https://github.com/davidhalter/jedi") | ||
| 9752 | (synopsis | ||
| 9753 | "Autocompletion for Python that can be used for text editors") | ||
| 9754 | (description | ||
| 9755 | "Jedi is an autocompletion tool for Python that can be used for text editors.") | ||
| 9756 | (license license:expat) | ||
| 9757 | (properties `((python2-variant . ,(delay python2-jedi)))))) | ||
| 9758 | |||
| 9759 | (define-public python2-jedi | ||
| 9760 | (let ((base (package-with-python2 (strip-python2-variant python-jedi)))) | ||
| 9761 | (package | ||
| 9762 | (inherit base) | ||
| 9763 | (native-inputs | ||
| 9764 | `(("python2-setuptools" ,python2-setuptools) | ||
| 9676 | ,@(package-native-inputs base)))))) | 9765 | ,@(package-native-inputs base)))))) |
