[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: |
Thu, 12 May 2022 14:14:03 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 21f29263f3572c4a273d9e548adb8c8c8882e445
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 58902afd39..f7cae9e656 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7097,6 +7097,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")
- 14/242: gnu: Add texlive-metalogo., (continued)
- 14/242: gnu: Add texlive-metalogo., guix-commits, 2022/05/12
- 11/242: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/05/12
- 16/242: gnu: Add texlive-csplain., guix-commits, 2022/05/12
- 18/242: gnu: Add texlive-zref., guix-commits, 2022/05/12
- 20/242: gnu: Add opentype-sanitizer., guix-commits, 2022/05/12
- 30/242: gnu: Add python-fontpens., guix-commits, 2022/05/12
- 22/242: gnu: Add python-defcon-bootstrap., guix-commits, 2022/05/12
- 41/242: gnu: Add python-types-freezegun., guix-commits, 2022/05/12
- 46/242: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/05/12
- 34/242: gnu: Add python-ufoprocessor., guix-commits, 2022/05/12
- 40/242: gnu: Add python-autocommand.,
guix-commits <=
- 37/242: gnu: Add python-pytest-mypy., guix-commits, 2022/05/12
- 50/242: gnu: Add python-types-docutils., guix-commits, 2022/05/12
- 48/242: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/05/12
- 54/242: gnu: Add python-jaraco-functools., guix-commits, 2022/05/12
- 61/242: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/05/12
- 68/242: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/05/12
- 70/242: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/05/12
- 64/242: gnu: Add psautohint., guix-commits, 2022/05/12
- 73/242: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/05/12
- 79/242: gnu: Add python-cffsubr., guix-commits, 2022/05/12