1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/py-s3transfer/Makefile
Bradley T. Hughes 34b5309556 net/py-s3transfer: Update 0.2.0 -> 0.2.1
Sponsored by:	Miles AS
2019-06-25 21:35:05 +00:00

32 lines
807 B
Makefile

# $FreeBSD$
PORTNAME= s3transfer
PORTVERSION= 0.2.1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bhughes@FreeBSD.org
COMMENT= Amazon S3 Transfer Manager for Python
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.12.36:devel/py-botocore@${PY_FLAVOR} \
${PY_FUTURES}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.3.3:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock@${PY_FLAVOR}
#Actually -2.7,3.3-3.5
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
# 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.mk>