From owner-svn-ports-all@freebsd.org Sat Mar 23 17:52:01 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EB671557AAE; Sat, 23 Mar 2019 17:52:01 +0000 (UTC) (envelope-from grembo@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B093737E3; Sat, 23 Mar 2019 17:52:01 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E91FCBE72; Sat, 23 Mar 2019 17:52:00 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2NHq0Uw025477; Sat, 23 Mar 2019 17:52:00 GMT (envelope-from grembo@FreeBSD.org) Received: (from grembo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2NHpxFD025465; Sat, 23 Mar 2019 17:51:59 GMT (envelope-from grembo@FreeBSD.org) Message-Id: <201903231751.x2NHpxFD025465@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: grembo set sender to grembo@FreeBSD.org using -f From: Michael Gmelin Date: Sat, 23 Mar 2019 17:51:59 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: grembo X-SVN-Commit-Paths: in head/www: . py-dj21-django-crispy-forms py-django-crispy-forms X-SVN-Commit-Revision: 496677 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1B093737E3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.953,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Mar 2019 17:52:01 -0000 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 # $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 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 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