freebsd-ports/www/py-dj32-django-tables2/Makefile

28 lines
711 B
Makefile

PORTNAME= django-tables2
DISTVERSION= 2.4.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj32-
MAINTAINER= kai@FreeBSD.org
COMMENT= Table/data-grid framework for Django
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= distutils autoplist
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-tables2 \
${PYTHON_PKGNAMEPREFIX}django-tables2
NO_ARCH= yes
OPTIONS_DEFINE= TABLIB
TABLIB_DESC= Enable support for exporting table datasets
TABLIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR}
.include <bsd.port.mk>