From d7b8873cd76551f70af43d1e3d2982342fbe9c5d Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sat, 6 Aug 2016 13:21:16 +0000 Subject: [NEW] www/py-boto3: AWS SDK for Python Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. You can find the latest, most up to date, documentation at Read the Docs, including a list of services that are supported. WWW: https://github.com/boto/boto3 --- www/py-boto3/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 www/py-boto3/Makefile (limited to 'www/py-boto3/Makefile') diff --git a/www/py-boto3/Makefile b/www/py-boto3/Makefile new file mode 100644 index 000000000000..9db0978af1c1 --- /dev/null +++ b/www/py-boto3/Makefile @@ -0,0 +1,36 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= boto3 +PORTVERSION= 1.4.0 +CATEGORIES= www python devel +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= AWS SDK for Python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.4.1:devel/py-botocore \ + ${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1:devel/py-jmespath \ + ${PYTHON_PKGNAMEPREFIX}s3transfer>=0.1.0:net/py-s3transfer +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock + +# Actually -2.7,3.3-3.5 +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +GH_ACCOUNT= boto + +NO_ARCH= yes + +# setup.py test runs integration tests which fail +# https://github.com/boto/s3transfer/issues/41 +# Note: this is an AWS python package wide issue +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests/unit tests/functional + +.include -- cgit v1.2.3