diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-03-09 16:04:40 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-03-09 16:04:50 +0200 |
commit | c3fb753045706b047c5c7564299f20d755d4ed65 (patch) | |
tree | 087c27d3151f1a1ccdc59aee003deef84ac2f11f /gnu | |
parent | 12640deb502d99d37ae6fe7a06d5c5335a80973e (diff) | |
download | guix-c3fb753045706b047c5c7564299f20d755d4ed65.tar.gz guix-c3fb753045706b047c5c7564299f20d755d4ed65.zip |
gnu: python-logwrap: Update to 8.2.0.post0.
* gnu/packages/python-xyz.scm (python-logwrap): Update to 8.2.0.post0.
[arguments]: Disable tests. Replace 'check phase.
[propagated-inputs]: Remove python-six, python-typing.
[native-inputs]: Remove unzip, python-pytest-cov, python-pytest-runner.
Add python-setuptools-scm, python-toml, python-wheel.
[home-page]: Update to new upstream URI.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 912b9db62b..b1ac3e2e3b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -662,25 +662,31 @@ module and then similar looking characters are removed.") (define-public python-logwrap (package (name "python-logwrap") - (version "3.2.1") + (version "8.2.0.post0") (source (origin (method url-fetch) - (uri (pypi-uri "logwrap" version ".zip")) + (uri (pypi-uri "logwrap" version)) (sha256 (base32 - "1d2k0hvpbi51vl410y8fbs5m0nxnlh2k7gr2nrh3k81ibhzscsra")))) + "1dv7gny3rfci5cal2ipr6d0pcz3yhka7af96dfsd3ir1mxy8p1j9")))) (build-system python-build-system) - (propagated-inputs - `(("python-six" ,python-six) - ("python-typing" ,python-typing))) + (arguments + `(#:tests? #f ; Tests not included in pypi release. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest")) + #t))))) (native-inputs - `(("unzip" ,unzip) - ("python-cython" ,python-cython) + `(("python-cython" ,python-cython) ("python-pytest" ,python-pytest) - ("python-pytest-cov" ,python-pytest-cov) - ("python-pytest-runner" ,python-pytest-runner))) - (home-page "https://github.com/penguinolog/logwrap") + ("python-setuptools-scm" ,python-setuptools-scm) + ("python-toml" ,python-toml) + ("python-wheel" ,python-wheel))) + (home-page "https://github.com/python-useful-helpers/logwrap") (synopsis "Decorator for logging function arguments") (description "This package provides a decorator to log function arguments and function call return values in a human-readable way.") |