[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50018] [PATCH 02/19] gnu: Add python-click-didyoumean.
From: |
Vinicius Monego |
Subject: |
[bug#50018] [PATCH 02/19] gnu: Add python-click-didyoumean. |
Date: |
Wed, 11 Aug 2021 23:44:54 +0000 |
* gnu/packages/python-xyz.scm (python-click-didyoumean): New variable.
---
gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7f2863e5fb..af415e2666 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6888,6 +6888,40 @@ in an image. It then applies the colors system-wide and
on-the-fly in all of
your favourite programs.")
(license license:expat)))
+(define-public python-click-didyoumean
+ (package
+ (name "python-click-didyoumean")
+ (version "0.0.3")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/click-contrib/click-didyoumean")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qb3csx27vby8w5534l4la08sq2nv7wb2fzghv1glrxnxk1a73vg"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; FIXME: tests fail because of single/double quote mismatch
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-click" ,python-click)))
+ (home-page "https://github.com/timofurrer/click-didyoumean")
+ (synopsis "Git-like did-you-mean feature in Click")
+ (description
+ "This plugin enables git-like did-you-mean feature in Click.")
+ (license license:expat)))
+
(define-public python-pywinrm
(package
(name "python-pywinrm")
--
2.30.2
- [bug#50018] [PATCH 00/19] Update Celery to version 5., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 01/19] gnu: Add python-click-repl., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 02/19] gnu: Add python-click-didyoumean.,
Vinicius Monego <=
- [bug#50018] [PATCH 04/19] gnu: python-aws-sam-translator: Update to 1.38.0., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 03/19] gnu: Add python-pytest-subtests., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 05/19] gnu: python-aws-sam-translator: Change source for tests., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 07/19] gnu: python-cfn-lint: Respect #:tests?., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 06/19] gnu: python-cfn-lint: Update to 0.53.0., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 08/19] gnu: python-moto: Update to 2.2.2., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 13/19] gnu: python-kombu: Update to 5.1.0., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 16/19] gnu: python-celery: Enable tests., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 15/19] gnu: python-celery: Update to 5.1.2., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 09/19] gnu: python-moto: Respect #:tests?., Vinicius Monego, 2021/08/11