www/py-laces 0.1.2_1 FreeBSD
Django components that know how to render themselves
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- www, python
- Package size
- 32.9 KiB, 173.1 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-laces | 0.1.2_1 |
| NetBSD | www/py-laces | 0.1.0nb1 |
| DragonFly | www/py-laces | 0.1.2 |
Install
Binary package:
pkg install py312-laces
From the ports tree:
cd /usr/ports/www/py-laces/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-laces>0:www/py-laces
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.1.2_1 | 0.1.2_1 | - | 0.1.2 | 0.1.2_1 |
| FreeBSD:14:quarterly | 0.1.2_1 | 0.1.2_1 | n/a | 0.1.2 | 0.1.2_1 |
| FreeBSD:15:latest | 0.1.2_1 | 0.1.2_1 | n/a | 0.1.2 | 0.1.2 |
| FreeBSD:15:quarterly | 0.1.2_1 | 0.1.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1.2_1 | 0.1.2_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}django52>=3.2: www/py-django52${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4: devel/py-flit-core
Runtime 1
${PYTHON_PKGNAMEPREFIX}django52>=3.2: www/py-django52
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/liblz4
- archivers/zstd
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sqlite3
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-build
- devel/py-flit-core
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- www/py-asgiref
- www/py-django52
Run dependencies 18
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| laces-0.1.2.tar.gz | 29264 | 3218e09c1889ae5cf3fc7a82f5bb63ec0c7879889b6a9760bfc42323c694b84d |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.