-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
5 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |