[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: |
Thu, 12 May 2022 14:14:17 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 28b602d0f664e92b6edf1f36656242a747c67d58
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")
- 89/242: gnu: Add font-gfs-ambrosia., (continued)
- 89/242: gnu: Add font-gfs-ambrosia., guix-commits, 2022/05/12
- 93/242: gnu: python-black: Update to 22.3.0., guix-commits, 2022/05/12
- 90/242: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/05/12
- 78/242: gnu: Add python-afdko., guix-commits, 2022/05/12
- 101/242: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/05/12
- 83/242: gnu: Add python-compreffor., guix-commits, 2022/05/12
- 106/242: gnu: Add python-pytest-tornado., guix-commits, 2022/05/12
- 91/242: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/05/12
- 120/242: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/05/12
- 116/242: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/05/12
- 122/242: gnu: Add python-sphinx-theme-builder.,
guix-commits <=
- 126/242: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/05/12
- 135/242: gnu: Add python-rfc3339-validator., guix-commits, 2022/05/12
- 125/242: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/05/12
- 130/242: gnu: Add texlive-cm-lgc., guix-commits, 2022/05/12
- 137/242: gnu: Add python-openapi-spec-validator., guix-commits, 2022/05/12
- 139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/05/12
- 140/242: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/05/12
- 141/242: gnu: Add python-httpx-bootstrap., guix-commits, 2022/05/12
- 143/242: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/05/12
- 145/242: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/05/12