[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: python-logwrap: Update to 8.2.0.post0.
From: |
guix-commits |
Subject: |
03/04: gnu: python-logwrap: Update to 8.2.0.post0. |
Date: |
Tue, 9 Mar 2021 09:22:21 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit c3fb753045706b047c5c7564299f20d755d4ed65
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Mar 9 16:04:40 2021 +0200
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.
---
gnu/packages/python-xyz.scm | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 912b9db..b1ac3e2 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.")