From e1cc126ed7bbd5ca3739e94c28a39e36968e2bc0 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 22 Nov 2025 19:25:04 +0100 Subject: [PATCH] gnu: python-markdown-strings: Switch to pyproject. * gnu/packages/python-xyz.scm (python-markdown-strings): [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend, #:test-flags>: Set them. [native-inputs]: Add python-setuptools. Change-Id: Ic9d4ac2bee4fc192cb7f3cc2e316d9cfbc799d33 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9f2af415b22..9297aee97ef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35852,16 +35852,21 @@ functions (package (name "python-markdown-strings") (version "3.3.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/awesmubarak/markdown_strings.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0064ni7s3k8hqw61wi9m31icxp61f8adhija2qsp46hclcwx7vz2")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/awesmubarak/markdown_strings.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0064ni7s3k8hqw61wi9m31icxp61f8adhija2qsp46hclcwx7vz2")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-backend #~'custom + #:test-flags #~(list "test.py"))) + (native-inputs (list python-setuptools)) (propagated-inputs (list python-lxml python-six)) (home-page "https://github.com/awesmubarak/markdown_strings") (synopsis "Python library to create markdown-formatted text")