textproc/py-sphinx-theme-builder: Add py-sphinx-theme-builder 0.2.0a13
Streamline the Sphinx theme development workflow, by building upon existing standardised tools. - simplified packaging experience - simplified JavaScript tooling setup - development server, with rebuild-on-save and automagical browser reloading - consistent repository structure across themes WWW: https://github.com/pradyunsg/sphinx-theme-builder
This commit is contained in:
parent
bdf8e17ce7
commit
e0c2948af2
@ -1478,6 +1478,7 @@
|
||||
SUBDIR += py-sphinx-markdown-tables
|
||||
SUBDIR += py-sphinx-me
|
||||
SUBDIR += py-sphinx-tabs
|
||||
SUBDIR += py-sphinx-theme-builder
|
||||
SUBDIR += py-sphinx_press_theme
|
||||
SUBDIR += py-sphinx_rtd_theme
|
||||
SUBDIR += py-sphinx_wikipedia
|
||||
|
29
textproc/py-sphinx-theme-builder/Makefile
Normal file
29
textproc/py-sphinx-theme-builder/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= sphinx-theme-builder
|
||||
DISTVERSION= 0.2.0a13
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Tool for authoring Sphinx themes with a simple (opinionated) workflow
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nodeenv>=0:devel/py-nodeenv@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pep621>=0:devel/py-pep621@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
|
||||
|
||||
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 <bsd.port.mk>
|
3
textproc/py-sphinx-theme-builder/distinfo
Normal file
3
textproc/py-sphinx-theme-builder/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1642102119
|
||||
SHA256 (sphinx-theme-builder-0.2.0a13.tar.gz) = d0bf4429a9c051910eee94a32942fa940db546fd033a7cef8986c8ea68f23fc5
|
||||
SIZE (sphinx-theme-builder-0.2.0a13.tar.gz) = 21363
|
39
textproc/py-sphinx-theme-builder/files/setup.py
Normal file
39
textproc/py-sphinx-theme-builder/files/setup.py
Normal file
@ -0,0 +1,39 @@
|
||||
#!/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_theme_builder',
|
||||
'sphinx_theme_builder._internal',
|
||||
'sphinx_theme_builder._internal.cli']
|
||||
|
||||
package_data = \
|
||||
{'': ['*']}
|
||||
|
||||
package_dir = \
|
||||
{'': 'src'}
|
||||
|
||||
install_requires = \
|
||||
['packaging', 'rich', 'tomli', 'nodeenv', 'setuptools', 'pep621']
|
||||
|
||||
extras_require = \
|
||||
{'cli': ['build', 'click', 'sphinx-autobuild']}
|
||||
|
||||
entry_points = \
|
||||
{'console_scripts': ['stb = sphinx_theme_builder._internal.cli:main']}
|
||||
|
||||
setup(name='sphinx-theme-builder',
|
||||
version='%%PORTVERSION%%',
|
||||
description='A tool for authoring Sphinx themes with a simple (opinionated) workflow.',
|
||||
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.7',
|
||||
)
|
8
textproc/py-sphinx-theme-builder/pkg-descr
Normal file
8
textproc/py-sphinx-theme-builder/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
Streamline the Sphinx theme development workflow, by building upon existing
|
||||
standardised tools.
|
||||
- simplified packaging experience
|
||||
- simplified JavaScript tooling setup
|
||||
- development server, with rebuild-on-save and automagical browser reloading
|
||||
- consistent repository structure across themes
|
||||
|
||||
WWW: https://github.com/pradyunsg/sphinx-theme-builder
|
Loading…
Reference in New Issue
Block a user