[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
116/222: gnu: Add python-sphinxext-rediraffe.
From: |
guix-commits |
Subject: |
116/222: gnu: Add python-sphinxext-rediraffe. |
Date: |
Fri, 1 Nov 2024 10:56:35 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 8b033652aa5913446a0b546ae6428e261c1e3c06
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 10:31:21 2024 +0200
gnu: Add python-sphinxext-rediraffe.
* gnu/packages/sphinx.scm (python-sphinxext-rediraffe): New variable.
Change-Id: I772993b7bc3a43befc459cc6a9c6d1c90932d341
---
gnu/packages/sphinx.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 3601ac7a38..69f3d4dff9 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1071,6 +1071,37 @@ translate and to apply translation to Sphinx generated
document.")
"This package provides a Sphinx Extension to generate OG metadata.")
(license license:bsd-3)))
+(define-public python-sphinxext-rediraffe
+ (package
+ (name "python-sphinxext-rediraffe")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sphinxext-rediraffe" version))
+ (sha256
+ (base32 "0pbjkwmqc8q08bsk66panvpya831ycjq1ysdagyrznpzwpxcn7b5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-version
+ (lambda _
+ (substitute* "setup.py"
+ (("version = \"main\"")
+ (string-append "version = \"" #$version "\""))))))))
+ (propagated-inputs (list python-sphinx))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/wpilibsuite/sphinxext-rediraffe";)
+ (synopsis
+ "Sphinx Extension that redirects non-existent pages to working pages")
+ (description
+ "This sphinx extension redirects non-existent pages to working
+pages. Rediraffe can also check that deleted/renamed files in your git repo
+are redirected.")
+ (license license:expat)))
+
(define-public python-sphinx-autobuild
(package
(name "python-sphinx-autobuild")
- 172/222: gnu: python-flask-login: Move to pyproject-build-system., (continued)
- 172/222: gnu: python-flask-login: Move to pyproject-build-system., guix-commits, 2024/11/01
- 49/222: gnu: python-box: Add missing input., guix-commits, 2024/11/01
- 64/222: gnu: Add python-pep440., guix-commits, 2024/11/01
- 65/222: gnu: Add python-referencing., guix-commits, 2024/11/01
- 70/222: gnu: Add python-fqdn., guix-commits, 2024/11/01
- 74/222: gnu: Add python-notebook-shim., guix-commits, 2024/11/01
- 104/222: gnu: python-requests: Update to 2.31.0., guix-commits, 2024/11/01
- 112/222: gnu: python-json5: Update to 0.9.25., guix-commits, 2024/11/01
- 115/222: gnu: python-myst-parser: Update to 3.0.1., guix-commits, 2024/11/01
- 107/222: gnu: Add python-jsonschema-path., guix-commits, 2024/11/01
- 116/222: gnu: Add python-sphinxext-rediraffe.,
guix-commits <=
- 118/222: gnu: Add python-pytoolconfig., guix-commits, 2024/11/01
- 124/222: gnu: python-nbclient: Update to 0.10.0., guix-commits, 2024/11/01
- 136/222: gnu: python-seaborn: Correct dependencies., guix-commits, 2024/11/01
- 140/222: gnu: python-codespell: Improve package style., guix-commits, 2024/11/01
- 148/222: gnu: Add xcffibgen., guix-commits, 2024/11/01
- 155/222: gnu: conda: Move to pyproject-build-system., guix-commits, 2024/11/01
- 156/222: gnu: conda: Reindent., guix-commits, 2024/11/01
- 157/222: gnu: python-conda-package-handling: Move to pyproject-build-system., guix-commits, 2024/11/01
- 159/222: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/11/01
- 169/222: gnu: python-tinycss: Move to pyproject-build-system., guix-commits, 2024/11/01