git: ff95f63486f5 - main - www/py-flask-sphinx-themes: add new port

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Wed, 20 Nov 2024 10:21:38 UTC
The branch main has been updated by driesm:

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

commit ff95f63486f5d987ace52f363575cb0f560863c9
Author:     Matthew Wener <matthew@wener.org>
AuthorDate: 2024-11-20 10:12:21 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-11-20 10:12:21 +0000

    www/py-flask-sphinx-themes: add new port
    
    Sphinx themes for Flask and related projects.
    
    PR:     282843
---
 www/Makefile                         |  1 +
 www/py-flask-sphinx-themes/Makefile  | 31 +++++++++++++++++++++++++++++++
 www/py-flask-sphinx-themes/distinfo  |  3 +++
 www/py-flask-sphinx-themes/pkg-descr |  1 +
 4 files changed, 36 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index e9e6de25cc71..a032fe23d8c5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1686,6 +1686,7 @@
     SUBDIR += py-flask-smorest
     SUBDIR += py-flask-socketio
     SUBDIR += py-flask-sockets
+    SUBDIR += py-flask-sphinx-themes
     SUBDIR += py-flask-theme
     SUBDIR += py-flask-uploads
     SUBDIR += py-flask-wtf
diff --git a/www/py-flask-sphinx-themes/Makefile b/www/py-flask-sphinx-themes/Makefile
new file mode 100644
index 000000000000..48e0d4a3e609
--- /dev/null
+++ b/www/py-flask-sphinx-themes/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	Flask-Sphinx-Themes
+DISTVERSION=	1.0.2
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew@wener.org
+COMMENT=	Sphinx themes for Flask and related projects
+WWW=		https://github.com/pallets/flask-sphinx-themes
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+PORTDOCS=	PKG-INFO README.rst
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-sphinx-themes/distinfo b/www/py-flask-sphinx-themes/distinfo
new file mode 100644
index 000000000000..03a23024f96c
--- /dev/null
+++ b/www/py-flask-sphinx-themes/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725150078
+SHA256 (Flask-Sphinx-Themes-1.0.2.tar.gz) = bb23d7dd1a8ad9f47315bcb0439373c7feb24bcb0a1f8c52bb075f06489bb285
+SIZE (Flask-Sphinx-Themes-1.0.2.tar.gz) = 9066
diff --git a/www/py-flask-sphinx-themes/pkg-descr b/www/py-flask-sphinx-themes/pkg-descr
new file mode 100644
index 000000000000..56d830bf4bda
--- /dev/null
+++ b/www/py-flask-sphinx-themes/pkg-descr
@@ -0,0 +1 @@
+This repository contains Sphinx themes for Flask and Flask related projects.