[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
122/242: gnu: Add python-sphinx-theme-builder.
From: |
guix-commits |
Subject: |
122/242: gnu: Add python-sphinx-theme-builder. |
Date: |
Wed, 11 May 2022 18:03:09 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 8f31d3aaec8bb602fbbc73d6395e29b5608c0501
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")
- 106/242: gnu: Add python-pytest-tornado., (continued)
- 106/242: gnu: Add python-pytest-tornado., guix-commits, 2022/05/11
- 109/242: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/05/11
- 110/242: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/05/11
- 111/242: gnu: Add texlive-unicode-math., guix-commits, 2022/05/11
- 113/242: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/05/11
- 116/242: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/05/11
- 117/242: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/05/11
- 118/242: gnu: Add python-nbdime., guix-commits, 2022/05/11
- 119/242: gnu: Add python-docrepr., guix-commits, 2022/05/11
- 121/242: gnu: Add python-pep621., guix-commits, 2022/05/11
- 122/242: gnu: Add python-sphinx-theme-builder.,
guix-commits <=
- 123/242: gnu: Add python-sphinx-sitemap., guix-commits, 2022/05/11
- 124/242: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/05/11
- 130/242: gnu: Add texlive-cm-lgc., guix-commits, 2022/05/11
- 131/242: gnu: Add texlive-xindy., guix-commits, 2022/05/11
- 135/242: gnu: Add python-rfc3339-validator., guix-commits, 2022/05/11
- 133/242: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/05/11
- 139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/05/11
- 153/242: gnu: Add python-jupyterlab-server., guix-commits, 2022/05/11
- 142/242: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/05/11
- 151/242: gnu: Add python-dictpath., guix-commits, 2022/05/11