diff --git a/textproc/py-sphinx-design/Makefile b/textproc/py-sphinx-design/Makefile index a8e86709d39b..97cacb5fc88c 100644 --- a/textproc/py-sphinx-design/Makefile +++ b/textproc/py-sphinx-design/Makefile @@ -1,23 +1,26 @@ # Created by: Po-Chuan Hsieh PORTNAME= sphinx-design -PORTVERSION= 0.0.13 +PORTVERSION= 0.2.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= sphinx_design-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Sphinx extension for designing beautiful, view size responsive web components LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=3,1<5,1:textproc/py-sphinx@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=4,1<6,1:textproc/py-sphinx@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include diff --git a/textproc/py-sphinx-design/distinfo b/textproc/py-sphinx-design/distinfo index 53b963856400..3f39cc3cf30d 100644 --- a/textproc/py-sphinx-design/distinfo +++ b/textproc/py-sphinx-design/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650228652 -SHA256 (sphinx_design-0.0.13.tar.gz) = c719d02bea29a31f143a294d632a5f435b9652ce1f80930e887bc066c3e94bef -SIZE (sphinx_design-0.0.13.tar.gz) = 88533 +TIMESTAMP = 1657292522 +SHA256 (sphinx_design-0.2.0.tar.gz) = b148a5258061a46ee826d57ea0729260f29b4e9131d2a681545e0d4f3c0f19ee +SIZE (sphinx_design-0.2.0.tar.gz) = 1899722 diff --git a/textproc/py-sphinx-design/files/setup.py b/textproc/py-sphinx-design/files/setup.py new file mode 100644 index 000000000000..baed625e996f --- /dev/null +++ b/textproc/py-sphinx-design/files/setup.py @@ -0,0 +1,38 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['sphinx_design', 'sphinx_design.compiled'] + +package_data = \ +{'': ['*']} + +install_requires = \ +['sphinx>=4,<6'] + +extras_require = \ +{'code_style': ['pre-commit~=2.12'], + 'rtd': ['myst-parser~=0.18.0'], + 'testing': ['myst-parser~=0.18.0', + 'pytest~=7.1', + 'pytest-cov', + 'pytest-regressions'], + 'theme_furo': ['furo>=2022.06.04,<2022.07'], + 'theme_pydata': ['pydata-sphinx-theme~=0.9.0'], + 'theme_rtd': ['sphinx-rtd-theme~=1.0'], + 'theme_sbt': ['sphinx-book-theme~=0.3.0']} + +setup(name='sphinx_design', + version='%%PORTVERSION%%', + description='A sphinx extension for designing beautiful, view size responsive web components.', + author=None, + author_email='Chris Sewell ', + url=None, + packages=packages, + package_data=package_data, + install_requires=install_requires, + extras_require=extras_require, + python_requires='>=3.7', + )