[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69924] [PATCH 44/49] gnu: Add python-nose-exclude.
From: |
Sharlatan Hellseher |
Subject: |
[bug#69924] [PATCH 44/49] gnu: Add python-nose-exclude. |
Date: |
Wed, 20 Mar 2024 22:28:14 +0000 |
* gnu/packages/check.scm (python-nose-exclude): New variable.
Change-Id: I5c91b682163890c822f7d4a548e92fdd287d78a2
---
gnu/packages/check.scm | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index bd1f2d1b65..9ce21b05ba 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -39,7 +39,7 @@
;;; Copyright ?? 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright ?? 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright ?? 2022, 2023 David Elsing <david.elsing@posteo.net>
-;;; Copyright ?? 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright ?? 2022-2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright ?? 2022 jgart <jgart@dismail.de>
;;; Copyright ?? 2023 Luis Felipe L??pez Acevedo
<luis.felipe.la@protonmail.com>
;;; Copyright ?? 2023 Timo Wilken <guix@twilken.net>
@@ -2941,6 +2941,37 @@ (define-public python-rednose
@command{nosetests} command of the Python Nose unit test framework.")
(license license:bsd-3)))
+(define-public python-nose-exclude
+ (package
+ (name "python-nose-exclude")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nose-exclude" version))
+ (sha256
+ (base32 "0123x1lyv5b2p9civcfg8vilj2ga3q7p2ks1hq25z0gb3ssai3zp"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'disable-test
+ (lambda _
+ ;; Disable failing test: AssertionError.
+ (substitute* '("test_dirs/build/test.py"
+ "test_dirs/test_not_me/test.py")
+ (("def test_i_should_never_run")
+ "def off_i_should_never_run")))))))
+ (propagated-inputs
+ (list python-nose))
+ (home-page "https://github.com/kgrandis/nose-exclude")
+ (synopsis "Exclude specific directories from nosetests runs")
+ (description
+ "@code{nose-exclude} is a Nose plugin that allows you to easily specify
+directories to be excluded from testing.")
+ (license license:lgpl2.1+)))
+
(define-public python-nose-random
(package
(name "python-nose-random")
--
2.41.0
- [bug#69924] [PATCH 31/49] gnu: python-suntime: Update to 1.3.2., (continued)
- [bug#69924] [PATCH 31/49] gnu: python-suntime: Update to 1.3.2., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 41/49] gnu: Add python-asdf-zarr., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 48/49] gnu: Add python-pydantic-settings., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 38/49] gnu: python-stdatamodels: Update to 1.10.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 32/49] gnu: python-suntime: Refresh package style., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 47/49] gnu: Add python-pytest-examples., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 42/49] gnu: Add python-asdf-compression., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 39/49] gnu: python-crds: Update to 11.17.19., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 43/49] gnu: Add python-astroplan., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 49/49] gnu: python-hvpy: Update to 1.1.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 44/49] gnu: Add python-nose-exclude.,
Sharlatan Hellseher <=
- bug#69924: [PATCH 00/49] gnu: Astronomy 2024/02 updates., Sharlatan Hellseher, 2024/03/29