[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/49: gnu: Add python-nose-exclude.
From: |
guix-commits |
Subject: |
44/49: gnu: Add python-nose-exclude. |
Date: |
Fri, 29 Mar 2024 11:15:28 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 36ce356616708084e2ad58cd328f5f6542e4a412
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Mar 12 22:13:40 2024 +0000
gnu: Add python-nose-exclude.
* 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 7fd28c3ac7..d0fd975487 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>
@@ -2963,6 +2963,37 @@ JSON APIs with Behave.")
@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")
- 49/49: gnu: python-hvpy: Update to 1.1.0., (continued)
- 49/49: gnu: python-hvpy: Update to 1.1.0., guix-commits, 2024/03/29
- 03/49: gnu: python-blosc: Move to python-compression., guix-commits, 2024/03/29
- 28/49: gnu: python-astroquery: Update to 0.4.7., guix-commits, 2024/03/29
- 38/49: gnu: python-stdatamodels: Update to 1.10.0., guix-commits, 2024/03/29
- 41/49: gnu: Add python-asdf-zarr., guix-commits, 2024/03/29
- 46/49: gnu: Add python-cmyt., guix-commits, 2024/03/29
- 20/49: gnu: python-asdf-unit-schemas: Update to 0.2.0., guix-commits, 2024/03/29
- 19/49: gnu: python-cdflib: Enable all tests., guix-commits, 2024/03/29
- 23/49: gnu: python-asdf: Update to 3.1.0., guix-commits, 2024/03/29
- 36/49: gnu: python-stcal: Update to 1.6.1., guix-commits, 2024/03/29
- 44/49: gnu: Add python-nose-exclude.,
guix-commits <=
- 04/49: gnu: python-blosc: Simplify package., guix-commits, 2024/03/29
- 09/49: gnu: python-zarr: Update to 2.17.1., guix-commits, 2024/03/29
- 14/49: gnu: python-stdatamodels: Speed up tests., guix-commits, 2024/03/29
- 26/49: gnu: python-asdf-astropy: Update to 0.6.0, guix-commits, 2024/03/29
- 30/49: gnu: python-drizzle: Update to 1.15.1., guix-commits, 2024/03/29
- 39/49: gnu: python-crds: Update to 11.17.19., guix-commits, 2024/03/29
- 40/49: gnu: python-pynbody: Update to 1.6.0., guix-commits, 2024/03/29
- 43/49: gnu: Add python-astroplan., guix-commits, 2024/03/29
- 45/49: gnu: Add python-ewah-bool-utils., guix-commits, 2024/03/29
- 48/49: gnu: Add python-pydantic-settings., guix-commits, 2024/03/29