* [bug#66467] [PATCH 1/2] gnu: python-doit: Update to 0.36.0.
@ 2023-10-11 17:52 Paul A. Patience
2023-10-11 17:54 ` [bug#66467] [PATCH 2/2] gnu: Add python-pydevtool Paul A. Patience
0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Patience @ 2023-10-11 17:52 UTC (permalink / raw)
To: 66467; +Cc: Paul A. Patience
* gnu/packages/python-xyz.scm (python-doit): Update to 0.36.0.
[arguments]: New field.
[propagated-inputs]: Move below native-inputs. Remove python-pyinotify
and add python-importlib-metadata and python-tomli.
[description]: Fix typos and use @code.
---
gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++-------------
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 94e8db934f..00129bd442 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32033,28 +32033,39 @@ (define-public python-yapsy
(define-public python-doit
(package
(name "python-doit")
- (version "0.34.0")
+ (version "0.36.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "doit" version))
- (sha256
- (base32 "0bf0m9n0hyjvjpv051zd26725j8jr23gyvc37v3kkadwbh8dxwcf"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "doit" version))
+ (sha256
+ (base32 "1g1lwaxb9q3a6c24sr3gw5bspsk5frbrk2frb7z25jqljp67rl3i"))))
(build-system python-build-system)
- (propagated-inputs
- (list python-cloudpickle python-pyinotify))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "-k"
+ ;; Requires doitpy, which is missing from Guix.
+ "not test_execute")))))))
(native-inputs
- (list python-pytest))
+ (list python-pytest))
+ (propagated-inputs
+ (list python-cloudpickle
+ python-importlib-metadata
+ python-tomli))
(home-page "https://pydoit.org")
(synopsis "Automation tool to execute any kind of task in a build-tools
fashion")
- (description "doit is an automation tool that brings the power of
-build-tools to execute any kind of task.
+ (description "@code{doit} is an automation tool that brings the power of
+build tools to execute any kind of task.
A task describes some computation to be done (actions), and contains some
-extra meta-data. The actions can be external programs or Python functions. A
-single task may define more than one action.doit uses the task’s meta-data
-to:
+extra metadata. The actions can be external programs or Python functions. A
+single task may define more than one action. @code{doit} uses the task’s
+metadata to:
@itemize
@item cache task results
base-commit: f4e8baf3806e79d7111d2943859865ae4ee0b59d
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#66467] [PATCH 2/2] gnu: Add python-pydevtool.
2023-10-11 17:52 [bug#66467] [PATCH 1/2] gnu: python-doit: Update to 0.36.0 Paul A. Patience
@ 2023-10-11 17:54 ` Paul A. Patience
0 siblings, 0 replies; 2+ messages in thread
From: Paul A. Patience @ 2023-10-11 17:54 UTC (permalink / raw)
To: 66467; +Cc: Paul A. Patience
* gnu/packages/python-xyz.scm (python-pydevtool): New variable.
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 00129bd442..ae48b05e43 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32075,6 +32075,31 @@ (define-public python-doit
@end itemize")
(license license:expat)))
+(define-public python-pydevtool
+ (package
+ (name "python-pydevtool")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pydevtool" version))
+ (sha256
+ (base32 "12pwhvvm4pgvfxj18ylb66drxm28b2cpb5rbxqrsrk1k7m7vmqr5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; No tests.
+ #:tests? #f))
+ (propagated-inputs
+ (list python-doit))
+ (home-page "https://github.com/pydoit/pydevtool")
+ (synopsis "CLI development tools powered by @code{doit}")
+ (description
+ "@code{pydevtool} is a Python development tool powered by @code{doit}.
+It integrates with Click and Rich for creating CLIs, and also with linters
+@code{pycodestyle} and Pyflakes.")
+ (license license:expat)))
+
(define-public python-phpserialize
(package
(name "python-phpserialize")
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-11 17:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11 17:52 [bug#66467] [PATCH 1/2] gnu: python-doit: Update to 0.36.0 Paul A. Patience
2023-10-11 17:54 ` [bug#66467] [PATCH 2/2] gnu: Add python-pydevtool Paul A. Patience
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).