diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-15 22:02:04 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:05 +0100 |
| commit | adce9d90e3e3dd6a72ccdfdc73a41ea7560fa07b (patch) | |
| tree | bf75838ae2e7b21ae2cfd3c4499d0d8b284d17fe | |
| parent | 11d9d6630e968fcd49236dcd067e2c66095b0f42 (diff) | |
gnu: python-pyhamcrest: Update to 2.1.0.
* gnu/packages/check.scm (python-pyhamcrest): Update to 2.1.0.
[source]: Switch to url-fetch, PyPI contains tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-pytest-cov, python-mock, python-pytest,
and python-hypothesis; add python-hatch-vcs, python-hatchling, and
python-pytest-bootstrap.
Change-Id: Icda80f0a54a5b043d887993056bce3667cd4ecec
| -rw-r--r-- | gnu/packages/check.scm | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index c7bb19d1ec..26ba36a133 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3448,25 +3448,18 @@ retried.") (define-public python-pyhamcrest (package (name "python-pyhamcrest") - (version "2.0.3") - (source (origin - (method git-fetch) ;no tests in PyPI archive - (uri (git-reference - (url "https://github.com/hamcrest/PyHamcrest") - (commit (string-append "V" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0j0fpd7vw700l6gx29gz9j28d22ajkz6sngfzp4c8an4ibd2fw85")))) - (native-inputs ;all native inputs are for tests - (list python-pytest-cov python-mock python-pytest python-hypothesis)) - (build-system python-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv")))))) + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyhamcrest" version)) + (sha256 + (base32 "175xfp4zgjmsxac79z39in77pjg7yck1kbr25kkvf31xjb0bxb66")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatch-vcs + python-hatchling + python-pytest-bootstrap)) (home-page "https://hamcrest.org/") (synopsis "Hamcrest matchers for Python") (description "PyHamcrest is a framework for writing matcher objects, |
