From f00571cfbbc2dfd0b9f54b94d1f8fe7e2ff83480 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 9 May 2025 16:40:33 +0100 Subject: gnu: python-sure: Move to python-check. * gnu/packages/python-xyz.scm (python-sure): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: Idb2379d5c4f0964fb28bf38097c963206bbfecfa --- gnu/packages/python-check.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b4de2c3b509..98a6b3f9715 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2022 Felix Gruber ;;; Copyright © 2022 Tomasz Jeneralczyk ;;; Copyright © 2022 jgart +;;; Copyright © 2023 John Kehayias ;;; Copyright © 2024-2025 Troy Figiel ;;; Copyright © 2024 Navid Afkhami ;;; Copyright © 2024, 2025 David Elsing @@ -3588,6 +3589,41 @@ a test suite. It will also store a history of all test runs to help in debugging failures and optimizing the scheduler to improve speed.") (license license:asl2.0))) +(define-public python-sure + ;; No release for 2y but the master branch has fresh changes, use the latest + ;; commit for now, see , + ;; . + (let ((commit "acf823a2e240a2efe93360316d3816e90366439a") + (revision "0")) + (package + (name "python-sure") + (version (git-version "2.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gabrielfalcao/sure") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12qd3as4ixhwvf8ppx1dwhghda2kcb85ygd4x3ci9mbvkh25fs01")))) + (build-system pyproject-build-system) + (native-inputs + (list python-mock + python-pytest + python-pytest-cov + python-setuptools + python-wheel)) + (propagated-inputs + (list python-couleur)) + (home-page "https://github.com/gabrielfalcao/sure") + (synopsis "Automated testing library in python for python") + (description + "Sure is a python library that leverages a DSL for writing +assertions. Sure is heavily inspired by @code{RSpec Expectations} and +@code{should.js}.") + (license license:gpl3+)))) + (define-public python-sybil (package (name "python-sybil") -- cgit v1.3