www/py-django-bootstrap3: Update to 15.0.0

* Add "do-test" target to make future QA easier.

Changelog:

* Drop support for Django 3.0
* Add support for Django 3.2.
* Fix render_alert
* Add docs and tests to sdist

MFH:		2021Q3
This commit is contained in:
Kai Knoblich 2021-07-07 13:07:49 +02:00
parent 3c88c6ce28
commit dbe3ced23d
2 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= django-bootstrap3
PORTVERSION= 14.2.0
PORTVERSION= 15.0.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -10,7 +10,7 @@ COMMENT= Bootstrap 3 support for Django projects
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2<4.0:www/py-django22@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
@ -23,4 +23,7 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.5.0:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
do-test:
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} manage.py test -v3 --noinput
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1611428430
SHA256 (django-bootstrap3-14.2.0.tar.gz) = 1fc3db37f29bcd159c0b00e1f15fd2d6dedf7551ce8bcca09072e33663c110de
SIZE (django-bootstrap3-14.2.0.tar.gz) = 19957
TIMESTAMP = 1624956739
SHA256 (django-bootstrap3-15.0.0.tar.gz) = f803efd5605046b8f467523dbe94653a4a8d6bcf97ad480b386ba5cf8f94fe6b
SIZE (django-bootstrap3-15.0.0.tar.gz) = 132313