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.scm402
1 files changed, 195 insertions, 207 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7504e9f2056..60c741ebcd2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -77,7 +77,7 @@
77;;; Copyright © 2020, 2021 Alexandros Theodotou <alex@zrythm.org> 77;;; Copyright © 2020, 2021 Alexandros Theodotou <alex@zrythm.org>
78;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org> 78;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
79;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com> 79;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com>
80;;; Copyright © 2020 Matthew Kraai <kraai@ftbfs.org> 80;;; Copyright © 2020 Matthew James Kraai <kraai@ftbfs.org>
81;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com> 81;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
82;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw> 82;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
83;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org> 83;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
@@ -100,6 +100,11 @@
100;;; Copyright © 2021 Ellis Kenyő <me@elken.dev> 100;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
101;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org> 101;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
102;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> 102;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
103;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
104;;; Copyright © 2021 jgart <jgart@dismail.de>
105;;; Copyright © 2021 Danial Behzadi <dani.behzi@ubuntu.com>
106;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
107;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
103;;; 108;;;
104;;; This file is part of GNU Guix. 109;;; This file is part of GNU Guix.
105;;; 110;;;
@@ -219,6 +224,115 @@
219 #:use-module (srfi srfi-1) 224 #:use-module (srfi srfi-1)
220 #:use-module (srfi srfi-26)) 225 #:use-module (srfi srfi-26))
221 226
227(define-public python-ueberzug
228 (package
229 (name "python-ueberzug")
230 (version "18.1.9")
231 (source
232 (origin
233 (method url-fetch)
234 (uri (pypi-uri "ueberzug" version))
235 (sha256
236 (base32
237 "1hxd45dnwa9yv908acarr98n2drmar66wzq9z2qd3irj24srzr3w"))))
238 (build-system python-build-system)
239 (inputs
240 `(("libx11" ,libx11)
241 ("libxext" ,libxext)))
242 (propagated-inputs
243 `(("python-attrs" ,python-attrs)
244 ("python-docopt" ,python-docopt)
245 ("python-pillow" ,python-pillow)
246 ("python-xlib" ,python-xlib)))
247 (home-page "https://github.com/seebye/ueberzug")
248 (synopsis "Command line util to display images in combination with X11")
249 (description "Überzug is a command line util which allows to draw images on
250terminals by using child windows. The advantages of using Überzug are:
251@itemize
252@item No race conditions as a new window is created to display images.
253@item Expose events will be processed, so images will be redrawn on switch
254workspaces.
255@item Tmux support (excluding multi pane windows).
256@item Terminals without the WINDOWID environment variable are supported.
257@item Chars are used as position - and size unit.
258@item No memory leak (/ unlimited cache).
259@end itemize")
260 (license license:gpl3+)))
261
262(define-public python-fire
263 (package
264 (name "python-fire")
265 (version "0.4.0")
266 (source
267 (origin
268 (method url-fetch)
269 (uri (pypi-uri "fire" version))
270 (sha256
271 (base32
272 "0qka44n88y3qcj7xz0k0f3qb4phcg4z0wvd4jcii9lcr6rvbiqn5"))))
273 (build-system python-build-system)
274 (native-inputs
275 `(("python-pytest", python-pytest)))
276 (arguments
277 '(#:phases
278 (modify-phases %standard-phases
279 (replace 'check
280 (lambda* (#:key tests? #:allow-other-keys)
281 (when tests?
282 (invoke "pytest")))))))
283 (inputs
284 `(("python-six", python-six)
285 ("python-termcolor", python-termcolor)))
286 (synopsis "Library for automatically generating command line interfaces")
287 (description
288 "Fire is a library for automatically generating command line interfaces
289from absolutely any Python object. The following are the advantages:
290@itemize
291@item A simple way to create a CLI in Python.
292@item A helpful tool for developing and debugging Python code.
293@item Helps with exploring existing code or turning other people's code into a
294command line interface.
295@item Makes transitioning between Bash and Python easier.
296@item Makes using a Python REPL easier by setting up the REPL with the modules
297and variables you'll need already imported and created.
298@end itemize")
299 (home-page "https://github.com/google/python-fire")
300 (license license:asl2.0)))
301
302(define-public python-twodict
303 (package
304 (name "python-twodict")
305 (version "1.2")
306 (source
307 (origin
308 (method url-fetch)
309 (uri (pypi-uri "twodict" version))
310 (sha256
311 (base32 "0ifv7dv18jn2lg0a3l6zdlvmmlda2ivixfjbsda58a2ay6kxznr0"))))
312 (build-system python-build-system)
313 (home-page "https://github.com/MrS0m30n3/twodict")
314 (synopsis "Two way ordered dictionary for Python")
315 (description "TwoDict is a custom dictionary in which you can get the
316key:value relationship but you can also get the value:key relationship. It also
317remembers the order in which the items were inserted and supports almost all the
318features of the Python's built-in dict.")
319 (license license:unlicense)))
320
321(define-public python2-twodict
322 (package
323 (inherit python-twodict)
324 (name "python2-twodict")
325 (version "1.2")
326 (source
327 (origin
328 (method url-fetch)
329 (uri (pypi-uri "twodict" version))
330 (sha256
331 (base32 "0ifv7dv18jn2lg0a3l6zdlvmmlda2ivixfjbsda58a2ay6kxznr0"))))
332 (build-system python-build-system)
333 (arguments
334 `(#:python ,python-2))))
335
222(define-public python-argopt 336(define-public python-argopt
223 (package 337 (package
224 (name "python-argopt") 338 (name "python-argopt")
@@ -740,9 +854,14 @@ to CommonMark.")
740 "/lib/libmediainfo.so.0"))) 854 "/lib/libmediainfo.so.0")))
741 #t)) 855 #t))
742 (replace 'check 856 (replace 'check
743 (lambda _ 857 (lambda* (#:key tests? #:allow-other-keys)
744 ;; Skip the only failing test "test_parse_url" 858 (when tests?
745 (invoke "pytest" "-vv" "-k" "not test_parse_url")))))) 859 ;; Extend PYTHONPATH so the built package will be found.
860 (setenv "PYTHONPATH"
861 (string-append (getcwd) "/build/lib:"
862 (getenv "PYTHONPATH")))
863 ;; Skip the only failing test "test_parse_url"
864 (invoke "pytest" "-vv" "-k" "not test_parse_url")))))))
746 (home-page 865 (home-page
747 "https://github.com/sbraz/pymediainfo") 866 "https://github.com/sbraz/pymediainfo")
748 (synopsis 867 (synopsis
@@ -4877,29 +4996,6 @@ writing C extensions for Python as easy as Python itself.")
4877 "")) 4996 ""))
4878 #t))))))))) 4997 #t)))))))))
4879 4998
4880;; The RPython toolchain currently does not support Python 3.
4881(define-public python2-rpython
4882 (package
4883 (name "python2-rpython")
4884 (version "0.2.1")
4885 (source
4886 (origin
4887 (method url-fetch)
4888 (uri (pypi-uri "rpython" version))
4889 (sha256
4890 (base32
4891 "02z9cvxf0y41dcvwnvf2zn0albhhw1drvjjbq27m6i1piw1k6fc0"))))
4892 (build-system python-build-system)
4893 (arguments `(#:python ,python-2))
4894 (native-inputs
4895 `(("python2-pytest" ,python2-pytest))) ; needed for running tests
4896 (home-page "https://rpython.readthedocs.org")
4897 (synopsis "Framework for implementing interpreters and virtual machines")
4898 (description "RPython is a translation and support framework for
4899producing implementations of dynamic languages, emphasizing a clean separation
4900between language specification and implementation aspects.")
4901 (license license:expat)))
4902
4903;; NOTE: when upgrading numpy please make sure that python-pandas and 4999;; NOTE: when upgrading numpy please make sure that python-pandas and
4904;; python-scipy still build, as these three packages are often used together. 5000;; python-scipy still build, as these three packages are often used together.
4905(define-public python-numpy 5001(define-public python-numpy
@@ -6226,13 +6322,13 @@ the OleFileIO module from PIL, the Python Image Library.")
6226(define-public python-pikepdf 6322(define-public python-pikepdf
6227 (package 6323 (package
6228 (name "python-pikepdf") 6324 (name "python-pikepdf")
6229 (version "2.13.0") 6325 (version "2.14.2")
6230 (source 6326 (source
6231 (origin 6327 (origin
6232 (method url-fetch) 6328 (method url-fetch)
6233 (uri (pypi-uri "pikepdf" version)) 6329 (uri (pypi-uri "pikepdf" version))
6234 (sha256 6330 (sha256
6235 (base32 "1di5bbh2mr8m1aydky8ix12pkybrd0cvs8xqf5s2y1xa349r514l")))) 6331 (base32 "01f173af5j0fmrzg6czfr92d331bqdbs3dkch7p41ykyv4fsv6kn"))))
6236 (build-system python-build-system) 6332 (build-system python-build-system)
6237 (arguments 6333 (arguments
6238 `(#:tests? #false)) ;require python-xmp-toolkit 6334 `(#:tests? #false)) ;require python-xmp-toolkit
@@ -7788,9 +7884,6 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
7788 ,@(package-arguments base))) 7884 ,@(package-arguments base)))
7789 (native-inputs `()))))) 7885 (native-inputs `())))))
7790 7886
7791(define-public python2-jupyter-client
7792 (package-with-python2 python-jupyter-client))
7793
7794(define-public python-ipykernel 7887(define-public python-ipykernel
7795 (package 7888 (package
7796 (name "python-ipykernel") 7889 (name "python-ipykernel")
@@ -7979,70 +8072,6 @@ callback signature using a prototype function.")
7979Powerful interactive shells, a browser-based notebook, support for interactive 8072Powerful interactive shells, a browser-based notebook, support for interactive
7980data visualization, embeddable interpreters and tools for parallel 8073data visualization, embeddable interpreters and tools for parallel
7981computing.") 8074computing.")
7982 (properties `((python2-variant . ,(delay python2-ipython))))
7983 (license license:bsd-3)))
7984
7985;; This is the latest release of the LTS version of ipython with support for
7986;; Python 2.7 and Python 3.x. Later non-LTS versions starting from 6.0 have
7987;; dropped support for Python 2.7.
7988(define-public python2-ipython
7989 (package
7990 (name "python2-ipython")
7991 (version "5.8.0")
7992 (source
7993 (origin
7994 (method url-fetch)
7995 (uri (pypi-uri "ipython" version ".tar.gz"))
7996 (sha256
7997 (base32 "01l93i4hspf0lvhmycvc8j378bslm9rw30mwfspsl6v1ayc69b2b"))))
7998 (build-system python-build-system)
7999 (propagated-inputs
8000 `(("python2-backports-shutil-get-terminal-size"
8001 ,python2-backports-shutil-get-terminal-size)
8002 ("python2-pathlib2" ,python2-pathlib2)
8003 ("python2-pyzmq" ,python2-pyzmq)
8004 ("python2-prompt-toolkit" ,python2-prompt-toolkit-1)
8005 ("python2-terminado" ,python2-terminado)
8006 ("python2-matplotlib" ,python2-matplotlib)
8007 ("python2-numpy" ,python2-numpy)
8008 ("python2-numpydoc" ,python2-numpydoc)
8009 ("python2-jinja2" ,python2-jinja2)
8010 ("python2-mistune" ,python2-mistune)
8011 ("python2-pexpect" ,python2-pexpect)
8012 ("python2-pickleshare" ,python2-pickleshare)
8013 ("python2-simplegeneric" ,python2-simplegeneric)
8014 ("python2-jsonschema" ,python2-jsonschema)
8015 ("python2-traitlets" ,python2-traitlets)
8016 ("python2-nbformat" ,python2-nbformat)
8017 ("python2-pygments" ,python2-pygments)))
8018 (inputs
8019 `(("readline" ,readline)
8020 ("which" ,which)))
8021 (native-inputs
8022 `(("graphviz" ,graphviz)
8023 ("pkg-config" ,pkg-config)
8024 ("python2-requests" ,python2-requests) ;; for tests
8025 ("python2-testpath" ,python2-testpath)
8026 ("python2-mock" ,python2-mock)
8027 ("python2-nose" ,python2-nose)))
8028 (arguments
8029 `(#:python ,python-2
8030 #:phases
8031 (modify-phases %standard-phases
8032 (add-before 'check 'delete-broken-tests
8033 (lambda* (#:key inputs #:allow-other-keys)
8034 ;; These tests throw errors for unknown reasons.
8035 (delete-file "IPython/core/tests/test_displayhook.py")
8036 (delete-file "IPython/core/tests/test_magic_terminal.py")
8037 (delete-file "IPython/core/tests/test_profile.py")
8038 #t)))))
8039 (home-page "https://ipython.org")
8040 (synopsis "IPython is a tool for interactive computing in Python")
8041 (description
8042 "IPython provides a rich architecture for interactive computing with:
8043Powerful interactive shells, a browser-based notebook, support for interactive
8044data visualization, embeddable interpreters and tools for parallel
8045computing.")
8046 (license license:bsd-3))) 8075 (license license:bsd-3)))
8047 8076
8048(define-public python-ipython-documentation 8077(define-public python-ipython-documentation
@@ -8729,26 +8758,28 @@ SVG, EPS, PNG and terminal output.")
8729(define-public python-seaborn 8758(define-public python-seaborn
8730 (package 8759 (package
8731 (name "python-seaborn") 8760 (name "python-seaborn")
8732 (version "0.10.0") 8761 (version "0.11.1")
8733 (source 8762 (source
8734 (origin 8763 (origin
8735 (method url-fetch) 8764 (method url-fetch)
8736 (uri (pypi-uri "seaborn" version)) 8765 (uri (pypi-uri "seaborn" version))
8737 (sha256 8766 (sha256
8738 (base32 "1ffbms4kllihfycf6j57dziq4imgdjw03sqgifh5wzcd2d743zjr")))) 8767 (base32 "1b81p9s6li3b606ivgbynrh102fclwlw74m8qxzsii9pv6p8xrs4"))
8768 (patches (search-patches "python-seaborn-kde-test.patch"))))
8739 (build-system python-build-system) 8769 (build-system python-build-system)
8740 (arguments 8770 (arguments
8741 `(#:phases 8771 `(#:phases
8742 (modify-phases %standard-phases 8772 (modify-phases %standard-phases
8743 (add-before 'check 'start-xserver 8773 (add-before 'check 'start-xserver
8744 (lambda* (#:key inputs #:allow-other-keys) 8774 (lambda _
8745 (let ((xorg-server (assoc-ref inputs "xorg-server"))) 8775 ;; There must be a running X server and make check doesn't
8746 ;; There must be a running X server and make check doesn't 8776 ;; start one. Therefore we must do it.
8747 ;; start one. Therefore we must do it. 8777 (system "Xvfb :1 &")
8748 (system (format #f "~a/bin/Xvfb :1 &" xorg-server)) 8778 (setenv "DISPLAY" ":1")))
8749 (setenv "DISPLAY" ":1") 8779 (replace 'check
8750 #t))) 8780 (lambda* (#:key tests? #:allow-other-keys)
8751 (replace 'check (lambda _ (invoke "pytest" "seaborn") #t))))) 8781 (when tests?
8782 (invoke "pytest" "seaborn")))))))
8752 (propagated-inputs 8783 (propagated-inputs
8753 `(("python-pandas" ,python-pandas) 8784 `(("python-pandas" ,python-pandas)
8754 ("python-matplotlib" ,python-matplotlib) 8785 ("python-matplotlib" ,python-matplotlib)
@@ -9113,9 +9144,6 @@ applications.")
9113 "PyZMQ is the official Python binding for the ZeroMQ messaging library.") 9144 "PyZMQ is the official Python binding for the ZeroMQ messaging library.")
9114 (license license:bsd-4))) 9145 (license license:bsd-4)))
9115 9146
9116(define-public python2-pyzmq
9117 (package-with-python2 python-pyzmq))
9118
9119(define-public python-pep8 9147(define-public python-pep8
9120 ;; This package has been renamed to ‘pycodestyle’ and is no longer updated. 9148 ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
9121 ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking 9149 ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
@@ -10910,23 +10938,8 @@ drafts 04, 06 and 07.")
10910 (synopsis "Jupyter Notebook format") 10938 (synopsis "Jupyter Notebook format")
10911 (description "This package provides the reference implementation of the 10939 (description "This package provides the reference implementation of the
10912Jupyter Notebook format and Python APIs for working with notebooks.") 10940Jupyter Notebook format and Python APIs for working with notebooks.")
10913 (properties `((python2-variant . ,(delay python2-nbformat))))
10914 (license license:bsd-3))) 10941 (license license:bsd-3)))
10915 10942
10916(define-public python2-nbformat
10917 (let ((parent (package-with-python2
10918 (strip-python2-variant python-nbformat))))
10919 (package
10920 (inherit parent)
10921 (version "4.4.0")
10922 (source
10923 (origin
10924 (method url-fetch)
10925 (uri (pypi-uri "nbformat" version))
10926 (sha256
10927 (base32
10928 "00nlf08h8yc4q73nphfvfhxrcnilaqanb8z0mdy6nxk0vzq4wjgp")))))))
10929
10930(define-public python-bleach 10943(define-public python-bleach
10931 (package 10944 (package
10932 (name "python-bleach") 10945 (name "python-bleach")
@@ -11201,38 +11214,7 @@ convert an @code{.ipynb} notebook file into various static formats including:
11201@item ReStructured Text (rst) 11214@item ReStructured Text (rst)
11202@item executable script 11215@item executable script
11203@end enumerate\n") 11216@end enumerate\n")
11204 (license license:bsd-3) 11217 (license license:bsd-3)))
11205 (properties `((python2-variant . ,(delay python2-nbconvert))))))
11206
11207(define-public python2-nbconvert
11208 (let ((parent
11209 (package-with-python2
11210 (strip-python2-variant python-nbconvert))))
11211 (package
11212 (inherit parent)
11213 (version "5.0.0b1")
11214 (source
11215 (origin
11216 (method url-fetch)
11217 (uri (pypi-uri "nbconvert" version))
11218 (sha256
11219 (base32
11220 "0brclbb18l4nmd5qy3dl9wn05rjdh1fz4rmzdlfqacj12rcdvdgp"))))
11221 (arguments
11222 `(;; The "bdist_egg" target is disabled by default, causing the installation
11223 ;; to fail.
11224 #:configure-flags (list "bdist_egg")
11225 ;; FIXME: 5 failures, 40 errors.
11226 #:tests? #f))
11227 (propagated-inputs
11228 `(("python-bleach" ,python-bleach)
11229 ("python-entrypoints" ,python-entrypoints)
11230 ("python-jinja2" ,python-jinja2)
11231 ("python-jupyter-core" ,python-jupyter-core)
11232 ("python-mistune" ,python-mistune)
11233 ("python-nbformat" ,python-nbformat)
11234 ("python-pygments" ,python-pygments)
11235 ("python-traitlets" ,python-traitlets))))))
11236 11218
11237(define-public python-notebook 11219(define-public python-notebook
11238 (package 11220 (package
@@ -17050,50 +17032,6 @@ matters when code is run in production mode. The actual logging still
17050happens using the @code{logging} library.") 17032happens using the @code{logging} library.")
17051 (license license:gpl3+))) 17033 (license license:gpl3+)))
17052 17034
17053(define-public python2-larch
17054 (package
17055 (name "python2-larch")
17056 (version "1.20151025")
17057 (source
17058 (origin
17059 (method url-fetch)
17060 (uri (string-append
17061 "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/larch/snapshot/larch-"
17062 version ".tar.gz"))
17063 (patches (search-patches
17064 "python2-larch-coverage-4.0a6-compatibility.patch"))
17065 (sha256
17066 (base32
17067 "1p4knkkavlqymgciz2wbcnfrdgdbafhg14maplnk4vbw0q8xs663"))))
17068 (build-system python-build-system)
17069 (arguments
17070 `(#:python ,python-2
17071 #:phases
17072 (modify-phases %standard-phases
17073 ;; check phase needs to be run before the build phase. If not,
17074 ;; coverage-test-runner looks for tests for the built source files,
17075 ;; and fails.
17076 (delete 'check)
17077 (add-before 'build 'check
17078 (lambda _ (invoke "make" "check"))))))
17079 (native-inputs
17080 `(("cmdtest" ,cmdtest)
17081 ("python2-coverage-test-runner" ,python2-coverage-test-runner)))
17082 (propagated-inputs
17083 `(("python2-tracing" ,python2-tracing)))
17084 (home-page "https://liw.fi/larch/")
17085 (synopsis "Python copy-on-write B-tree library")
17086 (description "@code{python2-larch} is an implementation of
17087particular kind of B-tree, based on research by Ohad Rodeh. See
17088@url{http://liw.fi/larch/ohad-btrees-shadowing-clones.pdf} for details
17089on the data structure.
17090
17091The distinctive feature of this B-tree is that a node is never
17092(conceptually) modified. Instead, all updates are done by
17093copy-on-write. This makes it easy to clone a tree, and modify only the
17094clone, while other processes access the original tree.")
17095 (license license:gpl3+)))
17096
17097(define-public python-astroid 17035(define-public python-astroid
17098 (let ((revision "1") 17036 (let ((revision "1")
17099 (commit "5f67396894c79c4661e357ec8bb03aa134a51109")) 17037 (commit "5f67396894c79c4661e357ec8bb03aa134a51109"))
@@ -21244,9 +21182,6 @@ library's @code{threading} module.")
21244functions, and dictionaries.") 21182functions, and dictionaries.")
21245 (license license:bsd-3))) 21183 (license license:bsd-3)))
21246 21184
21247(define-public python2-toolz
21248 (package-with-python2 python-toolz))
21249
21250(define-public python-cytoolz 21185(define-public python-cytoolz
21251 (package 21186 (package
21252 (name "python-cytoolz") 21187 (name "python-cytoolz")
@@ -23151,10 +23086,13 @@ and cuts down boilerplate code when testing libraries for asyncio.")
23151 (arguments 23086 (arguments
23152 '(#:phases 23087 '(#:phases
23153 (modify-phases %standard-phases 23088 (modify-phases %standard-phases
23154 (add-after 'unpack 'patch-paths 23089 (add-after 'unpack 'apply-upstream-fixes
23155 (lambda* _ 23090 (lambda* _
23156 (substitute* "k5test/realm.py" 23091 (substitute* "k5test/realm.py"
23157 (("'kadmin_local'") "'kadmin.local'"))))))) 23092 ;; Upstream commit f6b302d94dbdce37a1b81cc3faeeac4dc637b0e9.
23093 (("'kadmin_local'") "'kadmin.local'")
23094 ;; Upstream commit 3aef84515cf3d1a171c66856c898d0a5cbbd03ea.
23095 (("\\.stop_daemon") "._stop_daemon")))))))
23158 (home-page "https://github.com/pythongssapi/k5test") 23096 (home-page "https://github.com/pythongssapi/k5test")
23159 (synopsis "Library for setting up self-contained Kerberos 5 environments") 23097 (synopsis "Library for setting up self-contained Kerberos 5 environments")
23160 (description 23098 (description
@@ -23292,8 +23230,9 @@ but portable.")
23292 `(#:phases 23230 `(#:phases
23293 (modify-phases %standard-phases 23231 (modify-phases %standard-phases
23294 (replace 'check 23232 (replace 'check
23295 (lambda _ 23233 (lambda* (#:key tests? #:allow-other-keys)
23296 (invoke "pytest" "-vv")))))) 23234 (when tests?
23235 (invoke "pytest" "-vv")))))))
23297 (native-inputs 23236 (native-inputs
23298 `(("python-coverage" ,python-coverage) 23237 `(("python-coverage" ,python-coverage)
23299 ("python-docutils" ,python-docutils) 23238 ("python-docutils" ,python-docutils)
@@ -25902,3 +25841,52 @@ is the cythonized version of @code{fractions.Fraction}.")
25902 "@code{pathvalidate} is a Python library to sanitize/validate strings 25841 "@code{pathvalidate} is a Python library to sanitize/validate strings
25903representing paths or filenames.") 25842representing paths or filenames.")
25904 (license license:expat))) 25843 (license license:expat)))
25844
25845(define-public python-escapism
25846 (package
25847 (name "python-escapism")
25848 (version "1.0.1")
25849 (source
25850 (origin
25851 (method url-fetch)
25852 (uri (pypi-uri "escapism" version))
25853 (sha256
25854 (base32
25855 "1v74243wifcwhj5zkdiispxc9kb1xvnfzilg8bq308pjnkgnn9bk"))))
25856 (build-system python-build-system)
25857 (home-page "https://github.com/minrk/escapism")
25858 (synopsis "Simple, generic library for escaping strings")
25859 (description
25860 "This Python library provides a programming interface to, given a set of
25861safe characters and an escape character, escape safe strings and unescape the
25862result.")
25863 (license license:expat)))
25864
25865(define-public python-recommonmark
25866 (package
25867 (name "python-recommonmark")
25868 (version "0.7.1")
25869 (source
25870 (origin
25871 (method url-fetch)
25872 (uri (pypi-uri "recommonmark" version))
25873 (sha256
25874 (base32
25875 "0rvdd2ikdr0yg6cx6594fdzn53cmdc0g0i6qsbcdq8i2kxjdpd5x"))))
25876 (build-system python-build-system)
25877 (propagated-inputs
25878 `(("python-commonmark" ,python-commonmark)
25879 ("python-docutils" ,python-docutils)
25880 ("python-sphinx" ,python-sphinx)))
25881 (arguments
25882 '(#:phases (modify-phases %standard-phases
25883 (add-after 'unpack 'delete-test-sphinx
25884 (lambda* (#:key outputs #:allow-other-keys)
25885 (let* ((out (assoc-ref outputs "out")))
25886 (delete-file "tests/test_sphinx.py")))))))
25887 (home-page "https://github.com/readthedocs/recommonmark")
25888 (synopsis "Docutils-compatibility bridge to CommonMark")
25889 (description
25890 "This packages provides a docutils-compatibility bridge to CommonMark,
25891enabling you to write CommonMark inside of Docutils & Sphinx projects.")
25892 (license license:expat)))