From nobody Mon Oct 3 17:12:27 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 4Mh6pM392mz4djY4; Mon, 3 Oct 2022 17:12:27 +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 4Mh6pM2m7Vz3VL1; Mon, 3 Oct 2022 17:12:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664817147; 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=LG7vbTu9ihyd/DqNJdizzlopuo+yrkDhQSekveeyy1A=; b=mwY4WDMs9Gajm/r+VsQ4zUs8dLULg2eC1RbVJnHayG00CxFBfHyCQqxg3dkiRQww5ylVMd D8IFpLdwazd8rPMJwkUL1SMyZa8HlHLI15tnY1EBvIaZuQR+2LBqn2kxx7pRvlUHM0JEBC URvDI/TvW/X1dCkZbrhaL2/oE6uqR7ogKQlnH1Muxrc9oegUvnAE2H96UdNRZ9wa+NAYQ6 v2Qx+E/nX2rXh8iLm865GRF/s9u2QrwLSodFzgxJQdnQ3xGVwBHw9we15FzPrVN2ktOZDf WeahuPIHAZTqZvc9DD6BCq53dabAMv+301pF0yjYhClqZ+VzcrTAL544CFKFgA== 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 4Mh6pM1swgzHFS; Mon, 3 Oct 2022 17:12:27 +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 293HCR5D011518; Mon, 3 Oct 2022 17:12:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 293HCRjJ011517; Mon, 3 Oct 2022 17:12:27 GMT (envelope-from git) Date: Mon, 3 Oct 2022 17:12:27 GMT Message-Id: <202210031712.293HCRjJ011517@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: dfbff6728c6c - main - textproc/py-sphinx-examples: Add py-sphinx-examples 0.0.5 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: dfbff6728c6caad3ddf86ec15df90e1523e90b64 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664817147; 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=LG7vbTu9ihyd/DqNJdizzlopuo+yrkDhQSekveeyy1A=; b=IDnnD7SchSZxdJlIFR9f5gdAPtyyk0YeE4jfDnggiJEqzYXWDO98saev8C7WHIeVLbyWna 6qfWVJFWFJ0XT5ovHzIXMdd0ZZHoInx6VMUmchtcmGBWio/4vHdH9zbJSFEz38WPvjvelj 1F3rx4IV7VdS0aN9IO58Zpw8MMX5yP6s0t2P+nZiNj6BZLNdw+OGY34q+Iz9jWHrx8nnl8 cwyRp9aOnt5Z8Q/PvpFFqtYjPujwARFgjRNslCiWtzyN+12UFmT0PagdSjEd2ac6QnZNzH Js/YB/WUjE5GDXSoLScLkdwtW6CaccUu8tP7kuHnFz5FKLE1R2P2O9xHxzJmJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664817147; a=rsa-sha256; cv=none; b=UfZ0maQio1o6xx1icSx4Pu+O0kh3z1ZYiktga2a3QnEXIOp4qan/M8mp6W9gR8IenEJs45 HFsu6oL7x3w/kjaag0CHhXfH2oekOkpTo/70CTnQMugcMBM+q8ub3GubQSvsgsUCI3sGOL CtJQ9GT12Mtqdhois9WI1d6vW/qf5ITaTd6J4PZfvEnWg43ls3//QDLznZpDjbDl3IWX5n ZDsu4m085ufswLGdww+ORdwdPH9/VuA/ZkIuOIky5YwGZG2pDd8aGv35t9848jfzFVLS9i vJTcyXL4cjtYi6ZwxEKYzFwcrVafiyllULHNor29KHo2/sax4Zs/Rg3KpqESxQ== 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=dfbff6728c6caad3ddf86ec15df90e1523e90b64 commit dfbff6728c6caad3ddf86ec15df90e1523e90b64 Author: Po-Chuan Hsieh AuthorDate: 2022-10-03 16:56:38 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-10-03 17:10:13 +0000 textproc/py-sphinx-examples: Add py-sphinx-examples 0.0.5 sphinx-examples is a small Sphinx extension to create examples of source markup and the result of rendering it in your documentation. This is useful if you wish to demonstrate the functionality of a new directive or role in Sphinx. --- textproc/Makefile | 1 + textproc/py-sphinx-examples/Makefile | 25 ++++++++++++++++++++ textproc/py-sphinx-examples/distinfo | 3 +++ textproc/py-sphinx-examples/files/setup.py | 37 ++++++++++++++++++++++++++++++ textproc/py-sphinx-examples/pkg-descr | 3 +++ 5 files changed, 69 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 054ad0515a03..a14231c4e068 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1499,6 +1499,7 @@ SUBDIR += py-sphinx-book-theme SUBDIR += py-sphinx-copybutton SUBDIR += py-sphinx-design + SUBDIR += py-sphinx-examples SUBDIR += py-sphinx-inline-tabs SUBDIR += py-sphinx-intl SUBDIR += py-sphinx-issues diff --git a/textproc/py-sphinx-examples/Makefile b/textproc/py-sphinx-examples/Makefile new file mode 100644 index 000000000000..ac3fdf85cdab --- /dev/null +++ b/textproc/py-sphinx-examples/Makefile @@ -0,0 +1,25 @@ +PORTNAME= sphinx-examples +PORTVERSION= 0.0.5 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Lightweight example directive to make it easy to demonstrate code/results +WWW= https://github.com/executablebooks/sphinx-examples + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=4,1:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx-design>=0:textproc/py-sphinx-design@${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-examples/distinfo b/textproc/py-sphinx-examples/distinfo new file mode 100644 index 000000000000..da4df7901a4e --- /dev/null +++ b/textproc/py-sphinx-examples/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664767808 +SHA256 (sphinx-examples-0.0.5.tar.gz) = 552772a5e6de97b6ca0930125f6272a9fb7b2d875afdc02c8e2fbec9eaf93ff4 +SIZE (sphinx-examples-0.0.5.tar.gz) = 4754 diff --git a/textproc/py-sphinx-examples/files/setup.py b/textproc/py-sphinx-examples/files/setup.py new file mode 100644 index 000000000000..fb35dbe8da5a --- /dev/null +++ b/textproc/py-sphinx-examples/files/setup.py @@ -0,0 +1,37 @@ +#!/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_examples'] + +package_data = \ +{'': ['*'], 'sphinx_examples': ['_static/*', '_static/styles/*']} + +package_dir = \ +{'': 'src'} + +install_requires = \ +['sphinx>4', 'sphinx-design'] + +extras_require = \ +{'sphinx': ['sphinx-book-theme', + 'sphinx-copybutton', + 'myst-parser', + 'sphinx-rtd-theme', + 'furo']} + +setup(name='sphinx-examples', + version='%%PORTVERSION%%', + description='A lightweight example directive to make it easy to demonstrate code / results.', + author=None, + author_email='Executable Book Project ', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + install_requires=install_requires, + extras_require=extras_require, + python_requires='>=3.7', + ) diff --git a/textproc/py-sphinx-examples/pkg-descr b/textproc/py-sphinx-examples/pkg-descr new file mode 100644 index 000000000000..faf1d40110ff --- /dev/null +++ b/textproc/py-sphinx-examples/pkg-descr @@ -0,0 +1,3 @@ +sphinx-examples is a small Sphinx extension to create examples of source markup +and the result of rendering it in your documentation. This is useful if you wish +to demonstrate the functionality of a new directive or role in Sphinx.