git: 1c983d3baf39 - main - www/py-bootstrap-flask: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Oct 2024 01:12:12 UTC
The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c983d3baf39cc52aba94609975215895de772ad commit 1c983d3baf39cc52aba94609975215895de772ad Author: Danilo G. Baio <dbaio@FreeBSD.org> AuthorDate: 2024-10-08 01:03:48 +0000 Commit: Danilo G. Baio <dbaio@FreeBSD.org> CommitDate: 2024-10-08 01:08:14 +0000 www/py-bootstrap-flask: New port Bootstrap 4 and 5 helper for Flask projects Bootstrap-Flask is a collection of Jinja macros for Bootstrap 4 & 5 and Flask. It helps you to render Flask-related data and objects to Bootstrap markup HTML more easily: - Render Flask-WTF/WTForms form object to Bootstrap Form. - Render data objects (dict or class objects) to Bootstrap Table. - Render Flask-SQLAlchemy Pagination object to Bootstrap Pagination. - etc. https://github.com/helloflask/bootstrap-flask --- www/Makefile | 1 + www/py-bootstrap-flask/Makefile | 27 +++++++++++++++++++++++++++ www/py-bootstrap-flask/distinfo | 3 +++ www/py-bootstrap-flask/pkg-descr | 7 +++++++ www/py-flask-bootstrap/Makefile | 2 ++ 5 files changed, 40 insertions(+) diff --git a/www/Makefile b/www/Makefile index a12a80bc6f6d..80c73184653f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1467,6 +1467,7 @@ SUBDIR += py-bjoern SUBDIR += py-bleach SUBDIR += py-bokeh + SUBDIR += py-bootstrap-flask SUBDIR += py-boto3 SUBDIR += py-botocore-stubs SUBDIR += py-bottle diff --git a/www/py-bootstrap-flask/Makefile b/www/py-bootstrap-flask/Makefile new file mode 100644 index 000000000000..b2d59822eca1 --- /dev/null +++ b/www/py-bootstrap-flask/Makefile @@ -0,0 +1,27 @@ +PORTNAME= Bootstrap-Flask +DISTVERSION= 2.4.1 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= bootstrap_flask-${PORTVERSION} + +MAINTAINER= dbaio@FreeBSD.org +COMMENT= Bootstrap 4 and 5 helper for Flask projects +WWW= https://github.com/helloflask/bootstrap-flask + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=0:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wtforms>0:textproc/py-wtforms@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}Flask-Bootstrap + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-bootstrap-flask/distinfo b/www/py-bootstrap-flask/distinfo new file mode 100644 index 000000000000..6a405de71123 --- /dev/null +++ b/www/py-bootstrap-flask/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728255299 +SHA256 (bootstrap_flask-2.4.1.tar.gz) = cc25c59495f150550ea41d0e8079689de4250fe45445e158abdc111f8fe883e2 +SIZE (bootstrap_flask-2.4.1.tar.gz) = 3841144 diff --git a/www/py-bootstrap-flask/pkg-descr b/www/py-bootstrap-flask/pkg-descr new file mode 100644 index 000000000000..ae323ccd8de4 --- /dev/null +++ b/www/py-bootstrap-flask/pkg-descr @@ -0,0 +1,7 @@ +Bootstrap-Flask is a collection of Jinja macros for Bootstrap 4 & 5 and Flask. +It helps you to render Flask-related data and objects to Bootstrap markup HTML +more easily: + - Render Flask-WTF/WTForms form object to Bootstrap Form. + - Render data objects (dict or class objects) to Bootstrap Table. + - Render Flask-SQLAlchemy Pagination object to Bootstrap Pagination. + - etc. diff --git a/www/py-flask-bootstrap/Makefile b/www/py-flask-bootstrap/Makefile index dd9be6709472..fc078240d898 100644 --- a/www/py-flask-bootstrap/Makefile +++ b/www/py-flask-bootstrap/Makefile @@ -20,6 +20,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dominate>=0:textproc/py-dominate@${PY_FLAVOR USES= python USE_PYTHON= autoplist concurrent pep517 +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}Bootstrap-Flask + NO_ARCH= yes .include <bsd.port.mk>