Date: Sun, 23 Jan 2022 19:26:12 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bdf8e17ce77a - main - textproc/py-sphinx-book-theme: Add py-sphinx-book-theme 0.1.10 Message-ID: <202201231926.20NJQCJB012979@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=bdf8e17ce77a0b2755d08baa739c736f65d408b0 commit bdf8e17ce77a0b2755d08baa739c736f65d408b0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-01-23 18:05:36 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-01-23 18:05:36 +0000 textproc/py-sphinx-book-theme: Add py-sphinx-book-theme 0.1.10 sphinx-book-theme is an interactive book theme for Sphinx. This is a lightweight Sphinx theme designed to mimic the look-and-feel of an interactive book. It has the following primary features: - Bootstrap 4 for visual elements and functionality. - Flexible content layout that is inspired by beautiful online books, such as the Edward Tufte CSS guide - Visual classes designed for Jupyter Notebooks. Cell inputs, outputs, and interactive functionality are all supported. - Launch buttons for online interactivity. For pages that are built with computational material, connect your site to an online BinderHub for interactive content. WWW: https://github.com/executablebooks/sphinx-book-theme --- textproc/Makefile | 1 + textproc/py-sphinx-book-theme/Makefile | 26 ++++++++++++++++++++++ textproc/py-sphinx-book-theme/distinfo | 3 +++ textproc/py-sphinx-book-theme/files/patch-setup.py | 11 +++++++++ textproc/py-sphinx-book-theme/pkg-descr | 14 ++++++++++++ 5 files changed, 55 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 792ab3fa64d9..4e7b4c7d8198 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1470,6 +1470,7 @@ SUBDIR += py-sphinx-autoapi SUBDIR += py-sphinx-autobuild SUBDIR += py-sphinx-autodoc-typehints + SUBDIR += py-sphinx-book-theme SUBDIR += py-sphinx-copybutton SUBDIR += py-sphinx-inline-tabs SUBDIR += py-sphinx-intl diff --git a/textproc/py-sphinx-book-theme/Makefile b/textproc/py-sphinx-book-theme/Makefile new file mode 100644 index 000000000000..2edaa08ae14b --- /dev/null +++ b/textproc/py-sphinx-book-theme/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= sphinx-book-theme +PORTVERSION= 0.1.10 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Clean book theme for scientific explanations and documentation with Sphinx + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.6.1<5:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}docutils>=0.17.1:textproc/py-docutils@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydata-sphinx-theme>=0.7.2<0.8:textproc/py-pydata-sphinx-theme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=3,1<5,1:textproc/py-sphinx@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-sphinx-book-theme/distinfo b/textproc/py-sphinx-book-theme/distinfo new file mode 100644 index 000000000000..a6db847c8cb1 --- /dev/null +++ b/textproc/py-sphinx-book-theme/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642102117 +SHA256 (sphinx-book-theme-0.1.10.tar.gz) = c74d7deb36e6fea4bcb3a979d162d9fd80e93b7ea4da78ebf8286da4b898582a +SIZE (sphinx-book-theme-0.1.10.tar.gz) = 63301 diff --git a/textproc/py-sphinx-book-theme/files/patch-setup.py b/textproc/py-sphinx-book-theme/files/patch-setup.py new file mode 100644 index 000000000000..9ec12675262c --- /dev/null +++ b/textproc/py-sphinx-book-theme/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-01-10 10:21:14 UTC ++++ setup.py +@@ -29,7 +29,7 @@ setup( + packages=find_packages(), + install_requires=[ + "beautifulsoup4>=4.6.1,<5", +- "docutils>=0.15,<0.17", ++ "docutils>=0.17.1", + 'importlib-resources>=3.0,<3.5; python_version < "3.7"', + "pydata-sphinx-theme~=0.7.2", + "pyyaml", diff --git a/textproc/py-sphinx-book-theme/pkg-descr b/textproc/py-sphinx-book-theme/pkg-descr new file mode 100644 index 000000000000..fbf042ff6f67 --- /dev/null +++ b/textproc/py-sphinx-book-theme/pkg-descr @@ -0,0 +1,14 @@ +sphinx-book-theme is an interactive book theme for Sphinx. + +This is a lightweight Sphinx theme designed to mimic the look-and-feel of an +interactive book. It has the following primary features: +- Bootstrap 4 for visual elements and functionality. +- Flexible content layout that is inspired by beautiful online books, such as + the Edward Tufte CSS guide +- Visual classes designed for Jupyter Notebooks. Cell inputs, outputs, and + interactive functionality are all supported. +- Launch buttons for online interactivity. For pages that are built with + computational material, connect your site to an online BinderHub for + interactive content. + +WWW: https://github.com/executablebooks/sphinx-book-theme
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201231926.20NJQCJB012979>