From nobody Sun Jan 23 19:26:12 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 C2656196893E; Sun, 23 Jan 2022 19:26:13 +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 4JhjlT235Bz3Lk3; Sun, 23 Jan 2022 19:26:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642965973; 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=RWgt2iLf9wxVMQj3lLXwaquLrS9muc58Ha1l4LmkX00=; b=ENy9xqGHLnX5XpO1JjmGTq9QNQMraJyiCKhJQ5LAzLJuDhfgmj2ly96+r32VVAJzC/Aush B812K7x6y4Mxk2nj0RblVlYJrC7gDQfySG0N0rAw5lawAs0MWSrU8hAttZqtVVTivnc6YC YH1Mcn46BYpgGLtkUGlQfHV7ICoV8Gg2/EWic35TE3hY8kybjNp2lkiCZo5KudcIh5yhhZ BMbs34MtoSHf6uDeZiAOyjIq+1MfejIBPOI30jy0x6xTDoKedomzlScmgqIt9XL0DNcX5l uVwozJmm2mkdkG3TgM1vnuDkmBB2VnWvo0Z9WomXUK77m5x8XA9uOqZD5tDoKw== 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 EC8B527E39; Sun, 23 Jan 2022 19:26:12 +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 20NJQCXJ012980; Sun, 23 Jan 2022 19:26:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20NJQCJB012979; Sun, 23 Jan 2022 19:26:12 GMT (envelope-from git) Date: Sun, 23 Jan 2022 19:26:12 GMT Message-Id: <202201231926.20NJQCJB012979@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: bdf8e17ce77a - main - textproc/py-sphinx-book-theme: Add py-sphinx-book-theme 0.1.10 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: bdf8e17ce77a0b2755d08baa739c736f65d408b0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642965973; 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=RWgt2iLf9wxVMQj3lLXwaquLrS9muc58Ha1l4LmkX00=; b=DB3TCi8IhbqRQNwtBNwShR5pFYvGi7QEYSEdSm6zEDadiDCy8piFm17tdsXMliCqpOQkS7 inWc8TL7/jzrVdhz/YiJxeYZg2G9IFoQurV+FnWWAd6O2hB7CNmQqgQQex7h0HNCX4/CHk aux3xYKeLYAwdSFvXXAybfvvNbEDBfG09eYU8gRIwo5BgI8ULYfdi6vwiJ6onasg2kBv4+ 9oLyEogOkAIMJqasYOFPtp62vqpPirFxjKViFqS9B4ceMAp+X70W/NUWJc0IUo2jdG/p/N cnEavgyGAzId3u4EGbRY324PhL7wdPJ64pw+h5huG4vx/CxOBWoNXV/NJ0+hQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642965973; a=rsa-sha256; cv=none; b=ZLUFdjYK7bOtHY8hc06+iiHRLWQeRcs0vn1uC1JnxT4dimVMB2uQNu5YoDch6GPCBWi3YO BW388Gta3U7Lz6ujPseFHv2nCNsKPhEtKhdR/h1pbADXBoCfTlgbcQ8J2uExCZrDiRKgtd oyPnzvwFMctBuXV9PITtcxp2W/BV60GU7d86mZroDpnPvxKmqg2vDHNty6C3JLF0m8Q+UP /yGQZEnOVSKHnM77tPPaITPPvuAnfTEOsjd58n8kMMQxzcDmY6EnfZHJH+FqjiyI7+LnL6 6wiLYbgMShNsDDbTBPDbIDwUFvOlNpgKEFLEAUU9zOA/bmRMKRS71nY7GNdQOw== 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=bdf8e17ce77a0b2755d08baa739c736f65d408b0 commit bdf8e17ce77a0b2755d08baa739c736f65d408b0 Author: Po-Chuan Hsieh AuthorDate: 2022-01-23 18:05:36 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-23 18:05:36 +0000 textproc/py-sphinx-book-theme: Add py-sphinx-book-theme 0.1.10 sphinx-book-theme is an interactive book theme for Sphinx. This is a lightweight Sphinx theme designed to mimic the look-and-feel of an interactive book. It has the following primary features: - Bootstrap 4 for visual elements and functionality. - Flexible content layout that is inspired by beautiful online books, such as the Edward Tufte CSS guide - Visual classes designed for Jupyter Notebooks. Cell inputs, outputs, and interactive functionality are all supported. - Launch buttons for online interactivity. For pages that are built with computational material, connect your site to an online BinderHub for interactive content. WWW: https://github.com/executablebooks/sphinx-book-theme --- textproc/Makefile | 1 + textproc/py-sphinx-book-theme/Makefile | 26 ++++++++++++++++++++++ textproc/py-sphinx-book-theme/distinfo | 3 +++ textproc/py-sphinx-book-theme/files/patch-setup.py | 11 +++++++++ textproc/py-sphinx-book-theme/pkg-descr | 14 ++++++++++++ 5 files changed, 55 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 792ab3fa64d9..4e7b4c7d8198 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1470,6 +1470,7 @@ SUBDIR += py-sphinx-autoapi SUBDIR += py-sphinx-autobuild SUBDIR += py-sphinx-autodoc-typehints + SUBDIR += py-sphinx-book-theme SUBDIR += py-sphinx-copybutton SUBDIR += py-sphinx-inline-tabs SUBDIR += py-sphinx-intl diff --git a/textproc/py-sphinx-book-theme/Makefile b/textproc/py-sphinx-book-theme/Makefile new file mode 100644 index 000000000000..2edaa08ae14b --- /dev/null +++ b/textproc/py-sphinx-book-theme/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= sphinx-book-theme +PORTVERSION= 0.1.10 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Clean book theme for scientific explanations and documentation with Sphinx + +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} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${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 + +.include diff --git a/textproc/py-sphinx-book-theme/distinfo b/textproc/py-sphinx-book-theme/distinfo new file mode 100644 index 000000000000..a6db847c8cb1 --- /dev/null +++ b/textproc/py-sphinx-book-theme/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642102117 +SHA256 (sphinx-book-theme-0.1.10.tar.gz) = c74d7deb36e6fea4bcb3a979d162d9fd80e93b7ea4da78ebf8286da4b898582a +SIZE (sphinx-book-theme-0.1.10.tar.gz) = 63301 diff --git a/textproc/py-sphinx-book-theme/files/patch-setup.py b/textproc/py-sphinx-book-theme/files/patch-setup.py new file mode 100644 index 000000000000..9ec12675262c --- /dev/null +++ b/textproc/py-sphinx-book-theme/files/patch-setup.py @@ -0,0 +1,11 @@ +--- 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/pkg-descr b/textproc/py-sphinx-book-theme/pkg-descr new file mode 100644 index 000000000000..fbf042ff6f67 --- /dev/null +++ b/textproc/py-sphinx-book-theme/pkg-descr @@ -0,0 +1,14 @@ +sphinx-book-theme is an interactive book theme for Sphinx. + +This is a lightweight Sphinx theme designed to mimic the look-and-feel of an +interactive book. It has the following primary features: +- Bootstrap 4 for visual elements and functionality. +- Flexible content layout that is inspired by beautiful online books, such as + the Edward Tufte CSS guide +- Visual classes designed for Jupyter Notebooks. Cell inputs, outputs, and + interactive functionality are all supported. +- Launch buttons for online interactivity. For pages that are built with + computational material, connect your site to an online BinderHub for + interactive content. + +WWW: https://github.com/executablebooks/sphinx-book-theme