1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2021-04-18 12:55:45 +08:00
parent b1ef7f4ff3
commit 2dc7286b15
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,22 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= sphinx-copybutton
PORTVERSION= 0.3.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1618319920
SHA256 (sphinx-copybutton-0.3.1.tar.gz) = 0e0461df394515284e3907e3f418a0c60ef6ab6c9a27a800c8552772d0a402a2
SIZE (sphinx-copybutton-0.3.1.tar.gz) = 112606

View File

@ -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