Index: head/net/py-s3transfer/Makefile =================================================================== --- head/net/py-s3transfer/Makefile (revision 419739) +++ head/net/py-s3transfer/Makefile (revision 419740) @@ -1,26 +1,36 @@ # $FreeBSD$ PORTNAME= s3transfer -PORTVERSION= 0.0.1 +PORTVERSION= 0.1.1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bradleythughes@fastmail.fm 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 +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.3.3:devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock +#Actually -2.7,3.3-3.5 USES= python USE_PYTHON= autoplist distutils + NO_ARCH= yes .include .if ${PYTHON_REL} < 3000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>=2.2.0:devel/py-futures .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 Index: head/net/py-s3transfer/distinfo =================================================================== --- head/net/py-s3transfer/distinfo (revision 419739) +++ head/net/py-s3transfer/distinfo (revision 419740) @@ -1,2 +1,3 @@ -SHA256 (s3transfer-0.0.1.tar.gz) = 2bb9ed8db58af94dfa78f75f554d646dfe4b4741fc87f63a20c2bfb3f70f4355 -SIZE (s3transfer-0.0.1.tar.gz) = 9465 +TIMESTAMP = 1470477581 +SHA256 (s3transfer-0.1.1.tar.gz) = 6b9131b704819b0e559a97eec373ff6cc8a9b258e4c8f58ad339650b5019f00f +SIZE (s3transfer-0.1.1.tar.gz) = 82198 Index: head/net/py-s3transfer/files/patch-setup.py =================================================================== --- head/net/py-s3transfer/files/patch-setup.py (nonexistent) +++ head/net/py-s3transfer/files/patch-setup.py (revision 419740) @@ -0,0 +1,22 @@ +--- setup.py.orig 2016-08-06 10:02:48 UTC ++++ setup.py +@@ -14,6 +14,10 @@ requires = [ + 'botocore>=1.3.0,<2.0.0', + ] + ++tests_require = [ ++ 'nose>=1.3.3', ++ 'mock>=1.3.0', ++] + + if sys.version_info[0] == 2: + # concurrent.futures is only in python3, so for +@@ -41,6 +45,8 @@ setup( + ':python_version=="2.6" or python_version=="2.7"': [ + 'futures>=2.2.0,<4.0.0'] + }, ++ tests_require=tests_require, ++ test_suite='nose.collector', + license="Apache License 2.0", + classifiers=( + 'Development Status :: 1 - Planning', Property changes on: head/net/py-s3transfer/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property