Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2024 19:57:39 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4e3246af9730 - main - www/py-flask-theme: New port
Message-ID:  <202409171957.48HJvdVE074323@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 4e3246af97306ab3ac8195374847c216e17a5d07
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-17 19:56:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-17 19:57:26 +0000

    www/py-flask-theme: New port
    
    flask-theme provides infrastructure for theming support in Flask
    applications. It takes care of:
    
    - loading themes
    - rendering templates from themes
    - serving static files like CSS and images from themes
    
    WWW: https://github.com/liuliqiang/flask-theme
---
 www/Makefile                 |  1 +
 www/py-flask-theme/Makefile  | 22 ++++++++++++++++++++++
 www/py-flask-theme/distinfo  |  3 +++
 www/py-flask-theme/pkg-descr |  6 ++++++
 4 files changed, 32 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index b4c1ace9e2ed..5af017ee9044 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1674,6 +1674,7 @@
     SUBDIR += py-flask-smorest
     SUBDIR += py-flask-socketio
     SUBDIR += py-flask-sockets
+    SUBDIR += py-flask-theme
     SUBDIR += py-flask-uploads
     SUBDIR += py-flask-wtf
     SUBDIR += py-flower
diff --git a/www/py-flask-theme/Makefile b/www/py-flask-theme/Makefile
new file mode 100644
index 000000000000..3594f2824255
--- /dev/null
+++ b/www/py-flask-theme/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	flask-theme
+DISTVERSION=	0.3.6
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Infrastructure for theming support in Flask applications
+WWW=		https://github.com/liuliqiang/flask-theme
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flask>=0.6:www/py-flask@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils nose
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-theme/distinfo b/www/py-flask-theme/distinfo
new file mode 100644
index 000000000000..42dc26e401c0
--- /dev/null
+++ b/www/py-flask-theme/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726602701
+SHA256 (flask-theme-0.3.6.tar.gz) = e45c42276ce86a4a905fb2b26a319e5b21ba6ab7e8386c501008844d20039d1e
+SIZE (flask-theme-0.3.6.tar.gz) = 14643
diff --git a/www/py-flask-theme/pkg-descr b/www/py-flask-theme/pkg-descr
new file mode 100644
index 000000000000..94c5ec52c02d
--- /dev/null
+++ b/www/py-flask-theme/pkg-descr
@@ -0,0 +1,6 @@
+flask-theme provides infrastructure for theming support in Flask
+applications. It takes care of:
+
+- loading themes
+- rendering templates from themes
+- serving static files like CSS and images from themes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409171957.48HJvdVE074323>