git: 2dc7286b15e8 - main - textproc/py-sphinx-copybutton: Add py-sphinx-copybutton 0.3.1

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 18 07:08:36 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2dc7286b15e8d4d7bf5cede1cc09d68e5af67563

commit 2dc7286b15e8d4d7bf5cede1cc09d68e5af67563
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-18 04:55:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-04-18 05:41:50 +0000

    textproc/py-sphinx-copybutton: Add py-sphinx-copybutton 0.3.1
    
    sphinx-copybutton is a small sphinx extension to add a "copy" button to code
    blocks.
    
    WWW: https://github.com/executablebooks/sphinx-copybutton
---
 textproc/Makefile                       |  1 +
 textproc/py-sphinx-copybutton/Makefile  | 22 ++++++++++++++++++++++
 textproc/py-sphinx-copybutton/distinfo  |  3 +++
 textproc/py-sphinx-copybutton/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 1ddd37d88491..f5651be61625 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1407,6 +1407,7 @@
     SUBDIR += py-sphinx-argparse
     SUBDIR += py-sphinx-autoapi
     SUBDIR += py-sphinx-autodoc-typehints
+    SUBDIR += py-sphinx-copybutton
     SUBDIR += py-sphinx-inline-tabs
     SUBDIR += py-sphinx-intl
     SUBDIR += py-sphinx-issues
diff --git a/textproc/py-sphinx-copybutton/Makefile b/textproc/py-sphinx-copybutton/Makefile
new file mode 100644
index 000000000000..d0f5eb77c837
--- /dev/null
+++ b/textproc/py-sphinx-copybutton/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME=	sphinx-copybutton
+PORTVERSION=	0.3.1
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Add a copy button to each of your code cells
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.8,1:textproc/py-sphinx@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinx-copybutton/distinfo b/textproc/py-sphinx-copybutton/distinfo
new file mode 100644
index 000000000000..f3046357a1d8
--- /dev/null
+++ b/textproc/py-sphinx-copybutton/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618319920
+SHA256 (sphinx-copybutton-0.3.1.tar.gz) = 0e0461df394515284e3907e3f418a0c60ef6ab6c9a27a800c8552772d0a402a2
+SIZE (sphinx-copybutton-0.3.1.tar.gz) = 112606
diff --git a/textproc/py-sphinx-copybutton/pkg-descr b/textproc/py-sphinx-copybutton/pkg-descr
new file mode 100644
index 000000000000..05b28d0355a4
--- /dev/null
+++ b/textproc/py-sphinx-copybutton/pkg-descr
@@ -0,0 +1,4 @@
+sphinx-copybutton is a small sphinx extension to add a "copy" button to code
+blocks.
+
+WWW: https://github.com/executablebooks/sphinx-copybutton


More information about the dev-commits-ports-all mailing list