freebsd-ports/www/py-dj31-django-tables2/Makefile
Kai Knoblich a0f4c73ff7 Create some ports that are assigned to Django 3.1 instead Django 2.2
* Django 2.2 is currently the "default" version in the ports tree due its
  long term support until April 2022.  Thus ports that are assigned to that
  version will exist until then.

  The following ports are required to make the upgrade of net-mgmt/netbox to
  the 2.9 release possible because it requires Django 3.1 and provides no
  backwards compatibility for previous versions of Django.

  - www/py-dj31-django-rq
      (copied from r539662 to use the 2.3.2 release for now)
  - www/py-dj31-django-auth-ldap
  - www/py-dj31-django-cacheops
  - www/py-dj31-django-cors-headers
  - www/py-dj31-django-debug-toolbar
  - www/py-dj21-django-filter
  - www/py-dj31-django-js-asset
  - www/py-dj31-django-mptt
  - www/py-dj31-django-prometheus
  - www/py-dj31-django-redis
  - www/py-dj31-django-tables2
  - www/py-dj31-django-taggit
  - www/py-dj31-django-timezone-field
  - www/py-dj31-djangorestframework
  - www/py-dj31-drf-yasg

* Also limit the new ports to Python 3.6+ due the requirements of Django 3.1
  and add/update the related CONFLICTS_INSTALL entries.

Reviewed by:	sunpoet
Differential Revision:	https://reviews.freebsd.org/D27083
2020-11-10 08:47:03 +00:00

31 lines
731 B
Makefile

# Created by: Kozlov Sergey <kozlov.sergey.404@gmail.com>
# $FreeBSD$
PORTNAME= django-tables2
DISTVERSION= 2.3.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31-
MAINTAINER= kai@FreeBSD.org
COMMENT= Table/data-grid framework for Django
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=0:www/py-django31@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
CONFLICTS_INSTALL= ${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>