1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/py-s3transfer/Makefile
Wen Heping a7792a488d - Update to 0.1.10
PR:		215405
Submitted by:	bradleythughes@fastmail.fm(maintainer)
2016-12-24 03:17:55 +00:00

37 lines
891 B
Makefile

# $FreeBSD$
PORTNAME= s3transfer
PORTVERSION= 0.1.10
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>