From nobody Sun Jan 23 19:26:13 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 306001968A9F; Sun, 23 Jan 2022 19:26:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JhjlV213tz3M2Y; Sun, 23 Jan 2022 19:26:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642965974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dhz1JWmZk+IJN8L/MMB0YQp9P4Ssj7yY3MOAjjkmEN0=; b=tpzIGbTW4hxfk2WlCx+gUKp2xkT9LxZTk1j819/Q/2p10jNm8aR3qOoMnKjzBFlSGfwH5a bspDY73MBXwz1h6pKBTqmZNNb3s3xKwY3ZoH8g1LMhRlkw2ob7DHnn5p0Mxw+1eBIp7/D1 PyS6WwxBAP5TDy6fNeXqg+imj8T7J47z2UCdo1Jz7iX3mdkgfqWzwlP+zmy9DqD68ED11q 1naWKkEvTlOKSF9PDkv3xUuXtAeDxHKUZYDZm6MUvYq7WnF+dGtUE+g3qgGsXGWo1ZwQ0z nF7OWZGg68MHgbcCgK7icBFXgX/jKhTqvtPq+p9dpMglUdR059pV92vBoQotnQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1183327E3A; Sun, 23 Jan 2022 19:26:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20NJQDGV013011; Sun, 23 Jan 2022 19:26:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20NJQDu9013010; Sun, 23 Jan 2022 19:26:13 GMT (envelope-from git) Date: Sun, 23 Jan 2022 19:26:13 GMT Message-Id: <202201231926.20NJQDu9013010@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e0c2948af28f - main - textproc/py-sphinx-theme-builder: Add py-sphinx-theme-builder 0.2.0a13 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e0c2948af28f756741aec86165fe9ecb5a770280 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642965974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dhz1JWmZk+IJN8L/MMB0YQp9P4Ssj7yY3MOAjjkmEN0=; b=L9rOAFnv3KsSqA4JB1WIzN67mtYP8WihoCKIFGV4AlGDyPLC3trtDI861/KetRSX6EC+hT 7EGgGcb0KYQsCInZIL8fJOh0/4DSxUQMG2fvFvt+NJ+utJjBxLztr+pwFHXbgHwVTQB+bc 3LvURtz8xqwKA5e7lA2t3YM41js/58sU7mkHo2lH55GbYfGnWLMiwNTPH7C57h72eUw+eV Vq98DMicmnokXojlFCN4Yl/fHzOvM33CznI0W6mkdnhCkLeuX6Qei1CvUQP86YR1yqHk+o SBPDHXUVdnZat0zW/GzNzNF4q6pFEh3Nbohg+qMIZPNc5ywXlDBsV1x60NFm+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642965974; a=rsa-sha256; cv=none; b=whTIbCQ/vfB2M6kDLYl/qgCLOicYv+quvQvz11YXf706tUxa494E+DaW1li+WzQahVnqUH dPOKPMTG/i4HMRp0TJoXTIi9ul3QtEvTn2oD4j/xqievhW00q0VWupGnd/x4UaBbaFooDk 9vJRStXMybQhw03XdAK9p15rsQ0ZDgH8Gd289KjWMAyGtha7VZqISyQjsgOlHQ3q2Qw2OE knpPfHHQZAUciqc732POMs8nb3S8Ko13y/gG2e+P5R09tf9rESHtd80soI6EtS5z/BeXyG 1V4n0asJm/fqJgn1nFySTP1sZHE+4xrcUwVFhHtrb9I7BRLbfnuxMjmcgnHtHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0c2948af28f756741aec86165fe9ecb5a770280 commit e0c2948af28f756741aec86165fe9ecb5a770280 Author: Po-Chuan Hsieh AuthorDate: 2022-01-23 18:05:39 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-23 18:05:39 +0000 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 --- textproc/Makefile | 1 + textproc/py-sphinx-theme-builder/Makefile | 29 ++++++++++++++++++ textproc/py-sphinx-theme-builder/distinfo | 3 ++ textproc/py-sphinx-theme-builder/files/setup.py | 39 +++++++++++++++++++++++++ textproc/py-sphinx-theme-builder/pkg-descr | 8 +++++ 5 files changed, 80 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 4e7b4c7d8198..5cd08c01634a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-sphinx-theme-builder/Makefile b/textproc/py-sphinx-theme-builder/Makefile new file mode 100644 index 000000000000..8813463d9a84 --- /dev/null +++ b/textproc/py-sphinx-theme-builder/Makefile @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh + +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 diff --git a/textproc/py-sphinx-theme-builder/distinfo b/textproc/py-sphinx-theme-builder/distinfo new file mode 100644 index 000000000000..395363d5d9b0 --- /dev/null +++ b/textproc/py-sphinx-theme-builder/distinfo @@ -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 diff --git a/textproc/py-sphinx-theme-builder/files/setup.py b/textproc/py-sphinx-theme-builder/files/setup.py new file mode 100644 index 000000000000..34719f111cc4 --- /dev/null +++ b/textproc/py-sphinx-theme-builder/files/setup.py @@ -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 ', + 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', + ) diff --git a/textproc/py-sphinx-theme-builder/pkg-descr b/textproc/py-sphinx-theme-builder/pkg-descr new file mode 100644 index 000000000000..21050c577928 --- /dev/null +++ b/textproc/py-sphinx-theme-builder/pkg-descr @@ -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