From nobody Tue Jun 21 16:37:36 2022 X-Original-To: dev-commits-ports-all@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 DEF61879B77; Tue, 21 Jun 2022 16:37:37 +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 4LSBy91HHlz3GH4; Tue, 21 Jun 2022 16:37:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829457; 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=KgezwB4BmDBKdgqUB+a/NER+5y859e4uI3r6yJxYbps=; b=dQTkgzcpUqIYKrfHms4ItpwQ4+MvEyROiq4VERSx0bq5kohTMZyXFiQcWjFw15/4Io+49g OdRnkVQZSTh2yuUYkvbLwxauZ5f0c/mRuM1cIyWezKQiZQYv4CsfVbqebThAsnc9/1z4+1 1/of+qSvMiigzG+YRZIMGOL/pJFySr9t4n1X0V37GWreTBapuPThTBhXhrUU3ezamVlkGU cXNgjR2IphiL3/20S8n2Z3E6LHvXyeYIlF/5FG/L8Qlg1ry3bGXY2w8wkrgfzoLAkG0u9Y LYv/jdxu6wGSyZQxCxj14vjrBO8E1P2vUOsd3O2Puc5FME+4bXyzwqOAUJD4bg== 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 6AB9A15707; Tue, 21 Jun 2022 16:37:36 +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 25LGba31059656; Tue, 21 Jun 2022 16:37:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LGbanZ059655; Tue, 21 Jun 2022 16:37:36 GMT (envelope-from git) Date: Tue, 21 Jun 2022 16:37:36 GMT Message-Id: <202206211637.25LGbanZ059655@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: 1016eec5c4f2 - main - textproc/py-sphinx-book-theme: Update to 0.3.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 1016eec5c4f29a3211c57fe76b4b4390ac1bb694 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829457; 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=KgezwB4BmDBKdgqUB+a/NER+5y859e4uI3r6yJxYbps=; b=qf33xhKC3yo4pnA1It3H8acKj13yVNUPCEdpKtIkF9YJbxuQVW+IWR+wkoEjbPThpnulok oD0nc51llSpmMcCYdJzaos/cBV6zsUiIAKjYe3mOLLdceOmBSYBacyRI1GvyK0+AVmoWxS Y4CJs0aneUOnC5SkjNYHoEPATMOV2ksQFLkvRf/RL43Y5WhPfMRenQWAD+GnPYHqfsslpe tR336A4gn5x1EniP8qyoo+gNBAIJtXsAxJwAnQ5OFd2WNJzHFx+4pmCZ4TSb79Kch8IL5t kCt9VfIEf9VI4Z2Uy35xFaBxzSBiMA5eXac0btG1SjEmQedTj+VWvY2RoNWU6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655829457; a=rsa-sha256; cv=none; b=Dv/iXiJ8z605d2hBqdZR79jEGMjKH8fDdnHkjybkqgXpBMMwOTgOAsf2Pn+6/s4p8Dya+L uA2ZTYH820nw4F5hHlyH0ExRqkvsj9T99P/aowrNCPa1lLAWXL0IjoBT/+77sL0Ptd6SEX VR7Z6G+u6qBAiPA0wIObMSxZrTYGRxpO4gerrU5LmxeTYvljX27lEhoA7LzylJTzjfKlXK tB613WaV29mwMzAQFx82/Ja1ohc7ihPTY2thVEVOu/azBaup78EC24NWy6ejFmFeX71XzJ 0XH6rn5zuXbrHQPxbd6JptyVRuV0lEj//Uu8u1hNBpTcePUxfhxY1+GcYqLa2w== 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=1016eec5c4f29a3211c57fe76b4b4390ac1bb694 commit 1016eec5c4f29a3211c57fe76b4b4390ac1bb694 Author: Po-Chuan Hsieh AuthorDate: 2022-06-21 16:33:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-21 16:36:24 +0000 textproc/py-sphinx-book-theme: Update to 0.3.2 Changes: https://github.com/executablebooks/sphinx-book-theme/releases --- textproc/py-sphinx-book-theme/Makefile | 22 +++++--- textproc/py-sphinx-book-theme/distinfo | 8 ++- textproc/py-sphinx-book-theme/files/patch-setup.py | 11 ---- textproc/py-sphinx-book-theme/files/setup.py | 66 ++++++++++++++++++++++ textproc/py-sphinx-book-theme/pkg-plist | 48 ++++++++++++++++ 5 files changed, 134 insertions(+), 21 deletions(-) diff --git a/textproc/py-sphinx-book-theme/Makefile b/textproc/py-sphinx-book-theme/Makefile index f81db6d801ed..5631c10d78c4 100644 --- a/textproc/py-sphinx-book-theme/Makefile +++ b/textproc/py-sphinx-book-theme/Makefile @@ -1,26 +1,34 @@ # Created by: Po-Chuan Hsieh PORTNAME= sphinx-book-theme -PORTVERSION= 0.2.0 +PORTVERSION= 0.3.2 CATEGORIES= textproc python -MASTER_SITES= CHEESESHOP +MASTER_SITES= CHEESESHOP \ + LOCAL/sunpoet:static PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= sphinx_book_theme-${PORTVERSION}${EXTRACT_SUFX} \ + sphinx_book_theme-${PORTVERSION}-static${EXTRACT_SUFX}:static MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Clean book theme for scientific explanations and documentation with Sphinx +COMMENT= Bootstrap-based Sphinx theme from the PyData community LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.6.1<5:www/py-beautifulsoup@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}docutils>=0.17.1:textproc/py-docutils@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pydata-sphinx-theme>=0.7.2<0.8:textproc/py-pydata-sphinx-theme@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydata-sphinx-theme>=0.8.0<0.9:textproc/py-pydata-sphinx-theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=3,1<5,1:textproc/py-sphinx@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}sphinx>=3,1<5,1:textproc/py-sphinx@${PY_FLAVOR} \ USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +WRKSRC= ${WRKDIR}/sphinx_book_theme-${PORTVERSION} + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + +post-install: + cd ${WRKDIR}/static/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinx_book_theme/theme/sphinx_book_theme/static/ .include diff --git a/textproc/py-sphinx-book-theme/distinfo b/textproc/py-sphinx-book-theme/distinfo index e5ca961a6117..74a4f8c1fde8 100644 --- a/textproc/py-sphinx-book-theme/distinfo +++ b/textproc/py-sphinx-book-theme/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1643971132 -SHA256 (sphinx-book-theme-0.2.0.tar.gz) = 9f9762f2c6372e7ebaac905707628efe80386d3e5160945d8965d309aeed940d -SIZE (sphinx-book-theme-0.2.0.tar.gz) = 58970 +TIMESTAMP = 1655561172 +SHA256 (sphinx_book_theme-0.3.2.tar.gz) = 182b5657a345f3bbb2c5b86da65db9b47e27de0ab406cda168142768645121f5 +SIZE (sphinx_book_theme-0.3.2.tar.gz) = 269284 +SHA256 (sphinx_book_theme-0.3.2-static.tar.gz) = 9227e0bd6f6813dc623616eda26ef1d3a91a77565e54dc9b7475c1f117caea1e +SIZE (sphinx_book_theme-0.3.2-static.tar.gz) = 188928 diff --git a/textproc/py-sphinx-book-theme/files/patch-setup.py b/textproc/py-sphinx-book-theme/files/patch-setup.py deleted file mode 100644 index 9ec12675262c..000000000000 --- a/textproc/py-sphinx-book-theme/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2022-01-10 10:21:14 UTC -+++ setup.py -@@ -29,7 +29,7 @@ setup( - packages=find_packages(), - install_requires=[ - "beautifulsoup4>=4.6.1,<5", -- "docutils>=0.15,<0.17", -+ "docutils>=0.17.1", - 'importlib-resources>=3.0,<3.5; python_version < "3.7"', - "pydata-sphinx-theme~=0.7.2", - "pyyaml", diff --git a/textproc/py-sphinx-book-theme/files/setup.py b/textproc/py-sphinx-book-theme/files/setup.py new file mode 100644 index 000000000000..4fe5af94b5ae --- /dev/null +++ b/textproc/py-sphinx-book-theme/files/setup.py @@ -0,0 +1,66 @@ +from setuptools import setup + +setup( + name = 'sphinx-book-theme', + version = '%%PORTVERSION%%', + description = 'A clean book theme for scientific explanations and documentation with Sphinx', + maintainer = 'Chris Holdgraf', + maintainer_email = 'choldgraf@gmail.com', + url = None, + packages = ['sphinx_book_theme'], + package_dir = {'': 'src'}, + package_data = {'': ['*']}, + install_requires = [ + 'sphinx>=3,<5', + 'pydata-sphinx-theme~=0.8.0', + 'pyyaml', + ], + extras_require = { + 'code_style': [ + 'pre-commit~=2.7.0' + ], + 'doc': [ + 'ablog~=0.10.13', + 'ipywidgets', + 'folium', + 'numpy', + 'matplotlib', + 'numpydoc', + 'myst-nb~=0.13', + 'nbclient', + 'pandas', + 'plotly', + 'sphinx~=4.0', # Force Sphinx to be the latest version + 'sphinx-design', + 'sphinx-copybutton', + 'sphinx-tabs', + 'sphinx-togglebutton>=0.2.1', + 'sphinx-thebe>=0.1.1', + 'sphinxcontrib-bibtex~=2.2', + 'sphinxcontrib-youtube', + 'sphinxext-opengraph', + ], + 'test': [ + 'beautifulsoup4>=4.6.1,<5', + 'coverage', + 'myst_nb~=0.13', + 'pytest~=6.0.1', + 'pytest-cov', + 'pytest-regressions~=2.0.1', + 'sphinx_thebe' + ], + }, + entry_points = { + 'sphinx.html_themes': ['sphinx_book_theme = sphinx_book_theme'], + }, + classifiers = [ + 'Development Status :: 4 - Beta', + 'Programming Language :: Python :: 3', + 'Framework :: Sphinx', + 'Framework :: Sphinx :: Theme', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + ], + license = 'BSD License', + python_requires = '>= 3.7', +) diff --git a/textproc/py-sphinx-book-theme/pkg-plist b/textproc/py-sphinx-book-theme/pkg-plist new file mode 100644 index 000000000000..ba6ac267dbb2 --- /dev/null +++ b/textproc/py-sphinx-book-theme/pkg-plist @@ -0,0 +1,48 @@ +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ar/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/bg/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/bn/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ca/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/cs/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/da/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/de/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/el/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/eo/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/es/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/et/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/fi/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/fr/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/hr/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/id/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/it/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/iw/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ja/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ko/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/lt/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/lv/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ml/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/mr/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ms/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/nl/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/no/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/pl/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/pt/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ro/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ru/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/sk/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/sl/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/sr/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/sv/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ta/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/te/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/tg/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/th/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/tl/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/tr/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/uk/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/ur/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/vi/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/zh_CN/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/locales/zh_TW/LC_MESSAGES/booktheme.po +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/scripts/sphinx-book-theme.js +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/scripts/sphinx-book-theme.js.map +%%PYTHON_SITELIBDIR%%/sphinx_book_theme/theme/sphinx_book_theme/static/styles/sphinx-book-theme.css