From cb286869430051fea7aa9a8f67899147daf7296f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 21 Sep 2025 20:09:08 +0200 Subject: [PATCH] gnu: python-pypandoc: Fix tests. * gnu/packages/python-xyz.scm (python-pypandoc) [source]: Switch to git-fetch. [arguments]<#:test-backend>: Set it. [description]: Improve style. Change-Id: Idfbd8f57804b30e205fd0d53733cc27b39bab4de Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5dfbc869992..a5678e30da7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34321,13 +34321,17 @@ By default it uses the open Python vulnerability database Safety DB.") (version "1.15") (source (origin - (method url-fetch) - (uri (pypi-uri "pypandoc" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/JessicaTegner/pypandoc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "04yfja8p8flvpjakyw7n43jb1jm3863w043l7zb43bhjwzmvw9ga")))) + (base32 "0jqr380xpg1n93dagxv7zfakhdravw0nc81rc4pnmjzkj360l5nr")))) (build-system pyproject-build-system) (arguments (list + #:test-backend #~'unittest #:phases #~(modify-phases %standard-phases (add-before 'check 'disable-tests @@ -34356,8 +34360,8 @@ By default it uses the open Python vulnerability database Safety DB.") (propagated-inputs (list python-wheel)) (home-page "https://github.com/JessicaTegner/pypandoc") (synopsis "Python wrapper for pandoc") - (description "pypandoc is a thin Python wrapper around pandoc -and pandoc-citeproc.") + (description + "pypandoc is a thin Python wrapper around pandoc and pandoc-citeproc.") (license license:expat))) (define-public python-rnc2rng