Update to 3.1.0

- Update RUN_DEPENDS: use Django 2.2
- Mark www/py-dj22-jsonfield as DEPRECATED

Changes:	https://github.com/rpkilby/jsonfield/blob/master/CHANGES.rst
PR:		246424
Submitted by:	kai
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-05-16 11:05:01 +00:00
parent 75291de760
commit 5fca2ae858
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535461
3 changed files with 8 additions and 10 deletions

View File

@ -13,6 +13,8 @@ COMMENT= Reusable JSONField model for Django to store validated JSON
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
DEPRECATED= Obsolete, please use www/py-jsonfield instead
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \
USES= python:3.6+

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= jsonfield
PORTVERSION= 2.1.1
PORTVERSION= 3.1.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,17 +13,13 @@ COMMENT= Reusable JSONField model for Django to store validated JSON
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \
USES= python
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-jsonfield
# jsonfield 3.0.0+ requires Django 2.2+
PORTSCOUT= limit:^2\.
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1581594058
SHA256 (jsonfield-2.1.1.tar.gz) = ed7c5e1829e9453e24a8bebef1e702ffe402e6def6b326f0e0b88764c59a6dc7
SIZE (jsonfield-2.1.1.tar.gz) = 9142
TIMESTAMP = 1589487673
SHA256 (jsonfield-3.1.0.tar.gz) = 7e4e84597de21eeaeeaaa7cc5da08c61c48a9b64d0c446b2d71255d01812887a
SIZE (jsonfield-3.1.0.tar.gz) = 14870