1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/www/py-django-js-asset/Makefile
Kai Knoblich 68dbb932f9 Create some ports that are assigned to Django 2.1 instead Django 1.11.
Django 1.11 is currently the "default" version in the ports tree due its
long term support until April 2020 thus ports that are assigned to that
version will exist until then.

The following packages are required to make the upgrade of net-mgmt/netbox
to 2.5.x possible because upstream has decided to switch from Django 1.11
to Django 2.1:

* www/py-dj21-django-cors-headers
* www/py-dj21-django-debug-toolbar
* www/py-dj21-django-filter
* www/py-dj21-django-js-asset
* www/py-dj21-django-mptt
* www/py-dj21-django-tables2
* www/py-dj21-django-taggit
* www/py-dj21-django-timezone-field
* www/py-dj21-djangorestframework
* www/py-dj21-drf-yasg

Also limit the new ports to Python 3.5 and later to match the requirements
for Django 2.1 and to reduce some overhead in the building infrastructure.

Reviewed by:	miwi, tcberner (mentors)
Approved by:	miwi
Differential Revision:	https://reviews.freebsd.org/D19059
2019-02-11 12:00:30 +00:00

24 lines
533 B
Makefile

# $FreeBSD$
PORTNAME= django-js-asset
DISTVERSION= 1.1.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
COMMENT= Insert script tags with additional attributes for django.forms.Media
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-js-asset
.include <bsd.port.mk>