[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/32: gnu: Add a test-less python-decopatch.
From: |
guix-commits |
Subject: |
09/32: gnu: Add a test-less python-decopatch. |
Date: |
Wed, 16 Feb 2022 11:39:33 -0500 (EST) |
nckx pushed a commit to branch wip-python-mne
in repository guix.
commit 4bcf5c589a23dbd51c7b27b9efedcd18da7047b7
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Jan 20 22:32:53 2022 +0100
gnu: Add a test-less python-decopatch.
* gnu/packages/python-xyz.scm (python-decopatch-minimal): 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 64617e6966..c57992cbbf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25546,6 +25546,36 @@ signature of your choice. It was largely inspired by
@samp{decorator} and
@samp{functools}, and created mainly to cover some of their limitations.")
(license license:bsd-3)))
+;; decopatch requires the next pytest modules if tests are enabled. The pytest
+;; modules require each other for tests.
+
+(define python-decopatch-minimal
+ (package
+ (name "python-decopatch-minimal")
+ (version "1.4.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "decopatch" version))
+ (sha256
+ (base32
+ "0i6i811s2j1z0cl6y177dwsbfxib8dvb5c2jpgklvc2xy4ahhsy6"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs (list python-makefun))
+ (native-inputs (list python-pytest python-pytest-runner
+ python-setuptools-scm))
+ (home-page "https://github.com/smarie/python-decopatch")
+ (synopsis "Python decorators made easy")
+ (description
+ "Because of a tiny oddity in the python language, writing decorators
+without help can be a pain because you have to handle the no-parenthesis usage
+@url{https://smarie.github.io/python-decopatch/motivation, explicitly}.
+@samp{decopatch} provides a simple way to solve this issue so that writing
+decorators is simple and straightforward.")
+ (license license:bsd-3)))
+
(define-public python-frozendict
(package
(name "python-frozendict")
- branch wip-python-mne created (now 904999e683), guix-commits, 2022/02/16
- 02/32: gnu: Add python-edflib., guix-commits, 2022/02/16
- 08/32: gnu: Add python-pytest-logging., guix-commits, 2022/02/16
- 09/32: gnu: Add a test-less python-decopatch.,
guix-commits <=
- 18/32: gnu: Add python-h5io., guix-commits, 2022/02/16
- 13/32: gnu: Add python-decopatch., guix-commits, 2022/02/16
- 07/32: gnu: Add python-makefun., guix-commits, 2022/02/16
- 14/32: gnu: Add python-pytest-cases., guix-commits, 2022/02/16
- 27/32: gnu: vtk: Also install a .egg-info., guix-commits, 2022/02/16
- 24/32: gnu: Add python-pyvips., guix-commits, 2022/02/16
- 21/32: gnu: Add python-dipy., guix-commits, 2022/02/16
- 20/32: gnu: Add python-picard., guix-commits, 2022/02/16
- 03/32: gnu: Add python-eeglabio., guix-commits, 2022/02/16
- 16/32: gnu: Add python-pytest-steps., guix-commits, 2022/02/16