git: ed915b6d812b - main - textproc/py-sphinxcontrib-jquery: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 26 Sep 2024 07:09:38 UTC
The branch main has been updated by danfe:

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

commit ed915b6d812b4193a196a70603d8967342d918ee
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-09-26 07:08:10 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-09-26 07:08:10 +0000

    textproc/py-sphinxcontrib-jquery: new port had been added (+)
    
    It is to ensure that jQuery is always installed for use in Sphinx
    themes or extensions.
---
 textproc/Makefile                          |  1 +
 textproc/py-sphinxcontrib-jquery/Makefile  | 22 ++++++++++++++++++++++
 textproc/py-sphinxcontrib-jquery/distinfo  |  3 +++
 textproc/py-sphinxcontrib-jquery/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 5addca480010..9cdbcd075d7e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1625,6 +1625,7 @@
     SUBDIR += py-sphinxcontrib-htmlhelp
     SUBDIR += py-sphinxcontrib-httpdomain
     SUBDIR += py-sphinxcontrib-issuetracker
+    SUBDIR += py-sphinxcontrib-jquery
     SUBDIR += py-sphinxcontrib-jsmath
     SUBDIR += py-sphinxcontrib-log-cabinet
     SUBDIR += py-sphinxcontrib-napoleon
diff --git a/textproc/py-sphinxcontrib-jquery/Makefile b/textproc/py-sphinxcontrib-jquery/Makefile
new file mode 100644
index 000000000000..b2dc539d3c39
--- /dev/null
+++ b/textproc/py-sphinxcontrib-jquery/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	sphinxcontrib-jquery
+PORTVERSION=	4.1
+CATEGORIES=	textproc
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	python@FreeBSD.org
+COMMENT=	Request jQuery for use in Sphinx themes or extensions
+WWW=		https://github.com/sphinx-contrib/jquery
+
+LICENSE=	BSD0CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENCE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.7:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.8:textproc/py-sphinx@${PY_FLAVOR}
+
+USES=		pytest python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinxcontrib-jquery/distinfo b/textproc/py-sphinxcontrib-jquery/distinfo
new file mode 100644
index 000000000000..726e5e08ba42
--- /dev/null
+++ b/textproc/py-sphinxcontrib-jquery/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681198500
+SHA256 (sphinxcontrib-jquery-4.1.tar.gz) = 1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a
+SIZE (sphinxcontrib-jquery-4.1.tar.gz) = 122331
diff --git a/textproc/py-sphinxcontrib-jquery/pkg-descr b/textproc/py-sphinxcontrib-jquery/pkg-descr
new file mode 100644
index 000000000000..59f36066bd29
--- /dev/null
+++ b/textproc/py-sphinxcontrib-jquery/pkg-descr
@@ -0,0 +1,2 @@
+This package ensures that jQuery is always installed for use in Sphinx
+themes or extensions.