[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
122/233: gnu: Add python-sphinx-theme-builder.
From: |
guix-commits |
Subject: |
122/233: gnu: Add python-sphinx-theme-builder. |
Date: |
Sun, 24 Apr 2022 23:39:52 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 1d11c395216da41cada860f0bca641ecbcb88d21
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Apr 14 23:35:28 2022 -0400
gnu: Add python-sphinx-theme-builder.
* gnu/packages/sphinx.scm (python-sphinx-theme-builder): New variable.
---
gnu/packages/sphinx.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a377729397..406fc8536b 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1002,6 +1002,56 @@ automated way to document command-line programs. It
scans
@code{.. program::} and @code{.. option::} directives.")
(license license:bsd-2)))
+(define-public python-sphinx-theme-builder
+ (package
+ (name "python-sphinx-theme-builder")
+ (version "0.2.0a14")
+ (source
+ (origin
+ (method git-fetch) ;no tests in pypi archive
+ (uri (git-reference
+ (url "https://github.com/pradyunsg/sphinx-theme-builder")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1brqp34q716gglliallbgq4m63hl3nk8j6w8wcl8f2vvnkch6v98"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: PEP 517 manual build copied from python-isort.
+ (replace 'build
+ (lambda _
+ ;; ZIP does not support timestamps before 1980.
+ (setenv "SOURCE_DATE_EPOCH" "315532800")
+ (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv"))))
+ (replace 'install
+ (lambda _
+ (let ((whl (car (find-files "dist" "\\.whl$"))))
+ (invoke "pip" "--no-cache-dir" "--no-input"
+ "install" "--no-deps" "--prefix" #$output whl)))))))
+ (native-inputs (list python-flit-core python-pytest))
+ (propagated-inputs
+ (list python-pypa-build
+ python-click
+ python-nodeenv
+ python-packaging
+ python-pep621
+ python-rich
+ python-sphinx-autobuild
+ python-tomli))
+ (home-page "https://github.com/pradyunsg/sphinx-theme-builder")
+ (synopsis "Tool for authoring Sphinx themes")
+ (description "This package provides a tool for authoring Sphinx themes
+with a simple (opinionated) workflow.")
+ (license license:expat)))
+
(define-public python-pydata-sphinx-theme
(package
(name "python-pydata-sphinx-theme")
- 105/233: gnu: python-ipykernel: Update to 6.13.0., (continued)
- 105/233: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/24
- 106/233: gnu: Add python-pytest-tornado., guix-commits, 2022/04/24
- 107/233: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/24
- 108/233: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/24
- 110/233: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/24
- 112/233: gnu: Add texlive-lm-math., guix-commits, 2022/04/24
- 113/233: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/24
- 114/233: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/24
- 115/233: gnu: python-nbval: Fix build., guix-commits, 2022/04/24
- 119/233: gnu: Add python-docrepr., guix-commits, 2022/04/24
- 122/233: gnu: Add python-sphinx-theme-builder.,
guix-commits <=
- 126/233: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/04/24
- 127/233: gnu: Add texlive-cbfonts., guix-commits, 2022/04/24
- 129/233: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/04/24
- 132/233: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/04/24
- 137/233: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/24
- 140/233: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/24
- 143/233: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/24
- 150/233: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/24
- 156/233: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/04/24
- 26/233: gnu: Add python-mutatormath., guix-commits, 2022/04/24