Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2021 16:15:04 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: 076d37bff52d - 2021Q3 - www/py-dj31-django-taggit: Update to 1.5.1
Message-ID:  <202108101615.17AGF4mM007811@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=076d37bff52da9b209a211cec0e2f74ee08b0189

commit 076d37bff52da9b209a211cec0e2f74ee08b0189
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-08-10 15:18:21 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-08-10 16:13:28 +0000

    www/py-dj31-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 ca302be1beafa19e6e70575a8be02e0b086eb3cc)
---
 www/py-dj31-django-taggit/Makefile | 8 ++++++--
 www/py-dj31-django-taggit/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/www/py-dj31-django-taggit/Makefile b/www/py-dj31-django-taggit/Makefile
index 0d5543c813c6..e866daed1772 100644
--- a/www/py-dj31-django-taggit/Makefile
+++ b/www/py-dj31-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}dj31-
@@ -10,7 +10,8 @@ COMMENT=	Reusable Django application for simple tagging
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django31>=1.11:www/py-django31@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj31-djangorestframework>0:www/py-dj31-djangorestframework@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
@@ -18,4 +19,7 @@ USE_PYTHON=	autoplist distutils
 NO_ARCH=		yes
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}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-dj31-django-taggit/distinfo b/www/py-dj31-django-taggit/distinfo
index 20b280ff5e8f..4326d6431755 100644
--- a/www/py-dj31-django-taggit/distinfo
+++ b/www/py-dj31-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.17AGF4mM007811>