[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50018] [PATCH v3 01/21] gnu: Add python-click-repl.
From: |
Vinicius Monego |
Subject: |
[bug#50018] [PATCH v3 01/21] gnu: Add python-click-repl. |
Date: |
Thu, 16 Sep 2021 16:20:52 +0000 |
* gnu/packages/python-xyz.scm (python-click-repl): 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 c7045a604e..675437b726 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4104,6 +4104,40 @@ via commands such as @command{rst2man}, as well as
supporting Python code.")
format.")
(license license:unlicense)))
+(define-public python-click-repl
+ (package
+ (name "python-click-repl")
+ (version "0.2.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/click-contrib/click-repl")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16ybsnwlj2jlqcfxflky8jz7i3nhrd3f6mvkpgs95618l8lx994i"))))
+ (build-system python-build-system)
+ (arguments
+ `(#: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)
+ ("python-prompt-toolkit" ,python-prompt-toolkit)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/untitaker/click-repl")
+ (synopsis "REPL plugin for Click")
+ (description "This package provides a REPL plugin for Click.")
+ (license license:expat)))
+
(define-public python-doc8
(package
(name "python-doc8")
--
2.30.2
- [bug#50018] [PATCH v3 00/21] Update Celery to version 5., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 03/21] gnu: Add python-pytest-subtests., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 05/21] gnu: python-botocore: Update to 1.21.42., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 01/21] gnu: Add python-click-repl.,
Vinicius Monego <=
- [bug#50018] [PATCH v3 02/21] gnu: Add python-click-didyoumean., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 04/21] gnu: python-cfn-lint: Respect #:tests?., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 10/21] gnu: python-moto: Update to 2.2.7., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 09/21] gnu: python-aws-sam-translator: Change source for tests., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 16/21] gnu: Add python-pytest-celery., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 14/21] gnu: python-amqp: Update to 5.0.6., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 19/21] gnu: Remove python2-celery., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 08/21] gnu: awscli: Update to 1.20.42., Vinicius Monego, 2021/09/16
- [bug#50018] [PATCH v3 06/21] gnu: python-s3transfer: Update to 0.5.0., Vinicius Monego, 2021/09/16