[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/242: gnu: Add python-autocommand.
From: |
guix-commits |
Subject: |
40/242: gnu: Add python-autocommand. |
Date: |
Wed, 11 May 2022 18:02:48 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit a207eb08e7225112a8c3a0d34cc89e2d1723a486
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 b8a86b6d97..c26b652319 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7087,6 +7087,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")
- 223/242: gnu: Add python-nptyping., (continued)
- 223/242: gnu: Add python-nptyping., guix-commits, 2022/05/11
- 225/242: gnu: python-sphinxext-opengraph: Update to 0.6.3., guix-commits, 2022/05/11
- 215/242: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/05/11
- 221/242: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/05/11
- 80/242: gnu: Add skia., guix-commits, 2022/05/11
- 79/242: gnu: Add python-cffsubr., guix-commits, 2022/05/11
- 02/242: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/05/11
- 08/242: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/05/11
- 22/242: gnu: Add python-defcon-bootstrap., guix-commits, 2022/05/11
- 29/242: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/05/11
- 40/242: gnu: Add python-autocommand.,
guix-commits <=
- 37/242: gnu: Add python-pytest-mypy., guix-commits, 2022/05/11
- 46/242: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/05/11
- 53/242: gnu: Add python-jaraco-context., guix-commits, 2022/05/11
- 69/242: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/05/11
- 67/242: gnu: Add python-ubelt., guix-commits, 2022/05/11
- 70/242: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/05/11
- 72/242: gnu: Add python-scikit-build., guix-commits, 2022/05/11
- 78/242: gnu: Add python-afdko., guix-commits, 2022/05/11
- 92/242: gnu: Add python-untangle., guix-commits, 2022/05/11
- 88/242: gnu: Add texlive-bidi., guix-commits, 2022/05/11