diff --git a/textproc/Makefile b/textproc/Makefile --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1599,6 +1599,7 @@ SUBDIR += py-sphinxcontrib-svg2pdfconverter SUBDIR += py-sphinxcontrib-towncrier SUBDIR += py-sphinxcontrib-websupport + SUBDIR += py-sphinxcontrib-youtube SUBDIR += py-sphinxemoji SUBDIR += py-sphinxext-opengraph SUBDIR += py-splunk-hec diff --git a/textproc/py-sphinxcontrib-youtube/Makefile b/textproc/py-sphinxcontrib-youtube/Makefile new file mode 100644 --- /dev/null +++ b/textproc/py-sphinxcontrib-youtube/Makefile @@ -0,0 +1,27 @@ +PORTNAME= sphinxcontrib-youtube +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.1 +CATEGORIES= textproc python www +MASTER_SITES= GH +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= agh@riseup.net +COMMENT= Sphinx extension for embedding videos in .rst documentation +WWW= https://pypi.org/project/sphinxcontrib-youtube/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENCE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= sphinx-contrib +GH_PROJECT= youtube +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/textproc/py-sphinxcontrib-youtube/distinfo b/textproc/py-sphinxcontrib-youtube/distinfo new file mode 100644 --- /dev/null +++ b/textproc/py-sphinxcontrib-youtube/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703393141 +SHA256 (sphinx-contrib-youtube-v1.4.1_GH0.tar.gz) = ca63470e6da7d7a0ab1e82fda265666ca2a0b2e86af74d4ae439e9e91668c8f9 +SIZE (sphinx-contrib-youtube-v1.4.1_GH0.tar.gz) = 13024 diff --git a/textproc/py-sphinxcontrib-youtube/pkg-descr b/textproc/py-sphinxcontrib-youtube/pkg-descr new file mode 100644 --- /dev/null +++ b/textproc/py-sphinxcontrib-youtube/pkg-descr @@ -0,0 +1,8 @@ +Sphinx extension for embedding videos from Peertube, Vimeo, and Youtube in your +documentation. + +This module defines directives, 'peertube', 'vimeo', and 'youtube' which insert +videos from the respective platforms. Each directive takes a single, required +argument, which is the video identity, example: + +.. peertube:: d6f618ba-cab1-192i-waaa-itad1900f6bc