Update to 4.0.0

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

Changes:	https://github.com/rpkilby/jsonfield2/blob/master/CHANGES.rst
PR:		245901
Submitted by:	kai
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-05-16 11:04:50 +00:00
parent 1775fbce16
commit 2a95210b61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535459
3 changed files with 9 additions and 12 deletions

View File

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

View File

@ -2,8 +2,9 @@
# $FreeBSD$
PORTNAME= jsonfield2
PORTVERSION= 3.0.3
PORTVERSION= 4.0.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
@ -12,19 +13,13 @@ COMMENT= Reusable Django field to store validated JSON in your model
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR}
USES= python:3.5+
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-jsonfield2
# jsonfield2 3.1.0+ requires Django 2.2+
PORTSCOUT= limit:^3\.0\.
GH_ACCOUNT= rpkilby
USE_GITHUB= yes
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1571923614
SHA256 (rpkilby-jsonfield2-3.0.3_GH0.tar.gz) = 4b79ac28738671fe27cadbd537d50130c35a286207d31d8320c7b48b6cda36ca
SIZE (rpkilby-jsonfield2-3.0.3_GH0.tar.gz) = 11068
TIMESTAMP = 1589487671
SHA256 (jsonfield2-4.0.0.tar.gz) = 7bd43edd85d203ad6edb0ecb39870a1c7a4fadaf7e807b0feeca3da64b086b5d
SIZE (jsonfield2-4.0.0.tar.gz) = 12684