Port details |
- py-laces Django components that know how to render themselves
- 0.1.1 www =2 0.1.1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-03-09 14:12:39
- Last Update: 2024-03-09 14:05:16
- Commit Hash: 4f4fc4e
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/tbrlpld/laces
- Description:
- Laces components provide a simple way to combine data (in the form of Python
objects) with the Django templates that are meant to render that data. The
components can then be simply rendered in any other template using the {%
component %} template tag. That parent template does not need to know anything
about the component's template or data. No need to receive, filter, restructure
or pass any data to the component's template. Just let the component render
itself.
Template and data are tied together in the component, and they can be passed
around together. This becomes especially useful when components are nested -- it
allows us to avoid building the same nested structure twice (once in the data
and again in the templates).
Working with objects that know how to render themselves as HTML elements is a
common pattern found in complex Django applications, such as the Wagtail admin
interface. The Wagtail admin is also where the APIs provided in this package
have previously been discovered, developed and solidified. The purpose of this
package is to make these tools available to other Django projects outside the
Wagtail ecosystem.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}laces>0:www/py-laces@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-laces/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-laces
- pkg install py39-laces
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-laces listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-laces
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1709390340
SHA256 (laces-0.1.1.tar.gz) = e45159c46f6adca33010d34e9af869e57201b70675c6dc088e919b16c89456a4
SIZE (laces-0.1.1.tar.gz) = 26889
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-django42>=3.2 : www/py-django42@py39
- py39-flit-core>=3.2<4 : devel/py-flit-core@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-django42>=3.2 : www/py-django42@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-wagtail
Configuration Options:
- No options to configure
- Options name:
- www_py-laces
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|