svn commit: r419745 - in head/www: . py-boto3 py-boto3/files

Kubilay Kocak koobs at FreeBSD.org
Sat Aug 6 13:21:18 UTC 2016


Author: koobs
Date: Sat Aug  6 13:21:16 2016
New Revision: 419745
URL: https://svnweb.freebsd.org/changeset/ports/419745

Log:
  [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

Added:
  head/www/py-boto3/
  head/www/py-boto3/Makefile   (contents, props changed)
  head/www/py-boto3/distinfo   (contents, props changed)
  head/www/py-boto3/files/
  head/www/py-boto3/files/patch-setup.py   (contents, props changed)
  head/www/py-boto3/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Aug  6 13:13:12 2016	(r419744)
+++ head/www/Makefile	Sat Aug  6 13:21:16 2016	(r419745)
@@ -1482,6 +1482,7 @@
     SUBDIR += py-bjoern
     SUBDIR += py-bleach
     SUBDIR += py-blogofile
+    SUBDIR += py-boto3
     SUBDIR += py-bottle
     SUBDIR += py-bottle-cork
     SUBDIR += py-cachecontrol

Added: head/www/py-boto3/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-boto3/Makefile	Sat Aug  6 13:21:16 2016	(r419745)
@@ -0,0 +1,36 @@
+# Created by: Kubilay Kocak <koobs at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	boto3
+PORTVERSION=	1.4.0
+CATEGORIES=	www python devel
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs at 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 <bsd.port.mk>

Added: head/www/py-boto3/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-boto3/distinfo	Sat Aug  6 13:21:16 2016	(r419745)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470475306
+SHA256 (boto-boto3-1.4.0_GH0.tar.gz) = 8fdd3743e34a32e5cb8636fb33dafe7336b7a341583653f52c6c20f7fe764472
+SIZE (boto-boto3-1.4.0_GH0.tar.gz) = 183263

Added: head/www/py-boto3/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-boto3/files/patch-setup.py	Sat Aug  6 13:21:16 2016	(r419745)
@@ -0,0 +1,29 @@
+--- setup.py.orig	2016-08-03 00:15:58 UTC
++++ setup.py
+@@ -15,11 +15,14 @@ VERSION_RE = re.compile(r'''__version__ 
+ 
+ 
+ requires = [
+-    'botocore>=1.4.1,<1.5.0',
+-    'jmespath>=0.7.1,<1.0.0',
+-    's3transfer>=0.1.0,<0.2.0'
++    'botocore>=1.4.1',
++    'jmespath>=0.7.1',
++    's3transfer>=0.1.0'
+ ]
+ 
++tests_require = [
++    'nose',
++]
+ 
+ def get_version():
+     init = open(os.path.join(ROOT, 'boto3', '__init__.py')).read()
+@@ -43,6 +46,8 @@ setup(
+     },
+     include_package_data=True,
+     install_requires=requires,
++    tests_require=tests_require,
++    test_suite='nose.collector',
+     license="Apache License 2.0",
+     classifiers=[
+         'Development Status :: 5 - Production/Stable',

Added: head/www/py-boto3/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-boto3/pkg-descr	Sat Aug  6 13:21:16 2016	(r419745)
@@ -0,0 +1,7 @@
+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


More information about the svn-ports-head mailing list