From c9e598ffe0998fa427131ca9ca468f77b7b57938 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Sun, 9 Nov 2025 14:58:24 -0500 Subject: [PATCH] gnu: Add python-pysol-cards. * gnu/packages/python-xyz.scm (python-pysol-cards): New variable. Change-Id: Ida854173a5b06f526e36c662482e917c7e752ef0 Signed-off-by: Liliana Marie Prikler --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 11d73b362496d3ce63766665a5b5b22970b55594..b69da274321a3fde98699a1a40b467b7ee23cb45 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21620,6 +21620,39 @@ into aligned columns.") objects, patterned after the Mocha library for Ruby.") (license license:bsd-3))) +(define-public python-pysol-cards + (package + (name "python-pysol-cards") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pysol_cards" version)) + (sha256 + (base32 "0jsd7mqp0ak8zidg540b9hjncgx8diy9lv85zj6mi88sm0nlk1d9")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key test-flags tests? #:allow-other-keys) + (when tests? + (apply invoke + "python" + "-m" + "unittest" + "discover" + "tests" + test-flags))))))) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://github.com/shlomif/pysol_cards") + (synopsis "Deal PySol FC Cards") + (description + "The pysol-cards python modules provide code to generate the initial deals of +some PySol games.") + (license license:expat))) + (define-public python-inflect (package (name "python-inflect")