Port details |
- py-laces Django components that know how to render themselves
- 0.1.2 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: 2025-02-03 15:51:35
- Commit Hash: c13b133
- 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 py311-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 py311-laces listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-laces
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1738089166
SHA256 (laces-0.1.2.tar.gz) = 3218e09c1889ae5cf3fc7a82f5bb63ec0c7879889b6a9760bfc42323c694b84d
SIZE (laces-0.1.2.tar.gz) = 29264
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:
-
- py311-django42>=3.2 : www/py-django42@py311
- py311-flit-core>=3.2<4 : devel/py-flit-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-django42>=3.2 : www/py-django42@py311
- python3.11 : lang/python311
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.1.2 03 Feb 2025 15:51:35
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-laces: Update to 0.1.2
Changes: https://github.com/tbrlpld/laces/releases |
0.1.1 09 Mar 2024 14:05:16
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-laces: Add py-laces 0.1.1
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. |