git: 20f74405374a - main - textproc/py-furo: Update to 2022.1.2
Date: Sun, 23 Jan 2022 19:28:46 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=20f74405374a858f6d901a7576c20a25a9b8200a commit 20f74405374a858f6d901a7576c20a25a9b8200a Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-01-23 18:20:55 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-01-23 18:52:12 +0000 textproc/py-furo: Update to 2022.1.2 Changes: https://github.com/pradyunsg/furo/blob/main/docs/changelog.md --- textproc/py-furo/Makefile | 8 ++++-- textproc/py-furo/distinfo | 6 ++--- textproc/py-furo/files/setup.py | 54 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 5 deletions(-) diff --git a/textproc/py-furo/Makefile b/textproc/py-furo/Makefile index 11459765faad..ad78af741d9f 100644 --- a/textproc/py-furo/Makefile +++ b/textproc/py-furo/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= furo -PORTVERSION= 2021.6.18b36 +PORTVERSION= 2022.1.2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,11 +13,15 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=3.0,1<5.0,1:textproc/py-sphinx@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pygments>=2.7<3:textproc/py-pygments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=4.0,1<5,1:textproc/py-sphinx@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/textproc/py-furo/distinfo b/textproc/py-furo/distinfo index ae2ffdd761ed..40489b8a13b1 100644 --- a/textproc/py-furo/distinfo +++ b/textproc/py-furo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1624189751 -SHA256 (furo-2021.6.18b36.tar.gz) = 46a30bc597a9067088d39d730e7d9bf6c1a1d71967e4af062f796769f66b3bdb -SIZE (furo-2021.6.18b36.tar.gz) = 60837 +TIMESTAMP = 1642102353 +SHA256 (furo-2022.1.2.tar.gz) = b217f218cbcd423ffbfe69baa79389d4ecebf2d86f0d593c44ef31da7b5aed30 +SIZE (furo-2022.1.2.tar.gz) = 1659274 diff --git a/textproc/py-furo/files/setup.py b/textproc/py-furo/files/setup.py new file mode 100644 index 000000000000..def8898448c6 --- /dev/null +++ b/textproc/py-furo/files/setup.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['furo'] + +package_data = \ +{'': ['*'], + 'furo': ['assets/*', + 'assets/scripts/*', + 'assets/styles/*', + 'assets/styles/base/*', + 'assets/styles/components/*', + 'assets/styles/content/*', + 'assets/styles/extensions/*', + 'assets/styles/variables/*', + 'theme/*', + 'theme/furo/*', + 'theme/furo/partials/*', + 'theme/furo/sidebar/*', + 'theme/furo/static/*']} + +package_dir = \ +{'': 'src'} + +install_requires = \ +['beautifulsoup4', 'sphinx ~= 4.0', 'pygments ~= 2.7'] + +extras_require = \ +{'doc': ['myst-parser', + 'sphinx-copybutton', + 'sphinx-design', + 'sphinx-inline-tabs'], + 'test': ['pytest', 'pytest-cov', 'pytest-xdist']} + +entry_points = \ +{'sphinx.html_themes': ['furo = furo']} + +setup(name='furo', + version='%%PORTVERSION%%', + description='A clean customisable Sphinx documentation theme.', + author=None, + author_email='Pradyun Gedam <mail@pradyunsg.me>', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + install_requires=install_requires, + extras_require=extras_require, + entry_points=entry_points, + python_requires='>=3.6', + )