[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#77400] [PATCH 26/26] gnu: python-mechanize: Update to 0.4.10.
From: |
Nicolas Graves |
Subject: |
[bug#77400] [PATCH 26/26] gnu: python-mechanize: Update to 0.4.10. |
Date: |
Mon, 31 Mar 2025 08:18:54 +0200 |
* gnu/packages/python-xyz.scm (python-mechanize): Update to 0.4.10.
[build-system]: Switch to pyproject-build-system.
[arguments]{tests?}: Disable them.
{phases}: Add 'configure-tests phase to setup GUIX_PYTHONPATH.
[native-inputs]: Add python-html5-parser, python-html5lib,
python-lxml, python-service-identity, python-setuptools, python-six,
python-twisted, python-wheel.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 015872902a..3d2bade3fc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5167,15 +5167,33 @@ (define-public python-scour
(define-public python-mechanize
(package
(name "python-mechanize")
- (version "0.4.7")
+ (version "0.4.10")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mechanize" version))
(sha256
- (base32
- "02b845y85ka5sl2cj93lll3v326d8bww07bq1q0y1643h7sshwqp"))))
- (build-system python-build-system)
+ (base32 "1pvxjnhqi6iq7nnjksnfvyzxcibbwfjc9fzp22v0msp7kdzr9shx"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; XXX: Unclear why tests are failing.
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'configure-tests
+ (lambda _
+ (setenv "GUIX_PYTHONPATH"
+ (string-append (getcwd) "/test-tools:"
+ (getenv "GUIX_PYTHONPATH"))))))))
+ (native-inputs
+ (list python-html5-parser
+ python-html5lib
+ python-lxml
+ python-service-identity
+ python-setuptools
+ python-six
+ python-twisted
+ python-wheel))
(propagated-inputs
(list python-html5lib))
(home-page "https://github.com/python-mechanize/mechanize")
--
2.49.0
- [bug#77400] [PATCH 18/26] gnu: umi-tools: Update to 1.1.6., (continued)
- [bug#77400] [PATCH 18/26] gnu: umi-tools: Update to 1.1.6., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 20/26] gnu: python-patch-ng: Update to 1.18.1., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 24/26] gnu: libei: Update to 1.4.0., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 17/26] gnu: Add python-pybktree., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 11/26] gnu: seqmagick: Update to 0.8.6-0.dee6ab9., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 14/26] gnu: python-rstr: Update to 3.2.2. Enable tests., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 22/26] gnu: conan: Update to 2.7.1., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 08/26] gnu: python-pyquery: Update to 2.0.1., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 15/26] gnu: reprotest: Update to 0.7.29., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 19/26] gnu: cpplint: Update to 2.0.0., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 26/26] gnu: python-mechanize: Update to 0.4.10.,
Nicolas Graves <=
- [bug#77400] [PATCH 10/26] gnu: rseqc: Switch to pyproject-build-system., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 04/26] gnu: python-jsonargparse: Update to 4.37.0., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 13/26] gnu: taxtastic: Update to 0.11.1., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 23/26] gnu: python-cu2qu: Fix tests., Nicolas Graves, 2025/03/31
- [bug#77400] [PATCH 06/26] gnu: Remove python-parameterizedtestcase., Nicolas Graves, 2025/03/31
- bug#77400: [PATCH python-team 00/26] Some further updates, Sharlatan Hellseher, 2025/03/31