Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/py-dj42-django-crispy-forms: New port
Django 4.2 version of www/py-django-crispy-forms, happy to pass it to its maintainer or make it disappear, once 4.2 is the default django version.
- Loading branch information
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PORTNAME= django-crispy-forms | ||
PORTVERSION= 2.0 | ||
CATEGORIES= www python | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- | ||
|
||
MAINTAINER= grembo@FreeBSD.org | ||
COMMENT= Best way to have Django DRY forms | ||
WWW= https://github.com/django-crispy-forms/django-crispy-forms | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||
|
||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} | ||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} | ||
|
||
USES= dos2unix python | ||
USE_PYTHON= autoplist concurrent pep517 | ||
|
||
NO_ARCH= yes | ||
|
||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-crispy-forms | ||
|
||
PORTSCOUT= skipv:2.1 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1684104566 | ||
SHA256 (django-crispy-forms-2.0.tar.gz) = 90193b068bf948d9c68449bc8260afed1a8e2afe11ee0bac8c4ebfaeb175b322 | ||
SIZE (django-crispy-forms-2.0.tar.gz) = 277697 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
The best way to have Django DRY forms. Build programmatic reusable layouts out | ||
of components, having full control of the rendered HTML without writing HTML in | ||
templates. All this without breaking the standard way of doing things in Django, | ||
so it plays nice with any other form application. | ||
|
||
The application mainly provides: | ||
- A filter named |crispy that will render elegant div based forms. Think of it | ||
as the built-in methods: as_table, as_ul and as_p. You cannot tune up the | ||
output, but it is easy to start using it. | ||
- A tag named {% crispy %} that will render a form based on your configuration | ||
and specific layout setup. This gives you amazing power without much hassle, | ||
helping you save tons of time. |