Date: Sat, 23 Mar 2019 17:51:59 +0000 (UTC) From: Michael Gmelin <grembo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496677 - in head/www: . py-dj21-django-crispy-forms py-django-crispy-forms Message-ID: <201903231751.x2NHpxFD025465@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: grembo Date: Sat Mar 23 17:51:59 2019 New Revision: 496677 URL: https://svnweb.freebsd.org/changeset/ports/496677 Log: Add a port of django-crispy-forms specifically for Django 2.1 This uses the approach taken by kai@ for various django ports in r492690: Depend on Django 2.1, require python 3.5 or higher and add a conflict variable to the Django 1.x version of the port. Minor fix to pkg-descr and Makefile to pacify portlint while I was there. PR: 236681 Added: head/www/py-dj21-django-crispy-forms/ - copied from r496669, head/www/py-django-crispy-forms/ Modified: head/www/Makefile head/www/py-dj21-django-crispy-forms/Makefile head/www/py-dj21-django-crispy-forms/pkg-descr head/www/py-django-crispy-forms/Makefile head/www/py-django-crispy-forms/pkg-descr Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Mar 23 17:47:37 2019 (r496676) +++ head/www/Makefile Sat Mar 23 17:51:59 2019 (r496677) @@ -1513,6 +1513,7 @@ SUBDIR += py-cssutils SUBDIR += py-ddgr SUBDIR += py-dj21-django-cors-headers + SUBDIR += py-dj21-django-crispy-forms SUBDIR += py-dj21-django-debug-toolbar SUBDIR += py-dj21-django-filter SUBDIR += py-dj21-django-js-asset Modified: head/www/py-dj21-django-crispy-forms/Makefile ============================================================================== --- head/www/py-django-crispy-forms/Makefile Sat Mar 23 16:39:59 2019 (r496669) +++ head/www/py-dj21-django-crispy-forms/Makefile Sat Mar 23 17:51:59 2019 (r496677) @@ -1,22 +1,24 @@ -# Created by: Johannes Meixner <johannes@perceivon.net> # $FreeBSD$ PORTNAME= django-crispy-forms PORTVERSION= 1.7.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21- -MAINTAINER= sunpoet@FreeBSD.org +MAINTAINER= grembo@FreeBSD.org COMMENT= Best way to have Django DRY forms LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django21>0:www/py-django21@${PY_FLAVOR} -NO_ARCH= yes -USES= python +USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-crispy-forms .include <bsd.port.mk> Modified: head/www/py-dj21-django-crispy-forms/pkg-descr ============================================================================== --- head/www/py-django-crispy-forms/pkg-descr Sat Mar 23 16:39:59 2019 (r496669) +++ head/www/py-dj21-django-crispy-forms/pkg-descr Sat Mar 23 17:51:59 2019 (r496677) @@ -1,7 +1,7 @@ -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 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 Modified: head/www/py-django-crispy-forms/Makefile ============================================================================== --- head/www/py-django-crispy-forms/Makefile Sat Mar 23 17:47:37 2019 (r496676) +++ head/www/py-django-crispy-forms/Makefile Sat Mar 23 17:51:59 2019 (r496677) @@ -15,8 +15,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} -NO_ARCH= yes USES= python USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-crispy-forms .include <bsd.port.mk> Modified: head/www/py-django-crispy-forms/pkg-descr ============================================================================== --- head/www/py-django-crispy-forms/pkg-descr Sat Mar 23 17:47:37 2019 (r496676) +++ head/www/py-django-crispy-forms/pkg-descr Sat Mar 23 17:51:59 2019 (r496677) @@ -1,7 +1,7 @@ -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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903231751.x2NHpxFD025465>