Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2021 16:15:03 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: bf927b82248a - 2021Q3 - www/py-django-taggit: Update to 1.5.1
Message-ID:  <202108101615.17AGF3tC007787@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bf927b82248a1248ed1289f240f454451122e01f

commit bf927b82248a1248ed1289f240f454451122e01f
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-08-10 15:15:37 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-08-10 16:13:06 +0000

    www/py-django-taggit: Update to 1.5.1
    
    * Add a "do-test" target to make future QA easier.
    
    Changelog since 1.3.0:
    
    https://github.com/jazzband/django-taggit/blob/1.5.1/CHANGELOG.rst
    
    MFH:            2021Q3
    (cherry picked from commit 2a61802fbd9a0563517335166ccacddd662a086b)
---
 www/py-django-taggit/Makefile | 10 +++++++---
 www/py-django-taggit/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/www/py-django-taggit/Makefile b/www/py-django-taggit/Makefile
index d3c464fe4e18..0d0f00a18fe7 100644
--- a/www/py-django-taggit/Makefile
+++ b/www/py-django-taggit/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	django-taggit
-PORTVERSION=	1.3.0
+PORTVERSION=	1.5.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +10,16 @@ COMMENT=	Reusable Django application for simple tagging
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}djangorestframework>0:www/py-djangorestframework@${PY_FLAVOR}
 
-USES=		python:3.5+
+USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=		yes
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-taggit
 
+do-test:
+	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m django test --settings=tests.settings -v3
+
 .include <bsd.port.mk>
diff --git a/www/py-django-taggit/distinfo b/www/py-django-taggit/distinfo
index 20b280ff5e8f..4326d6431755 100644
--- a/www/py-django-taggit/distinfo
+++ b/www/py-django-taggit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604143312
-SHA256 (django-taggit-1.3.0.tar.gz) = 4a833bf71f4c2deddd9745924eee53be1c075d7f0020a06f12e29fa3d752732d
-SIZE (django-taggit-1.3.0.tar.gz) = 46986
+TIMESTAMP = 1626793131
+SHA256 (django-taggit-1.5.1.tar.gz) = e5bb62891f458d55332e36a32e19c08d20142c43f74bc5656c803f8af25c084a
+SIZE (django-taggit-1.5.1.tar.gz) = 52766



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108101615.17AGF3tC007787>