summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm56
1 files changed, 47 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b2aaef14d3b..5f46e524726 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -110,6 +110,7 @@
110;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev> 110;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
111;;; Copyright © 2021 Felix Gruber <felgru@posteo.net> 111;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
112;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org> 112;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
113;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
113;;; 114;;;
114;;; This file is part of GNU Guix. 115;;; This file is part of GNU Guix.
115;;; 116;;;
@@ -4332,7 +4333,7 @@ software version simply.")
4332(define-public python-deprecated 4333(define-public python-deprecated
4333 (package 4334 (package
4334 (name "python-deprecated") 4335 (name "python-deprecated")
4335 (version "1.2.5") 4336 (version "1.2.13")
4336 (source 4337 (source
4337 (origin 4338 (origin
4338 (method git-fetch) 4339 (method git-fetch)
@@ -4342,13 +4343,14 @@ software version simply.")
4342 (file-name (git-file-name name version)) 4343 (file-name (git-file-name name version))
4343 (sha256 4344 (sha256
4344 (base32 4345 (base32
4345 "14909glxxwwc4b9qpz2b9jdriwzi5n65ichw85xqppap5f79wcwz")))) 4346 "0v4ys9xr8lski2r98da99spsj6hjlnnqgnhhmyhrm66myiix885c"))))
4346 (build-system python-build-system) 4347 (build-system python-build-system)
4347 (arguments 4348 (arguments
4348 `(#:phases (modify-phases %standard-phases 4349 `(#:phases (modify-phases %standard-phases
4349 (replace 'check 4350 (replace 'check
4350 (lambda _ 4351 (lambda* (#:key tests? #:allow-other-keys)
4351 (invoke "pytest")))))) 4352 (when tests?
4353 (invoke "pytest")))))))
4352 (propagated-inputs 4354 (propagated-inputs
4353 `(("python-wrapt" ,python-wrapt))) 4355 `(("python-wrapt" ,python-wrapt)))
4354 (native-inputs 4356 (native-inputs
@@ -18389,14 +18391,14 @@ perform the operations required for synchronizing plain text.")
18389(define-public python-levenshtein 18391(define-public python-levenshtein
18390 (package 18392 (package
18391 (name "python-levenshtein") 18393 (name "python-levenshtein")
18392 (version "0.12.0") 18394 (version "0.12.2")
18393 (source 18395 (source
18394 (origin 18396 (origin
18395 (method url-fetch) 18397 (method url-fetch)
18396 (uri (pypi-uri "python-Levenshtein" version)) 18398 (uri (pypi-uri "python-Levenshtein" version))
18397 (sha256 18399 (sha256
18398 (base32 18400 (base32
18399 "1c9ybqcja31nghfcc8xxbbz9h60s9qi12b9hr4jyl69xbvg12fh3")))) 18401 "1xj60gymwx1jl2ra9razx2wk8nb9cv1i7l8d14qsp8a8s7xra8yw"))))
18400 (build-system python-build-system) 18402 (build-system python-build-system)
18401 (home-page "https://github.com/ztane/python-Levenshtein") 18403 (home-page "https://github.com/ztane/python-Levenshtein")
18402 (synopsis "Fast computation of Levenshtein distance and string similarity") 18404 (synopsis "Fast computation of Levenshtein distance and string similarity")
@@ -27051,8 +27053,8 @@ result.")
27051 (home-page "https://github.com/readthedocs/recommonmark") 27053 (home-page "https://github.com/readthedocs/recommonmark")
27052 (synopsis "Docutils-compatibility bridge to CommonMark") 27054 (synopsis "Docutils-compatibility bridge to CommonMark")
27053 (description 27055 (description
27054 "This packages provides a docutils-compatibility bridge to CommonMark, 27056 "This package provides a docutils-compatibility bridge to CommonMark that
27055enabling you to write CommonMark inside of Docutils & Sphinx projects.") 27057lets you write CommonMark inside of Docutils & Sphinx projects.")
27056 (license license:expat))) 27058 (license license:expat)))
27057 27059
27058(define-public python-pyhull 27060(define-public python-pyhull
@@ -27125,7 +27127,8 @@ and BMI2).")
27125 (file-name (git-file-name name version)) 27127 (file-name (git-file-name name version))
27126 (sha256 27128 (sha256
27127 (base32 27129 (base32
27128 "1yy62k3cjr6556nbp651w6v4hzl7kz4y75wy2dfqgndgbnixskx2")))) 27130 "1yy62k3cjr6556nbp651w6v4hzl7kz4y75wy2dfqgndgbnixskx2"))
27131 (patches (search-patches "python-peachpy-determinism.patch"))))
27129 (build-system python-build-system) 27132 (build-system python-build-system)
27130 (arguments 27133 (arguments
27131 '(#:phases (modify-phases %standard-phases 27134 '(#:phases (modify-phases %standard-phases
@@ -27660,3 +27663,38 @@ and decorators library. It is useful when changing behavior in existing
27660code is desired. It includes tools for debugging and testing: 27663code is desired. It includes tools for debugging and testing:
27661simple mock/record and a complete capture/replay framework.") 27664simple mock/record and a complete capture/replay framework.")
27662 (license license:bsd-2))) 27665 (license license:bsd-2)))
27666
27667(define-public python-ijson
27668 (package
27669 (name "python-ijson")
27670 (version "3.1.4")
27671 (source
27672 (origin
27673 (method url-fetch)
27674 (uri (pypi-uri "ijson" version))
27675 (sha256
27676 (base32 "1sp463ywj4jv5cp6hsv2qwiima30d09xsabxb2dyq5b17jp0640x"))))
27677 (arguments
27678 `(#:phases
27679 (modify-phases %standard-phases
27680 ;; the tests run by the default setup.py require yajl 1.x,
27681 ;; but we have 2.x. yajl 1.x support is going to be removed
27682 ;; anyway, so use pytest to avoid running the yajl1-related
27683 ;; tests. See: https://github.com/ICRAR/ijson/issues/55
27684 (replace 'check
27685 (lambda* (#:key tests? #:allow-other-keys)
27686 (when tests?
27687 (invoke "pytest" "-vv")))))))
27688 (inputs
27689 ;; libyajl is optional, but compiling with it makes faster
27690 ;; backends available to ijson:
27691 `(("libyajl", libyajl)))
27692 (native-inputs
27693 `(("python-pytest", python-pytest)))
27694 (build-system python-build-system)
27695 (home-page "https://github.com/ICRAR/ijson")
27696 (synopsis "Iterative JSON parser with Python iterator interfaces")
27697 (description
27698 "Ijson is an iterative JSON parser with standard Python iterator
27699interfaces.")
27700 (license license:bsd-3)))