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.
This commit is contained in:
parent
12640deb50
commit
c3fb753045
1 changed files with 17 additions and 11 deletions
|
@ -662,25 +662,31 @@ module and then similar looking characters are removed.")
|
||||||
(define-public python-logwrap
|
(define-public python-logwrap
|
||||||
(package
|
(package
|
||||||
(name "python-logwrap")
|
(name "python-logwrap")
|
||||||
(version "3.2.1")
|
(version "8.2.0.post0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "logwrap" version ".zip"))
|
(uri (pypi-uri "logwrap" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1d2k0hvpbi51vl410y8fbs5m0nxnlh2k7gr2nrh3k81ibhzscsra"))))
|
"1dv7gny3rfci5cal2ipr6d0pcz3yhka7af96dfsd3ir1mxy8p1j9"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(propagated-inputs
|
(arguments
|
||||||
`(("python-six" ,python-six)
|
`(#:tests? #f ; Tests not included in pypi release.
|
||||||
("python-typing" ,python-typing)))
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest"))
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)
|
`(("python-cython" ,python-cython)
|
||||||
("python-cython" ,python-cython)
|
|
||||||
("python-pytest" ,python-pytest)
|
("python-pytest" ,python-pytest)
|
||||||
("python-pytest-cov" ,python-pytest-cov)
|
("python-setuptools-scm" ,python-setuptools-scm)
|
||||||
("python-pytest-runner" ,python-pytest-runner)))
|
("python-toml" ,python-toml)
|
||||||
(home-page "https://github.com/penguinolog/logwrap")
|
("python-wheel" ,python-wheel)))
|
||||||
|
(home-page "https://github.com/python-useful-helpers/logwrap")
|
||||||
(synopsis "Decorator for logging function arguments")
|
(synopsis "Decorator for logging function arguments")
|
||||||
(description "This package provides a decorator to log function arguments
|
(description "This package provides a decorator to log function arguments
|
||||||
and function call return values in a human-readable way.")
|
and function call return values in a human-readable way.")
|
||||||
|
|
Reference in a new issue