mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-daemon: Update to 3.1.2.
* gnu/packages/python-xyz.scm (python-daemon): Update to 3.1.2. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Remove phase 'adjust-tests. Add phase 'discard-dynamic-metadata. [native-inputs]: Add python-setuptools, remove python-docutils, python-testtools. [description]: Improve style. Change-Id: Ibb3928a2e89146eafee7896f0c2dd8eefd1dc1d0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
4538180356
commit
8114c5549d
1 changed files with 27 additions and 27 deletions
|
@ -8375,39 +8375,39 @@ logging and tracing of the execution.")
|
||||||
(define-public python-daemon
|
(define-public python-daemon
|
||||||
(package
|
(package
|
||||||
(name "python-daemon")
|
(name "python-daemon")
|
||||||
(version "3.0.1")
|
(version "3.1.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "python-daemon" version))
|
(uri (git-reference
|
||||||
|
(url "https://pagure.io/python-daemon")
|
||||||
|
(commit (string-append "release/" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0rfchh68pxg68s02idc0qcm2s9yn587hv0b83r4isy5ccb3g60y4"))))
|
||||||
"1rfsnij687hk97ppzs2q6mwmxgr632nh672ajd0gzsppf8ilamvc"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-before 'check 'adjust-tests
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'discard-dynamic-metadata
|
||||||
;; FIXME: Determine why test fails
|
(lambda _
|
||||||
(substitute* "test/test_daemon.py"
|
(substitute* "pyproject.toml"
|
||||||
(("test_detaches_process_context")
|
(("^dynamic = " all)
|
||||||
"skip_test_detaches_process_context"))
|
(format #f "version = ~s~%~a" #$version all))
|
||||||
(substitute* "test/scaffold.py"
|
(("\"(description|readme|version|maintainers)\",")
|
||||||
(("test_exception_instance")
|
""))
|
||||||
"skip_test_exception_instance")
|
(for-each delete-file
|
||||||
(("test_exception_types")
|
'("setup.py"
|
||||||
"skip_test_exception_types")))))))
|
"test/test_util_metadata.py"
|
||||||
(propagated-inputs
|
"test/test_setup.py")))))))
|
||||||
(list python-lockfile python-packaging python-setuptools))
|
(propagated-inputs (list python-lockfile))
|
||||||
(native-inputs
|
(native-inputs (list python-testscenarios python-setuptools))
|
||||||
(list python-docutils
|
|
||||||
python-testscenarios
|
|
||||||
python-testtools))
|
|
||||||
(home-page "https://pagure.io/python-daemon/")
|
(home-page "https://pagure.io/python-daemon/")
|
||||||
(synopsis "Python library for making a Unix daemon process")
|
(synopsis "Python library for making a Unix daemon process")
|
||||||
(description "Python-daemon is a library that assists a Python program to
|
(description
|
||||||
turn itself into a well-behaved Unix daemon process, as specified in PEP 3143.
|
"Python-daemon is a library that assists a Python program to turn itself
|
||||||
|
into a well-behaved Unix daemon process, as specified in PEP 3143.
|
||||||
|
|
||||||
This library provides a @code{DaemonContext} class that manages the following
|
This library provides a @code{DaemonContext} class that manages the following
|
||||||
important tasks for becoming a daemon process:
|
important tasks for becoming a daemon process:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue