--- Begin Message ---
Subject: |
[PATCH] gnu: Add python-schedule. |
Date: |
Thu, 14 Sep 2017 21:43:51 +0200 |
User-agent: |
StGit/unknown-version |
* gnu/packages/python.scm (python-schedule, python2-schedule): New variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6c76df7..4943dad 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1249,6 +1249,34 @@ datetime module, available in Python 2.3+.")
(define-public python2-parsedatetime
(package-with-python2 python-parsedatetime))
+(define-public python-schedule
+ (package
+ (name "python-schedule")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "schedule" version))
+ (sha256
+ (base32
+ "0vplyjcbfrq50sphlwya749z8p2pcyi2nycw3518i0qpd9a6189i"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-mock" ,python-mock)))
+ (home-page "https://github.com/dbader/schedule")
+ (synopsis
+ "Python job scheduling for humans")
+ (description
+ "An in-process scheduler for periodic jobs that uses the builder pattern
+for configuration. Schedule lets you run Python functions (or any other
+callable) periodically at pre-determined intervals using a simple,
+human-friendly syntax.")
+ (license license:expat)))
+
+(define-public python2-schedule
+ (package-with-python2 python-schedule))
+
(define-public python-pandas
(package
(name "python-pandas")
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#28463] [PATCH] gnu: Add python-schedule. |
Date: |
Fri, 15 Sep 2017 16:45:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Stefan Reichör <address@hidden> skribis:
> * gnu/packages/python.scm (python-schedule, python2-schedule): New variables.
I’ve adjusted the synopsis (see below) in an attempt to clarify things
and committed.
Thanks!
Ludo’.
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4943dadfa..5927db0d6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1265,12 +1265,11 @@ datetime module, available in Python 2.3+.")
`(("python-pytest" ,python-pytest)
("python-mock" ,python-mock)))
(home-page "https://github.com/dbader/schedule")
- (synopsis
- "Python job scheduling for humans")
+ (synopsis "Schedule periodic function calls in Python")
(description
- "An in-process scheduler for periodic jobs that uses the builder pattern
-for configuration. Schedule lets you run Python functions (or any other
-callable) periodically at pre-determined intervals using a simple,
+ "Schedule is an in-process scheduler for periodic jobs that uses the
+builder pattern for configuration. Schedule lets you run Python functions (or
+any other callable) periodically at pre-determined intervals using a simple,
human-friendly syntax.")
(license license:expat)))
--- End Message ---