From cb9ad703351cd7eea4ac304d80f289de607cfcef Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 3 Oct 2025 15:33:47 +0200 Subject: gnu: python-mkdocs-markdownextradata-plugin: Switch to pyproject. * gnu/packages/python-xyz.scm (python-mkdocs-markdownextradata-plugin): [source, synopsis, description]: Improve style. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: Ie433b5ce72311464fb9f79649ed879328bb8b1bd Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 55a0c68dd47..7a22d0b02e4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3019,26 +3019,23 @@ configured with a single YAML configuration file.") (package (name "python-mkdocs-markdownextradata-plugin") (version "0.2.5") - (source (origin - ;; Use git, as there are some test files missing from the PyPI release, - ;; see https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/41. - (method git-fetch) - (uri (git-reference - (url "https://github.com/rosscdh/mkdocs-markdownextradata-plugin") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1a3868s9m7pzyfncpjbjsa9vw5nihssl2v47pxj7h6qa67kvlk3g")))) - (build-system python-build-system) - (native-inputs (list python-pytest)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rosscdh/mkdocs-markdownextradata-plugin") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a3868s9m7pzyfncpjbjsa9vw5nihssl2v47pxj7h6qa67kvlk3g")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (propagated-inputs (list python-mkdocs python-pyyaml)) (home-page "https://github.com/rosscdh/mkdocs-markdownextradata-plugin/") - (synopsis "Inject mkdocs.yml extra variables into the MkDocs markdown -template") + (synopsis "Inject extra variables into the MkDocs markdown template") (description "This package provides a MkDocs plugin that injects the mkdocs.yml extra -variables into the markdown template") +variables into the markdown template.") (license license:expat))) (define-public python-docstring-to-markdown -- cgit v1.3