diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-07-13 21:13:39 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:25 +0100 |
| commit | a66a0db2db403107e0ae96b06e8631a97b911769 (patch) | |
| tree | a10338c17492f9cdf7779e217da2f4cd14f39726 /gnu/packages/python-web.scm | |
| parent | cf1938d35e9a5ac70c87a2e54540108ba45153ae (diff) | |
gnu: python-arxiv: Update to 4.0.0.
* gnu/packages/python-web.scm (python-arxiv): Update to 4.0.0.
[arguments]<#:phases>: Add 'relax-dependencies phase.
[propagated-inputs]: Add python-lxml.
Relates-to: guix/guix!9909
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6bfdd7568cb..74baa3c7d81 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -388,7 +388,7 @@ SNS, Gotify, etc.") | |||
| 388 | (define-public python-arxiv | 388 | (define-public python-arxiv |
| 389 | (package | 389 | (package |
| 390 | (name "python-arxiv") | 390 | (name "python-arxiv") |
| 391 | (version "3.0.0") | 391 | (version "4.0.0") |
| 392 | (source | 392 | (source |
| 393 | (origin | 393 | (origin |
| 394 | (method git-fetch) | 394 | (method git-fetch) |
| @@ -397,7 +397,7 @@ SNS, Gotify, etc.") | |||
| 397 | (commit version))) | 397 | (commit version))) |
| 398 | (file-name (git-file-name name version)) | 398 | (file-name (git-file-name name version)) |
| 399 | (sha256 | 399 | (sha256 |
| 400 | (base32 "18kn8q1lbql1w8jm5clla6za2zpijhs5hi2kpz41x5skps96lrd3")))) | 400 | (base32 "13363igvv3q5aj04jcrrc0cfliinlk8js84h2a9xhpwizsq96l4j")))) |
| 401 | (build-system pyproject-build-system) | 401 | (build-system pyproject-build-system) |
| 402 | (arguments | 402 | (arguments |
| 403 | (list #:test-flags | 403 | (list #:test-flags |
| @@ -405,13 +405,23 @@ SNS, Gotify, etc.") | |||
| 405 | (string-append "not (TestAPIBugs " | 405 | (string-append "not (TestAPIBugs " |
| 406 | "or TestClient " | 406 | "or TestClient " |
| 407 | "or TestResult " | 407 | "or TestResult " |
| 408 | "or TestDownload)")))) | 408 | "or TestDownload)")) |
| 409 | #:phases | ||
| 410 | #~(modify-phases %standard-phases | ||
| 411 | (add-after 'unpack 'relax-dependencies | ||
| 412 | (lambda _ | ||
| 413 | (substitute* "pyproject.toml" | ||
| 414 | ;; pyproject.toml wants 6.10, guix has 6.02, seems fine | ||
| 415 | (("\"lxml.*\"") "\"lxml\"") | ||
| 416 | ;; artificial capped at <2.34 by dependabot | ||
| 417 | (("\"requests.*\"") "\"requests\""))))))) | ||
| 409 | (native-inputs | 418 | (native-inputs |
| 410 | (list python-pytest | 419 | (list python-pytest |
| 411 | python-hatch-vcs | 420 | python-hatch-vcs |
| 412 | python-hatchling)) | 421 | python-hatchling)) |
| 413 | (propagated-inputs | 422 | (propagated-inputs |
| 414 | (list python-feedparser | 423 | (list python-feedparser |
| 424 | python-lxml | ||
| 415 | python-requests)) | 425 | python-requests)) |
| 416 | (home-page "https://github.com/lukasschwab/arxiv.py") | 426 | (home-page "https://github.com/lukasschwab/arxiv.py") |
| 417 | (synopsis "Python wrapper for the arXiv API") | 427 | (synopsis "Python wrapper for the arXiv API") |
