gnu: python-atpublic: Update to 3.1.1.
* gnu/packages/python-check.scm (python-atpublic): Update to 3.1.1. [build-system]: Switch to pyproject-build-system. [arguments]: Remove #:phases, override build backend. [native-inputs]: Replace nose2 with pytest, add python-pdm-backend, python-sybil and python-pytest-cov.master
parent
d1e4803474
commit
5d38269aca
|
@ -1736,27 +1736,18 @@ Python software under test, when they make an HTTP query.")
|
||||||
(define-public python-atpublic
|
(define-public python-atpublic
|
||||||
(package
|
(package
|
||||||
(name "python-atpublic")
|
(name "python-atpublic")
|
||||||
(version "1.0")
|
(version "3.1.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "atpublic" version))
|
(uri (pypi-uri "atpublic" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0i3sbxkdlbb4560rrlmwwd5y4ps7k73lp4d8wnmd7ag9k426gjkx"))))
|
"060v2b5jfn7p99j09amxlb6w9ynwbq7fix31kl0caz0hs09fx61h"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments (list #:build-backend "pdm.backend"))
|
||||||
'(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-before 'build 'enable-c-implementation
|
|
||||||
(lambda _
|
|
||||||
(setenv "ATPUBLIC_BUILD_EXTENSION" "yes")
|
|
||||||
#t))
|
|
||||||
(replace 'check
|
|
||||||
(lambda _
|
|
||||||
(invoke "python" "-m" "nose2" "-v"))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-nose2))
|
(list python-pytest python-pdm-backend python-sybil python-pytest-cov))
|
||||||
(home-page "https://public.readthedocs.io/")
|
(home-page "https://public.readthedocs.io/")
|
||||||
(synopsis "@code{@@public} decorator for populating @code{__all__}")
|
(synopsis "@code{@@public} decorator for populating @code{__all__}")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue