[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 040/232] gnu: Add python-autocommand.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 040/232] gnu: Add python-autocommand. |
Date: |
Sun, 24 Apr 2022 23:56:06 -0400 |
* 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 @@ (define-public python-orderedmultidict
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")
--
2.34.0
- [bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap., (continued)
- [bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 029/232] gnu: Add python-fontparts-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 044/232] gnu: Add python-pytest-enabler-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 033/232] gnu: Add python-cu2qu., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 026/232] gnu: Add python-mutatormath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 023/232] gnu: Add python-fontmath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 037/232] gnu: Add python-pytest-mypy., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 055/232] gnu: Add python-pytest-enabler., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 056/232] gnu: Add python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 040/232] gnu: Add python-autocommand.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 041/232] gnu: Add python-types-freezegun., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 057/232] gnu: Add python-pip-run., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 085/232] gnu: Add python-sfdlib., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 092/232] gnu: Add python-untangle., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 009/232] gnu: python-prompt-toolkit: Update to 3.0.29., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 024/232] gnu: Add python-unicodedata2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 025/232] gnu: python-fonttools-with-test: Rename to python-fonttools-full., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 039/232] gnu: Add python-jaraco-functools-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 027/232] gnu: Add python-fontpens-bootstrap., Maxim Cournoyer, 2022/04/25