git: 5beed7ec054b - main - textproc/py-sphinx-material: adding a Material Design theme for Sphinx documentation

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 08 Oct 2023 17:06:45 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5beed7ec054bf89db9a708301567ce905e7f78b7

commit 5beed7ec054bf89db9a708301567ce905e7f78b7
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-10-08 13:09:47 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-10-08 17:06:39 +0000

    textproc/py-sphinx-material: adding a Material Design theme for Sphinx documentation
---
 textproc/Makefile                     |  1 +
 textproc/py-sphinx-material/Makefile  | 27 ++++++++++++++
 textproc/py-sphinx-material/distinfo  |  3 ++
 textproc/py-sphinx-material/pkg-descr |  5 +++
 textproc/py-sphinx-material/pkg-plist | 69 +++++++++++++++++++++++++++++++++++
 5 files changed, 105 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 96b51a69cffc..6e30c3a27da8 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1563,6 +1563,7 @@
     SUBDIR += py-sphinx-intl
     SUBDIR += py-sphinx-issues
     SUBDIR += py-sphinx-markdown-tables
+    SUBDIR += py-sphinx-material
     SUBDIR += py-sphinx-me
     SUBDIR += py-sphinx-sitemap
     SUBDIR += py-sphinx-tabs
diff --git a/textproc/py-sphinx-material/Makefile b/textproc/py-sphinx-material/Makefile
new file mode 100644
index 000000000000..75ed049452ae
--- /dev/null
+++ b/textproc/py-sphinx-material/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	sphinx_material
+DISTVERSION=	0.0.36
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Responsive Material Design theme for Sphinx documentation
+WWW=		https://bashtage.github.io/sphinx-material/
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+PY_DEPENDS=	sphinx-build:textproc/py-sphinx@${PY_FLAVOR}	\
+		slugify:textproc/py-python-slugify@${PY_FLAVOR}	\
+		css-html-js-minify:www/py-css-html-js-minify@${PY_FLAVOR}	\
+		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}	\
+		${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR}
+
+#USE_GITHUB=	yes
+#GH_ACCOUNT=	bashtage
+
+USES=		python
+USE_PYTHON=	distutils
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinx-material/distinfo b/textproc/py-sphinx-material/distinfo
new file mode 100644
index 000000000000..3d8adfa3c0ca
--- /dev/null
+++ b/textproc/py-sphinx-material/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696770028
+SHA256 (sphinx_material-0.0.36.tar.gz) = eeff5f7d3dc016af32bafdf70c66e671d15c8754dbe0613dfbd629fbed912869
+SIZE (sphinx_material-0.0.36.tar.gz) = 783660
diff --git a/textproc/py-sphinx-material/pkg-descr b/textproc/py-sphinx-material/pkg-descr
new file mode 100644
index 000000000000..34c3c18a8f19
--- /dev/null
+++ b/textproc/py-sphinx-material/pkg-descr
@@ -0,0 +1,5 @@
+A Material Design theme for Sphinx documentation.
+
+Based on Material for MkDocs, and Guzzle Sphinx Theme.
+
+See also: https://github.com/bashtage/sphinx-material/
diff --git a/textproc/py-sphinx-material/pkg-plist b/textproc/py-sphinx-material/pkg-plist
new file mode 100644
index 000000000000..4e91b9413cad
--- /dev/null
+++ b/textproc/py-sphinx-material/pkg-plist
@@ -0,0 +1,69 @@
+%%PYTHON_SITELIBDIR%%/sphinx_material/__init__.py
+%%PYTHON_SITELIBDIR%%/sphinx_material/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/sphinx_material/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/sphinx_material/__pycache__/_version%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/sphinx_material/__pycache__/_version%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/sphinx_material/_version.py
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/comments.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/globaltoc.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/google_analytics.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/header.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/hero.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/layout.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/localtoc.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/logo-text.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/page.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/relbar.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/repo.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/search.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/searchbox.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/sidebar.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/sourcelink.html
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/font-awesome.css
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/material-icons.css
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/specimen/FontAwesome.ttf
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/specimen/FontAwesome.woff
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/specimen/FontAwesome.woff2
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/specimen/MaterialIcons-Regular.ttf
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/specimen/MaterialIcons-Regular.woff
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/fonts/specimen/MaterialIcons-Regular.woff2
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/images/favicon.png
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/images/icons/bitbucket.1b09e088.svg
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/images/icons/bitbucket.svg
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/images/icons/github.f0b8504a.svg
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/images/icons/github.svg
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/images/icons/gitlab.6dd19c00.svg
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/images/icons/gitlab.svg
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/application.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.da.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.de.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.du.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.es.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.fi.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.fr.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.hu.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.it.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.ja.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.jp.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.multi.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.nl.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.no.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.pt.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.ro.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.ru.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.stemmer.support.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.sv.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.th.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/lunr.tr.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/tinyseg.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/lunr/wordcut.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/modernizr.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/javascripts/version_dropdown.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/jquery.js
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/jquery.min.map
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/material.css_t
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/stylesheets/application-fixes.css
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/stylesheets/application-palette.css
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/static/stylesheets/application.css
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/theme.conf
+%%PYTHON_SITELIBDIR%%/sphinx_material/sphinx_material/version_dropdown.html