Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2021 08:21:13 +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: r560950 - head/devel/py-semantic-version
Message-ID:  <202101100821.10A8LDnH015186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan 10 08:21:13 2021
New Revision: 560950
URL: https://svnweb.freebsd.org/changeset/ports/560950

Log:
  Clean up Makefile after r559531 (USES=python:3.6+)

Modified:
  head/devel/py-semantic-version/Makefile

Modified: head/devel/py-semantic-version/Makefile
==============================================================================
--- head/devel/py-semantic-version/Makefile	Sun Jan 10 08:21:08 2021	(r560949)
+++ head/devel/py-semantic-version/Makefile	Sun Jan 10 08:21:13 2021	(r560950)
@@ -14,18 +14,14 @@ COMMENT=	Python library provides a few tools to handle
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=0:www/py-django22@${PY_FLAVOR}
+
 USES=		python:3.6+
 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.post.mk>
+.include <bsd.port.mk>



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