From e23ab97a54675adff247e81369097ce0b409cc35 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 11 Sep 2022 16:23:10 +0200 Subject: gnu: Add python-sphinx-tabs. * gnu/packages/sphinx.scm (python-sphinx-tabs): New variable. --- gnu/packages/sphinx.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'gnu/packages/sphinx.scm') diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index bbb070ddf6..7c60ac8c9e 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015, 2017, 2019, 2020, 2021 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017 Leo Famulari ;;; Copyright © 2016 Hartmut Goebel -;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke +;;; Copyright © 2016-2019, 2022 Marius Bakke ;;; Copyright © 2017 Danny Milosavljevic ;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Frederick M. Muriithi @@ -375,6 +375,33 @@ Blog, News or Announcements section to a Sphinx website.") "This package provides a sphinx extension for creating panels in a grid layout.") (license license:expat))) +(define-public python-sphinx-tabs + (package + (name "python-sphinx-tabs") + (version "3.4.1") + (home-page "https://github.com/executablebooks/sphinx-tabs") + (source (origin + (method url-fetch) + (uri (pypi-uri "sphinx-tabs" version)) + (sha256 + (base32 + "0cmqw5ck2jcxqyf5ibz543idspq0g0fdzxh3fpah1r0nhfg9z86j")))) + (build-system python-build-system) + (arguments + '(#:tests? #f ;TODO: requires sphinx-testing and rinohtype + #:phases (modify-phases %standard-phases + (add-after 'unpack 'loosen-docutils-requirement + (lambda _ + (substitute* "setup.py" + (("docutils~=0\\.18\\.0") + "docutils>=0.17.0"))))))) + (propagated-inputs + (list python-docutils python-pygments python-sphinx)) + (synopsis "Tabbed views for Sphinx") + (description + "Create tabbed content in Sphinx documentation when building HTML.") + (license license:expat))) + (define-public python-sphinxcontrib-programoutput (package (name "python-sphinxcontrib-programoutput") -- cgit 1.4.1 From 2c9424c4aab32d1bc26a7f93f5384ed767583878 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 11 Sep 2022 18:01:35 +0200 Subject: gnu: python-sphinx-theme-builder: Update to 0.2.0b1. * gnu/packages/sphinx.scm (python-sphinx-theme-builder): Update to 0.2.0b1. [propagated-inputs]: Change from PYTHON-PEP621 to PYTHON-PYPROJECT-METADATA. --- gnu/packages/sphinx.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/sphinx.scm') diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 7c60ac8c9e..2d53b7f3ac 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -1003,7 +1003,7 @@ automated way to document command-line programs. It scans (define-public python-sphinx-theme-builder (package (name "python-sphinx-theme-builder") - (version "0.2.0a14") + (version "0.2.0b1") (source (origin (method git-fetch) ;no tests in pypi archive @@ -1013,7 +1013,7 @@ automated way to document command-line programs. It scans (file-name (git-file-name name version)) (sha256 (base32 - "1brqp34q716gglliallbgq4m63hl3nk8j6w8wcl8f2vvnkch6v98")))) + "15gvwzd4l3wcmd6fns8xvv44yzxmamr1nfn28mp12sdw2y10v2ba")))) (build-system python-build-system) (arguments (list @@ -1040,7 +1040,7 @@ automated way to document command-line programs. It scans python-click python-nodeenv python-packaging - python-pep621 + python-pyproject-metadata python-rich python-sphinx-autobuild python-tomli)) -- cgit 1.4.1