[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: Add python-watchgod.
From: |
guix-commits |
Subject: |
04/10: gnu: Add python-watchgod. |
Date: |
Mon, 7 Sep 2020 03:08:09 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit b3b1384d0d772962f35de699fcb42613b9fd22d2
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Sep 6 02:46:47 2020 -0300
gnu: Add python-watchgod.
* gnu/packages/python-xyz.scm (python-watchgod): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a4c797c..078779b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20343,6 +20343,49 @@ such as a file modification and trigger an action.
This is similar to inotify,
but portable.")
(license license:asl2.0)))
+(define-public python-watchgod
+ (package
+ (name "python-watchgod")
+ (version "0.6")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/samuelcolvin/watchgod")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lqx44wkryakgpyqj3m0hsz61bqr07vc7smgzh188374hwvscp66"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv"))))))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-docutils" ,python-docutils)
+ ("python-flake8" ,python-flake8)
+ ("python-isort" ,python-isort)
+ ("python-pycodestyle" ,python-pycodestyle)
+ ("python-pyflakes" ,python-pyflakes)
+ ("python-pygments" ,python-pygments)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-aiohttp" ,python-pytest-aiohttp)
+ ("python-pytest-mock" ,python-pytest-mock)
+ ("python-pytest-sugar" ,python-pytest-sugar)
+ ("python-pytest-toolbox" ,python-pytest-toolbox)))
+ (home-page "https://github.com/samuelcolvin/watchgod")
+ (synopsis "Simple, modern file watching and code reload in Python")
+ (description
+ "Simple, modern file watching and code reload in Python inspired by
+@code{watchdog}. Among the differences are a unified approach for each
+operating systems and an elegant approach to concurrency using threading.")
+ (license license:expat)))
+
(define-public python-wget
(package
(name "python-wget")
- branch master updated (2e5fef8 -> 32bf033), guix-commits, 2020/09/07
- 01/10: gnu: Add python-httptools., guix-commits, 2020/09/07
- 02/10: gnu: Add python-uvloop., guix-commits, 2020/09/07
- 03/10: gnu: Add python-pytest-toolbox., guix-commits, 2020/09/07
- 04/10: gnu: Add python-watchgod.,
guix-commits <=
- 05/10: gnu: Add python-uvicorn., guix-commits, 2020/09/07
- 06/10: gnu: Add python-flake8-pie., guix-commits, 2020/09/07
- 07/10: gnu: Add python-autoflake., guix-commits, 2020/09/07
- 09/10: gnu: Add python-httpcore., guix-commits, 2020/09/07
- 08/10: gnu: Add python-trio-typing., guix-commits, 2020/09/07
- 10/10: gnu: Add python-httpx., guix-commits, 2020/09/07