summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-06 16:02:23 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-06 18:14:26 +0100
commit1d7a7decc7e7a1bb44b4d2cc42793fdfbd8fe24e (patch)
tree4952d0ff5104c0f6b6f573103fdfdd8d56fb73ab /gnu/packages/python-web.scm
parentae3fbf21caacc16c97151c583dee94b4c4b75bff (diff)
gnu: python-mwparserfromhell: Switch to pyproject.
* gnu/packages/python-web.scm (python-mwparserfromhell): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools-next. Remove python-pytest-runner. Change-Id: I9bab5b8ef4875d69521d22c07131053ea72b69e4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 206a1af9a08..9ec02397346 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10549,13 +10549,15 @@ real-life projects with legacy data and diverse storage providers.")
(version "0.6.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "mwparserfromhell" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/earwig/mwparserfromhell")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0zh9zaqbac18s7mivqk8am9xw97lfkgcj9hhxj0d4208pkqpkmqs"))))
- (build-system python-build-system)
- (native-inputs
- (list python-pytest python-pytest-runner))
+ (base32 "1h8xih37mw7lkxsdrkgp9lwl25zr3ldsx5hh0rd5g2sgfrf3yyyg"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools-next))
(home-page "https://github.com/earwig/mwparserfromhell")
(synopsis "Python parser for MediaWiki wikicode")
(description