[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50018] [PATCH v4 01/12] gnu: Add python-click-repl.
From: |
Vinicius Monego |
Subject: |
[bug#50018] [PATCH v4 01/12] gnu: Add python-click-repl. |
Date: |
Sun, 19 Dec 2021 00:29:06 +0000 |
* gnu/packages/python-xyz.scm (python-click-repl): New variable.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5e26fe724f..dccf102c34 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4211,6 +4211,37 @@ 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
+ (method git-fetch) ; no tests in PyPI release
+ (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
+ (list python-pytest))
+ (propagated-inputs
+ (list python-click python-prompt-toolkit 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")
base-commit: 86d6c6053c7d1c7a82c83f0daf0f5e09b1ecfb63
--
2.30.2
- [bug#50018] [PATCH v4 01/12] gnu: Add python-click-repl.,
Vinicius Monego <=
- [bug#50018] [PATCH v4 04/12] gnu: Add python-pytest-rerunfailures., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 02/12] gnu: Add python-click-didyoumean., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 03/12] gnu: Add python-pytest-subtests., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 06/12] gnu: python-billiard: Update to 3.6.4.0., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 08/12] gnu: python-celery: Enable tests., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 07/12] gnu: python-celery: Update to 5., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 05/12] gnu: Add python-pytest-celery., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 11/12] gnu: Remove python2-amqp., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 09/12] gnu: Remove python2-celery., Vinicius Monego, 2021/12/18
- [bug#50018] [PATCH v4 10/12] gnu: Remove python2-kombu., Vinicius Monego, 2021/12/18