diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-10 07:38:59 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-10 07:39:13 +0000 |
| commit | a3437ed164f9a1bb13156e323a470a6f1dcb410e (patch) | |
| tree | 55725975a993c3e96f336ac052b4dbe39c8e6866 /gnu | |
| parent | 4add7827b558533cce4d5f33542088e083c60a25 (diff) | |
gnu: python-pastescript: Update to 3.7.0, fix build.
* gnu/packages/python-web.scm (python-pastescript): Update to 3.7.0, fix build.
[source] <uri>: Adjust the name as it's been changed in PyPI archive.
[build-system]: Swap to pyproject-build-system.
[arguments] <tests?>: Enable the most of the them.
[propagated-inputs]: Add python-setuptools.
[native-inputs]: Remove python-nose; add python-pytest and python-wheel.
[home-page]: Fix URL.
Change-Id: I8584693bf968e8278bdbce3abf43a7cb3b4cd8fb
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b4f6da8f02e..259d6c51ec6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -6565,30 +6565,26 @@ follows ideas flowing from WSGI (Web Standard Gateway Interface).") | |||
| 6565 | (define-public python-pastescript | 6565 | (define-public python-pastescript |
| 6566 | (package | 6566 | (package |
| 6567 | (name "python-pastescript") | 6567 | (name "python-pastescript") |
| 6568 | (version "2.0.2") | 6568 | (version "3.7.0") |
| 6569 | (source | 6569 | (source |
| 6570 | (origin | 6570 | (origin |
| 6571 | (method url-fetch) | 6571 | (method url-fetch) |
| 6572 | (uri (pypi-uri "PasteScript" version)) | 6572 | (uri (pypi-uri "pastescript" version)) |
| 6573 | (sha256 | 6573 | (sha256 |
| 6574 | (base32 | 6574 | (base32 "08959bmp62pb2rlwr4wpwij15y83jcf9wa9jgg32jlvfzf6h4vsk")))) |
| 6575 | "1h3nnhn45kf4pbcv669ik4faw04j58k8vbj1hwrc532k0nc28gy0")))) | 6575 | (build-system pyproject-build-system) |
| 6576 | (build-system python-build-system) | 6576 | (arguments |
| 6577 | (list | ||
| 6578 | #:test-flags #~(list "--ignore=tests/appsetup/testfiles"))) | ||
| 6577 | (native-inputs | 6579 | (native-inputs |
| 6578 | (list python-nose)) | 6580 | (list python-pytest |
| 6581 | python-wheel)) | ||
| 6579 | (propagated-inputs | 6582 | (propagated-inputs |
| 6580 | (list python-paste python-pastedeploy)) | 6583 | (list python-paste |
| 6581 | (home-page (string-append "https://web.archive.org/web/20161025192515/" | 6584 | python-pastedeploy |
| 6582 | "http://pythonpaste.org/script/")) | 6585 | python-setuptools)) |
| 6583 | (arguments | 6586 | (home-page "https://github.com/pasteorg/pastescript") |
| 6584 | '(;; Unfortunately, this requires the latest unittest2, | 6587 | (synopsis "Pluggable command line tool for serving web applications and more") |
| 6585 | ;; but that requires traceback2 which requires linecache2 which requires | ||
| 6586 | ;; unittest2. So we're skipping tests for now. | ||
| 6587 | ;; (Note: Apparently linetest2 only needs unittest2 for its tests, | ||
| 6588 | ;; so in theory we could get around this situation somehow.) | ||
| 6589 | #:tests? #f)) | ||
| 6590 | (synopsis | ||
| 6591 | "Pluggable command line tool for serving web applications and more") | ||
| 6592 | (description | 6588 | (description |
| 6593 | "PasteScript is a plugin-friendly command line tool which provides a | 6589 | "PasteScript is a plugin-friendly command line tool which provides a |
| 6594 | variety of features, from launching web applications to bootstrapping project | 6590 | variety of features, from launching web applications to bootstrapping project |
