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
25 lines
575 B
Makefile
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>
|