From nobody Thu Feb 22 20:16:59 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TgkvH4vW6z5BKh6; Thu, 22 Feb 2024 20:16:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TgkvH4PYvz4slh; Thu, 22 Feb 2024 20:16:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708633019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1a4Cd7OHXXSIdZxAVJUtbNE1iAelX8BLy0yrxmMGO30=; b=qPWURlnBZqzxAmc4ZovQQjQqa/RUyqf5lv6w6cB51gobJFDCRTSy/qYnXk+WvdQWEpNQUM tbs9TZKTJwuvoyT123SbGEl4u5JvhzwVhTnZ3uy8pssfwzB30GMDZBflZEJLh5Ni+zux1P 2v78TknWmRs0yxwcRCte5nzSYauzuXYHlQMzmW/vFVCaBemeW6IesFvzDLXlQ7SWa8GE3n 3Ml/On4LDTNiA9bcUrKc28U9+tTeDuuwYUcvcwiqw6GkwyoDd6f/qVndyFH+kmL2wVMQZe 3dgh0rK8bWcU4o/f/4pWZM5GSuvpbwz0shX9j+3Loy3pwgLXUWxujafp3qxO5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708633019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1a4Cd7OHXXSIdZxAVJUtbNE1iAelX8BLy0yrxmMGO30=; b=pPNI6Z6E/1sSipwTuLV4Rd0I45ZOr6IRBBQ1iT7jroIrNbkgG3ZiLpqsdBooZP9u+MShl2 SRU/erO/OJM1wjBaiUKauaGLLpzGzUFex7ACKt7PpQz+IWf3/uV5azeCfQ5gD1T+BA6kud ZpP0wzFvrTbCgQUzp14rUogvRDHe4xcIE9I9pZ8lzFC7hzWB4oGdHfAb6RO/7dDAPG9oSu H713pP5tIAWHw5R4l3f8EL/+sAbk/U6BnDgylok2gbJ/cZ2t79UmGt314rzXsUS6KlAcAZ X5t24XmYybNpGoEpxa3ahrUVakD0ADILczEZpEGHEYhog7P8qELLPrJZSvagRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708633019; a=rsa-sha256; cv=none; b=t0sqKySz4VpHbLaRmhiV0RjUSNgqyogzSSZiA8dBaPhPAA40nrwzAn2dJJ+OJDt6awfrbT yIqgEW5CpM/t/Yut93Gz8pWOmC85+HekMCbZxW1cmhitaMZgGN2d/q5XOftjEn6XFn1fRF PT5s2HBpT5x7DydykUNYLOV9IKD+MWIHqIoA5JsQ26JRBjyMiaDM3x792mCFX+LPZQslFi faWj9E9Ykx7WQ840ipVWNf09eyDUdSRIym1kCX1uU9r6ZoJXOSZgO3yxfeP+w9xOMPxS8L F299PqvL4e6zJOxnmM9SjwgjYf1rbKzObSgKvsbBkqeyyoAKqY5hp26iGd0vWQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TgkvH3ScFzmZP; Thu, 22 Feb 2024 20:16:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41MKGxJV005774; Thu, 22 Feb 2024 20:16:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41MKGxTJ005771; Thu, 22 Feb 2024 20:16:59 GMT (envelope-from git) Date: Thu, 22 Feb 2024 20:16:59 GMT Message-Id: <202402222016.41MKGxTJ005771@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Gmelin Subject: git: c4523f511249 - main - www/py-dj42-django-crispy-forms: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grembo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c4523f5112499cb29de2ace8a204503c437840cb Auto-Submitted: auto-generated The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4523f5112499cb29de2ace8a204503c437840cb commit c4523f5112499cb29de2ace8a204503c437840cb Author: Michael Gmelin AuthorDate: 2024-02-22 19:28:03 +0000 Commit: Michael Gmelin CommitDate: 2024-02-22 20:15:52 +0000 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. --- www/Makefile | 1 + www/py-dj42-django-crispy-forms/Makefile | 27 +++++++++++++++++++++++++++ www/py-dj42-django-crispy-forms/distinfo | 3 +++ www/py-dj42-django-crispy-forms/pkg-descr | 12 ++++++++++++ 4 files changed, 43 insertions(+) diff --git a/www/Makefile b/www/Makefile index eb853ddb3061..ed0c2e05ea1a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1499,6 +1499,7 @@ SUBDIR += py-dj42-django-celery-results SUBDIR += py-dj42-django-compression-middleware SUBDIR += py-dj42-django-cors-headers + SUBDIR += py-dj42-django-crispy-forms SUBDIR += py-dj42-django-debug-toolbar SUBDIR += py-dj42-django-extensions SUBDIR += py-dj42-django-filter diff --git a/www/py-dj42-django-crispy-forms/Makefile b/www/py-dj42-django-crispy-forms/Makefile new file mode 100644 index 000000000000..b3fe83f8aa72 --- /dev/null +++ b/www/py-dj42-django-crispy-forms/Makefile @@ -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 diff --git a/www/py-dj42-django-crispy-forms/distinfo b/www/py-dj42-django-crispy-forms/distinfo new file mode 100644 index 000000000000..b308d501a69b --- /dev/null +++ b/www/py-dj42-django-crispy-forms/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1684104566 +SHA256 (django-crispy-forms-2.0.tar.gz) = 90193b068bf948d9c68449bc8260afed1a8e2afe11ee0bac8c4ebfaeb175b322 +SIZE (django-crispy-forms-2.0.tar.gz) = 277697 diff --git a/www/py-dj42-django-crispy-forms/pkg-descr b/www/py-dj42-django-crispy-forms/pkg-descr new file mode 100644 index 000000000000..dc5dff56bcd8 --- /dev/null +++ b/www/py-dj42-django-crispy-forms/pkg-descr @@ -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.