mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
www/py-django-tables2: Assign to Django 2.2
* Because Django 1.11 is End-of-Life since April 2020 thus switch over to Django 2.2 which is the current LTS release. * Set the minimum required Python version for Django 2.2 accordingly and bump PORTREVISION for changed dependencies. * Mark the repo-copied port www/py-dj22-django-tables2 as DEPRECATED because it's obsolete now. Don't set an expiration date yet as it's still used by net-mgmt/netbox and a few more Django 1.11 ports need to be assigned to Django 2.2 first. * Also update the CONFLICTS_INSTALL entries as the repo-copied port py-dj21-django-tables no longer exists in the Ports tree. PR: 245309
This commit is contained in:
parent
79cb331bb8
commit
4b8365703b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530865
@ -13,6 +13,8 @@ COMMENT= Table/data-grid framework for Django
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= Obsolete, please use www/py-django-tables2 instead
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=0:www/py-django22@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR}
|
||||
|
||||
@ -20,7 +22,6 @@ USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-tables2 \
|
||||
${PYTHON_PKGNAMEPREFIX}dj21-django-tables2
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-tables2
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= django-tables2
|
||||
DISTVERSION= 2.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -13,14 +14,13 @@ COMMENT= Table/data-grid framework for Django
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=0:www/py-django22@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.4+
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-tables2 \
|
||||
${PYTHON_PKGNAMEPREFIX}dj22-django-tables2
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-tables2
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user