Date: Tue, 21 Jun 2022 16:37:35 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: 7ec27a48f739 - main - textproc/py-pydata-sphinx-theme: Update to 0.8.1 Message-ID: <202206211637.25LGbZtA059631@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=7ec27a48f739fcedee47e38abb03d6e3b5bf4aeb commit 7ec27a48f739fcedee47e38abb03d6e3b5bf4aeb Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-21 16:33:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-21 16:36:23 +0000 textproc/py-pydata-sphinx-theme: Update to 0.8.1 Changes: https://github.com/pydata/pydata-sphinx-theme/releases --- textproc/py-pydata-sphinx-theme/Makefile | 17 +++++-- textproc/py-pydata-sphinx-theme/distinfo | 8 ++-- textproc/py-pydata-sphinx-theme/files/setup.py | 63 ++++++++++++++++++++++++++ textproc/py-pydata-sphinx-theme/pkg-plist | 21 +++++++++ 4 files changed, 103 insertions(+), 6 deletions(-) diff --git a/textproc/py-pydata-sphinx-theme/Makefile b/textproc/py-pydata-sphinx-theme/Makefile index c944711f84c7..b4c7acda4154 100644 --- a/textproc/py-pydata-sphinx-theme/Makefile +++ b/textproc/py-pydata-sphinx-theme/Makefile @@ -1,10 +1,13 @@ # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= pydata-sphinx-theme -PORTVERSION= 0.7.2 +PORTVERSION= 0.8.1 CATEGORIES= textproc python -MASTER_SITES= CHEESESHOP +MASTER_SITES= CHEESESHOP \ + LOCAL/sunpoet:static PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= pydata_sphinx_theme-${PORTVERSION}${EXTRACT_SUFX} \ + pydata_sphinx_theme-${PORTVERSION}-static${EXTRACT_SUFX}:static MAINTAINER= sunpoet@FreeBSD.org COMMENT= Bootstrap-based Sphinx theme from the PyData community @@ -14,11 +17,19 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.17.1:textproc/py-docutils@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=3.5.4,1<5,1:textproc/py-sphinx@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +WRKSRC= ${WRKDIR}/pydata_sphinx_theme-${PORTVERSION} + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + +post-install: + cd ${WRKDIR}/static/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/ .include <bsd.port.mk> diff --git a/textproc/py-pydata-sphinx-theme/distinfo b/textproc/py-pydata-sphinx-theme/distinfo index db5133151fea..78141bb34c26 100644 --- a/textproc/py-pydata-sphinx-theme/distinfo +++ b/textproc/py-pydata-sphinx-theme/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1642102113 -SHA256 (pydata-sphinx-theme-0.7.2.tar.gz) = 671df35fcdd290eafbd23d0595e6d359dbe90b2e64e6c3f4dc88276eed4a065e -SIZE (pydata-sphinx-theme-0.7.2.tar.gz) = 1425421 +TIMESTAMP = 1655561170 +SHA256 (pydata_sphinx_theme-0.8.1.tar.gz) = 96165702253917ece13dd895e23b96ee6dce422dcc144d560806067852fe1fed +SIZE (pydata_sphinx_theme-0.8.1.tar.gz) = 1126816 +SHA256 (pydata_sphinx_theme-0.8.1-static.tar.gz) = b16e3ffbc83bb89ba49ef88e8717f9fd267bb5113115869952514ea6169170e9 +SIZE (pydata_sphinx_theme-0.8.1-static.tar.gz) = 3214336 diff --git a/textproc/py-pydata-sphinx-theme/files/setup.py b/textproc/py-pydata-sphinx-theme/files/setup.py new file mode 100644 index 000000000000..9dbfc96da9b3 --- /dev/null +++ b/textproc/py-pydata-sphinx-theme/files/setup.py @@ -0,0 +1,63 @@ +from setuptools import setup + +setup( + name = 'pydata-sphinx-theme', + version = '%%PORTVERSION%%', + description = 'Bootstrap-based Sphinx theme from the PyData community', + maintainer = 'Joris Van den Bossche', + maintainer_email = 'jorisvandenbossche@gmail.com', + url = None, + packages = ['pydata_sphinx_theme'], + package_dir = {'': 'src'}, + package_data = {'': ['*']}, + install_requires = [ + 'sphinx>=3.5.4,<5', + 'beautifulsoup4', + 'docutils!=0.17.0', + 'packaging', + ], + extras_require = { + 'doc': [ + 'numpydoc', + 'myst-parser', + 'pandas', + 'pytest', + 'pytest-regressions', + 'sphinxext-rediraffe', + 'sphinx-sitemap', + # For demo examples + 'jupyter_sphinx', + 'plotly', + 'numpy', + 'xarray', + ], + 'test': [ + 'pytest', + 'pydata-sphinx-theme[doc]', + ], + 'coverage': [ + 'pytest-cov', + 'codecov', + 'pydata-sphinx-theme[test]', + ], + 'dev': [ + 'pyyaml', + 'pre-commit', + 'nox', + 'pydata-sphinx-theme[coverage]', + ], + }, + entry_points = { + 'sphinx.html_themes': ['pydata_sphinx_theme = pydata_sphinx_theme'], + }, + classifiers = [ + 'Development Status :: 4 - Beta', + 'Programming Language :: Python :: 3', + 'Framework :: Sphinx', + 'Framework :: Sphinx :: Theme', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + ], + license = 'BSD License', + python_requires = '>= 3.7', +) diff --git a/textproc/py-pydata-sphinx-theme/pkg-plist b/textproc/py-pydata-sphinx-theme/pkg-plist new file mode 100644 index 000000000000..7660cf8ef5cc --- /dev/null +++ b/textproc/py-pydata-sphinx-theme/pkg-plist @@ -0,0 +1,21 @@ +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/scripts/pydata-sphinx-theme.js +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/styles/pydata-sphinx-theme.css +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/styles/theme.css +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/LICENSE.txt +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/css/all.min.css +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.eot +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.svg +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.ttf +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2 +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.eot +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.svg +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.ttf +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff2 +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.eot +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.svg +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.ttf +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2 +%%PYTHON_SITELIBDIR%%/pydata_sphinx_theme/theme/pydata_sphinx_theme/static/webpack-macros.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206211637.25LGbZtA059631>