mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
34b5309556
Sponsored by: Miles AS
32 lines
807 B
Makefile
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>
|