summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-21 20:09:08 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-21 19:27:36 +0100
commitcb286869430051fea7aa9a8f67899147daf7296f (patch)
tree55adb8b8991daec421d18c1bbdb1e41d644d14fe
parent9e4f6b9cdbd0e1b2c4b19d490ffb4c9f847e623c (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5dfbc86999..a5678e30da 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