[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/232: gnu: Add python-autocommand.
From: |
guix-commits |
Subject: |
40/232: gnu: Add python-autocommand. |
Date: |
Sun, 24 Apr 2022 23:58:29 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit e0321a5b24f32771c38f664a5b8df31fe2dfede8
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")
- 59/232: gnu: Add python-pytest-perf., (continued)
- 59/232: gnu: Add python-pytest-perf., guix-commits, 2022/04/24
- 63/232: gnu: Add psautohint-font-data., guix-commits, 2022/04/24
- 66/232: gnu: Add python-xdoctest., guix-commits, 2022/04/24
- 70/232: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/24
- 72/232: gnu: Add python-scikit-build., guix-commits, 2022/04/24
- 75/232: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/24
- 25/232: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/24
- 27/232: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/24
- 38/232: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/04/24
- 39/232: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/24
- 40/232: gnu: Add python-autocommand.,
guix-commits <=
- 35/232: gnu: Add python-ufonormalizer., guix-commits, 2022/04/24
- 43/232: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/24
- 48/232: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/24
- 51/232: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/24
- 23/232: gnu: Add python-fontmath., guix-commits, 2022/04/24
- 28/232: gnu: Add python-booleanoperations., guix-commits, 2022/04/24
- 33/232: gnu: Add python-cu2qu., guix-commits, 2022/04/24
- 55/232: gnu: Add python-pytest-enabler., guix-commits, 2022/04/24
- 56/232: gnu: Add python-path., guix-commits, 2022/04/24
- 58/232: gnu: Add python-tempora., guix-commits, 2022/04/24