[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/204: gnu: Add python-autocommand.
From: |
guix-commits |
Subject: |
40/204: gnu: Add python-autocommand. |
Date: |
Wed, 20 Apr 2022 02:03:15 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 71f14301664fc671eee223fb9b0114b1ba65ace2
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 5 12:08:31 2022 -0400
gnu: Add python-autocommand.
* gnu/packages/python-xyz.scm (python-autocommand): New variable.
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b5dd58a512..944518e67b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7055,6 +7055,36 @@ multiple values for the same key. An ordered multivalue
dictionary is a
multivalue dictionary that retains the order of insertions and deletions.")
(license license:unlicense)))
+(define-public python-autocommand
+ (package
+ (name "python-autocommand")
+ (version "2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "autocommand" version))
+ (sha256
+ (base32 "03qp9xx4dq81ljhf56r21gp5j0lpqs1vaw99g0d84i97s3lj1m7y"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; This test fails with an invalid syntax error on 'task1 =
+ ;; asyncio.async(coro_1())' (see:
+ ;; https://github.com/Lucretiel/autocommand/issues/20).
+ (delete-file "test/test_autoasync.py")
+ (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pytest python-pytest-asyncio))
+ (home-page "https://github.com/Lucretiel/autocommand")
+ (synopsis "Python library to build a command-line from a function")
+ (description "@code{autocommand} is library to automatically generate and
+run simple @code{argparse} parsers from function signatures.")
+ (license license:lgpl3+)))
+
(define-public python-autopep8
(package
(name "python-autopep8")
- 20/204: gnu: Add opentype-sanitizer., (continued)
- 20/204: gnu: Add opentype-sanitizer., guix-commits, 2022/04/20
- 21/204: gnu: Add python-opentype-sanitizer., guix-commits, 2022/04/20
- 22/204: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/20
- 26/204: gnu: Add python-mutatormath., guix-commits, 2022/04/20
- 27/204: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/20
- 30/204: gnu: Add python-fontpens., guix-commits, 2022/04/20
- 31/204: gnu: Add python-defcon., guix-commits, 2022/04/20
- 33/204: gnu: Add python-cu2qu., guix-commits, 2022/04/20
- 38/204: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/04/20
- 39/204: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/20
- 40/204: gnu: Add python-autocommand.,
guix-commits <=
- 44/204: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/20
- 49/204: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/20
- 52/204: gnu: Add python-jaraco-classes., guix-commits, 2022/04/20
- 53/204: gnu: Add python-jaraco-context., guix-commits, 2022/04/20
- 54/204: gnu: Add python-jaraco-functools., guix-commits, 2022/04/20
- 56/204: gnu: Add python-path., guix-commits, 2022/04/20
- 42/204: gnu: Add python-types-pytz., guix-commits, 2022/04/20
- 76/204: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/20
- 79/204: gnu: Add python-cffsubr., guix-commits, 2022/04/20
- 87/204: gnu: Add font-sil-ezra., guix-commits, 2022/04/20