diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-11-07 16:11:03 +0100 |
|---|---|---|
| committer | Romain GARBAGE <romain.garbage@inria.fr> | 2025-11-18 14:33:57 +0100 |
| commit | d647696c83c7e2fae2f6da82319a5ff7ace35128 (patch) | |
| tree | 56ee3dd16a9629f0d18da68bfad0b09ed04b2282 | |
| parent | 91960739746b873c80917873461ab3dad7f80b0e (diff) | |
python-xyz: Add python-paste.
* guix-science/packages/python-xyz.scm (python-paste): New variable.
| -rw-r--r-- | guix-science/packages/python-xyz.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/guix-science/packages/python-xyz.scm b/guix-science/packages/python-xyz.scm index fdf1993..6c94605 100644 --- a/guix-science/packages/python-xyz.scm +++ b/guix-science/packages/python-xyz.scm | |||
| @@ -589,6 +589,48 @@ scientific data visualization.") | |||
| 589 | (description "Python Bindings for the NVIDIA Management Library.") | 589 | (description "Python Bindings for the NVIDIA Management Library.") |
| 590 | (license license:bsd-3))) | 590 | (license license:bsd-3))) |
| 591 | 591 | ||
| 592 | ;; This was removed from Guix proper because of a test failure. | ||
| 593 | (define-public python-paste | ||
| 594 | (package | ||
| 595 | (name "python-paste") | ||
| 596 | (version "3.10.1") | ||
| 597 | (source | ||
| 598 | (origin | ||
| 599 | (method git-fetch) | ||
| 600 | (uri (git-reference | ||
| 601 | (url "https://github.com/pasteorg/paste") | ||
| 602 | (commit version))) | ||
| 603 | (file-name (git-file-name name version)) | ||
| 604 | (sha256 | ||
| 605 | (base32 | ||
| 606 | "12hknlcx31mzqdfwsz6p8abvx0da4s7dwbvhslpf35p92vmf33rm")))) | ||
| 607 | (build-system pyproject-build-system) | ||
| 608 | (arguments | ||
| 609 | (list | ||
| 610 | #:phases | ||
| 611 | #~(modify-phases %standard-phases | ||
| 612 | ;; The deprecation warnings break the tests. | ||
| 613 | (add-after 'unpack 'avoid-deprecation-warnings | ||
| 614 | (lambda _ | ||
| 615 | (substitute* "tests/__init__.py" | ||
| 616 | (("import pkg_resources") ""))))) | ||
| 617 | #:test-flags | ||
| 618 | ;; Fails because of deprecation warning from recent setuptools. | ||
| 619 | #~(list "--deselect=tests/test_cgiapp.py::test_form" | ||
| 620 | ;; FIXME: Wrong response code. | ||
| 621 | "--deselect=tests/test_fileapp.py::test_file_cache"))) | ||
| 622 | (native-inputs | ||
| 623 | (list python-pytest | ||
| 624 | python-setuptools | ||
| 625 | python-wheel)) | ||
| 626 | (home-page "https://pythonpaste.readthedocs.io/") | ||
| 627 | (synopsis "Python web development tools, focusing on WSGI") | ||
| 628 | (description | ||
| 629 | "Paste provides a variety of web development tools and middleware which | ||
| 630 | can be nested together to build web applications. Paste's design closely | ||
| 631 | follows ideas flowing from WSGI (Web Standard Gateway Interface).") | ||
| 632 | (license license:expat))) | ||
| 633 | |||
| 592 | (define-public python-pathlib-abc | 634 | (define-public python-pathlib-abc |
| 593 | (package | 635 | (package |
| 594 | (name "python-pathlib-abc") | 636 | (name "python-pathlib-abc") |
