Date: Sat, 10 Feb 2018 19:59:01 +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: r461423 - head/net/py-s3transfer Message-ID: <201802101959.w1AJx1xb094607@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Feb 10 19:59:01 2018 New Revision: 461423 URL: https://svnweb.freebsd.org/changeset/ports/461423 Log: Simplify Makefile: use PY_FUTURES With hat: python Modified: head/net/py-s3transfer/Makefile Modified: head/net/py-s3transfer/Makefile ============================================================================== --- head/net/py-s3transfer/Makefile Sat Feb 10 19:58:56 2018 (r461422) +++ head/net/py-s3transfer/Makefile Sat Feb 10 19:59:01 2018 (r461423) @@ -12,7 +12,8 @@ COMMENT= Amazon S3 Transfer Manager for Python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.3.0:devel/py-botocore@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.3.0:devel/py-botocore@${FLAVOR} \ + ${PY_FUTURES} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.3.3:devel/py-nose@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock@${FLAVOR} @@ -22,15 +23,9 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 3000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>=2.2.0:devel/py-futures@${FLAVOR} -.endif - # setup.py test runs integration tests which fail # https://github.com/boto/s3transfer/issues/41 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests/unit tests/functional -.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?201802101959.w1AJx1xb094607>