[Midnightbsd-cvs] mports [21975] trunk/net: add py-s3transfer

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 1 02:24:03 EDT 2016


Revision: 21975
          http://svnweb.midnightbsd.org/mports/?rev=21975
Author:   laffer1
Date:     2016-10-01 02:24:03 -0400 (Sat, 01 Oct 2016)
Log Message:
-----------
add py-s3transfer

Modified Paths:
--------------
    trunk/net/Makefile

Added Paths:
-----------
    trunk/net/py-s3transfer/
    trunk/net/py-s3transfer/Makefile
    trunk/net/py-s3transfer/distinfo
    trunk/net/py-s3transfer/files/
    trunk/net/py-s3transfer/files/patch-setup.py
    trunk/net/py-s3transfer/pkg-descr

Modified: trunk/net/Makefile
===================================================================
--- trunk/net/Makefile	2016-09-30 21:49:03 UTC (rev 21974)
+++ trunk/net/Makefile	2016-10-01 06:24:03 UTC (rev 21975)
@@ -112,6 +112,7 @@
 SUBDIR += py-ipaddress
 SUBDIR += py-oauth2
 SUBDIR += py-s3cmd
+SUBDIR += py-s3transfer
 SUBDIR += py-twitter
 SUBDIR += py-twitter-tools
 SUBDIR += qt4-network

Added: trunk/net/py-s3transfer/Makefile
===================================================================
--- trunk/net/py-s3transfer/Makefile	                        (rev 0)
+++ trunk/net/py-s3transfer/Makefile	2016-10-01 06:24:03 UTC (rev 21975)
@@ -0,0 +1,37 @@
+# $MidnightBSD$
+# $FreeBSD: head/net/py-s3transfer/Makefile 419740 2016-08-06 11:55:47Z koobs $
+
+PORTNAME=	s3transfer
+PORTVERSION=	0.1.1
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Amazon S3 Transfer Manager for Python
+
+LICENSE=	apache2
+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>


Property changes on: trunk/net/py-s3transfer/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/py-s3transfer/distinfo
===================================================================
--- trunk/net/py-s3transfer/distinfo	                        (rev 0)
+++ trunk/net/py-s3transfer/distinfo	2016-10-01 06:24:03 UTC (rev 21975)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470477581
+SHA256 (s3transfer-0.1.1.tar.gz) = 6b9131b704819b0e559a97eec373ff6cc8a9b258e4c8f58ad339650b5019f00f
+SIZE (s3transfer-0.1.1.tar.gz) = 82198


Property changes on: trunk/net/py-s3transfer/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/py-s3transfer/files/patch-setup.py
===================================================================
--- trunk/net/py-s3transfer/files/patch-setup.py	                        (rev 0)
+++ trunk/net/py-s3transfer/files/patch-setup.py	2016-10-01 06:24:03 UTC (rev 21975)
@@ -0,0 +1,22 @@
+--- setup.py.orig	2016-08-06 10:02:48 UTC
++++ setup.py
+@@ -14,6 +14,10 @@ requires = [
+     'botocore>=1.3.0,<2.0.0',
+ ]
+ 
++tests_require = [
++    'nose>=1.3.3',
++    'mock>=1.3.0',
++]
+ 
+ if sys.version_info[0] == 2:
+     # concurrent.futures is only in python3, so for
+@@ -41,6 +45,8 @@ setup(
+         ':python_version=="2.6" or python_version=="2.7"': [
+             'futures>=2.2.0,<4.0.0']
+     },
++    tests_require=tests_require,
++    test_suite='nose.collector',
+     license="Apache License 2.0",
+     classifiers=(
+         'Development Status :: 1 - Planning',


Property changes on: trunk/net/py-s3transfer/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/py-s3transfer/pkg-descr
===================================================================
--- trunk/net/py-s3transfer/pkg-descr	                        (rev 0)
+++ trunk/net/py-s3transfer/pkg-descr	2016-10-01 06:24:03 UTC (rev 21975)
@@ -0,0 +1,3 @@
+Amazon S3 Transfer Manager for Python.
+
+WWW: https://github.com/boto/s3transfer


Property changes on: trunk/net/py-s3transfer/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list