svn commit: r560950 - head/devel/py-semantic-version

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jan 10 08:21:20 UTC 2021


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>


More information about the svn-ports-all mailing list