[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73399] [PATCH v2 24/25] gnu: Add python-pytest-cython.
From: |
Sharlatan Hellseher |
Subject: |
[bug#73399] [PATCH v2 24/25] gnu: Add python-pytest-cython. |
Date: |
Sat, 21 Sep 2024 14:55:56 +0100 |
* gnu/packages/python-check.scm (python-pytest-cython): New variable.
Change-Id: I4f223bb0a88db3fd91bb312dfe4558a075ff8bb2
---
gnu/packages/python-check.scm | 38 +++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 4888b42bc1..382a5453bb 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1784,6 +1784,44 @@ (define-public python-pytest-celery
"This package provides a shim Pytest plugin to enable a Celery marker.")
(license license:bsd-3)))
+(define-public python-pytest-cython
+ (package
+ (name "python-pytest-cython")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-cython" version))
+ (sha256
+ (base32 "0ma496dgmmrpgqd3zk6vin29dgajcplh63yqd8jh2a3ai954fr22"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "tests"
+ ;; FIXME: Failed: nomatch: '*sqr*PASSED*
+ "-k" (string-append
+ "not test_wrap_cpp_ext_module[importlib]"
+ " and not test_wrap_c_ext_module[importlib]"
+ " and not test_cython_ext_module[importlib]"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'build-extensions
+ (lambda _
+ (with-directory-excursion "tests/example-project"
+ (invoke "python" "setup.py" "build_ext" "--inplace")))))))
+ (native-inputs
+ (list python-nox
+ python-cython-3
+ python-setuptools))
+ (propagated-inputs
+ (list python-pytest-8))
+ (home-page "https://github.com/lgpage/pytest-cython")
+ (synopsis "Cython extension modules testing plugin")
+ (description
+ "This package provides a plugin for testing Cython extension modules.")
+ (license license:expat)))
+
(define-public python-pytest-env
(package
(name "python-pytest-env")
--
2.46.0
- [bug#73399] [PATCH v2 16/25] gnu: python-stdatamodels: Update to 2.1.0., (continued)
- [bug#73399] [PATCH v2 16/25] gnu: python-stdatamodels: Update to 2.1.0., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 14/25] gnu: python-sbpy: Update to 0.5.0., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 17/25] gnu: python-sunpy: Update to 6.0.2., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 23/25] gnu: Add python-ci-watson., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 19/25] gnu: Add libsharp., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 21/25] gnu: Add webbpsf-data., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 18/25] gnu: Add healpix., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 22/25] gnu: Add python-webbpsf., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 20/25] gnu: Add healpix-cxx., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 25/25] gnu: Add python-healpy., Sharlatan Hellseher, 2024/09/21
- [bug#73399] [PATCH v2 24/25] gnu: Add python-pytest-cython.,
Sharlatan Hellseher <=
- [bug#73399] [PATCH 00/26] Astronomy update 2024/09, Sharlatan Hellseher, 2024/09/30