freebsd-ports/www/py-django-crispy-forms/Makefile
Michael Gmelin 04f729f610 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
2019-03-23 17:51:59 +00:00

25 lines
575 B
Makefile

# 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}
MAINTAINER= sunpoet@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}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-crispy-forms
.include <bsd.port.mk>