mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Merge branch 'master' into core-updates
This commit is contained in:
commit
c3f47e44cd
25 changed files with 374 additions and 76 deletions
|
@ -1938,6 +1938,40 @@ easier to build concurrent applications.")
|
|||
(define-public python2-pykka
|
||||
(package-with-python2 python-pykka))
|
||||
|
||||
(define-public python-pymsgbox
|
||||
(package
|
||||
(name "python-pymsgbox")
|
||||
(version "1.0.6")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
;; LICENSE.txt is not present on pypi
|
||||
(url "https://github.com/asweigart/PyMsgBox")
|
||||
(commit "55926b55f46caa969c5ddb87990ebea2737bd66f")))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0zy7rjfpwlrd8b64j7jk2lb8m2npc21rnpwakpfvwgl4nxdy80rg"))))
|
||||
(arguments
|
||||
;; Circular dependency to run tests:
|
||||
;; Tests need pyautogui, which depends on pymsgbox.
|
||||
'(#:tests? #f))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/asweigart/PyMsgBox")
|
||||
(synopsis "Python module for JavaScript-like message boxes")
|
||||
(description
|
||||
"PyMsgBox is a simple, cross-platform, pure Python module for
|
||||
JavaScript-like message boxes. Types of dialog boxes include:
|
||||
@enumerate
|
||||
@item alert
|
||||
@item confirm
|
||||
@item prompt
|
||||
@item password
|
||||
@end enumerate
|
||||
")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-pympler
|
||||
(package
|
||||
(name "python-pympler")
|
||||
|
@ -2189,6 +2223,57 @@ logging and tracing of the execution.")
|
|||
(define-public python2-joblib
|
||||
(package-with-python2 python-joblib))
|
||||
|
||||
(define-public python-daemon
|
||||
(package
|
||||
(name "python-daemon")
|
||||
(version "2.2.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "python-daemon" version))
|
||||
(sha256
|
||||
(base32
|
||||
"09fcjdjzk9ywmpnrj62iyxqgcygzdafsz41qlrk2dknzbagcmzmg"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'disable-tests
|
||||
(lambda _
|
||||
;; FIXME: Determine why test fails
|
||||
(substitute* "test/test_daemon.py"
|
||||
(("test_detaches_process_context")
|
||||
"skip_test_detaches_process_context"))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("python-lockfile" ,python-lockfile)))
|
||||
(native-inputs
|
||||
`(("python-unittest2" ,python-unittest2)
|
||||
("python-testtools" ,python-testtools)
|
||||
("python-testscenarios" ,python-testscenarios)
|
||||
("python-mock" ,python-mock)
|
||||
("python-docutils" ,python-docutils)))
|
||||
(home-page "https://pagure.io/python-daemon/")
|
||||
(synopsis "Python library for making a Unix daemon process")
|
||||
(description "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
|
||||
important tasks for becoming a daemon process:
|
||||
@enumerate
|
||||
@item Detach the process into its own process group.
|
||||
@item Set process environment appropriate for running inside a chroot.
|
||||
@item Renounce suid and sgid privileges.
|
||||
@item Close all open file descriptors.
|
||||
@item Change the working directory, uid, gid, and umask.
|
||||
@item Set appropriate signal handlers.
|
||||
@item Open new file descriptors for stdin, stdout, and stderr.
|
||||
@item Manage a specified PID lock file.
|
||||
@item Register cleanup functions for at-exit processing.
|
||||
@end enumerate")
|
||||
;; Only setup.py is gpl3+, everything else is apache 2.0 licensed.
|
||||
(license (list license:asl2.0 license:gpl3+))))
|
||||
|
||||
(define-public python-docutils
|
||||
(package
|
||||
(name "python-docutils")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue