Date: Wed, 24 Jun 2020 17:59:44 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540336 - head/devel/py-semantic_version Message-ID: <202006241759.05OHxiPC025766@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed Jun 24 17:59:44 2020 New Revision: 540336 URL: https://svnweb.freebsd.org/changeset/ports/540336 Log: Update TEST_DEPENDS: use Django 2.2 PR: 247116 Submitted by: kai Modified: head/devel/py-semantic_version/Makefile Modified: head/devel/py-semantic_version/Makefile ============================================================================== --- head/devel/py-semantic_version/Makefile Wed Jun 24 17:59:38 2020 (r540335) +++ head/devel/py-semantic_version/Makefile Wed Jun 24 17:59:44 2020 (r540336) @@ -13,14 +13,18 @@ COMMENT= Python library provides a few tools to handle LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR} - USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 3500 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}django22>=0:www/py-django22@${PY_FLAVOR} + do-test: @(cd ${TEST_WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006241759.05OHxiPC025766>