1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

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
This commit is contained in:
Danilo G. Baio 2024-10-07 22:03:48 -03:00
parent 67201db51e
commit 1c983d3baf
5 changed files with 40 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1728255299
SHA256 (bootstrap_flask-2.4.1.tar.gz) = cc25c59495f150550ea41d0e8079689de4250fe45445e158abdc111f8fe883e2
SIZE (bootstrap_flask-2.4.1.tar.gz) = 3841144

View File

@ -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.

View File

@ -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>