bump s3transfer-0.2.0
This commit is contained in:
4
dev-python/s3transfer/Manifest
Normal file
4
dev-python/s3transfer/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX s3transfer-0.1.13-tests.patch 753 BLAKE2B 7b168d35c9287eade9b9e1ca0393c625f742d1a698df9996f9ddbe6cb892128badb3a77dc9804e3bc9905d0982f240c3dd5021459e3d050a7647e279efd93491 SHA512 3fd66ae7574ee5263582006292a19a782aa3c2d4ebef00e005b02d1cb5192a99c36325114e49aa13ddc2fa1cb8604f65f87dcac8994b2845eaa45b409a5b8ff6
|
||||
DIST s3transfer-0.2.0.tar.gz 118361 BLAKE2B 0cb0a29e6dfa82762084396db1950a9e1baf4de1d9c8b9f0db3dbf1e274636f60a89ceb959d55cc22fe41c4ce175ab53f414c5c44f08624cc43f0d289f768863 SHA512 2e37a13da67cdabb49deeb177fd9f8d6393128e757e6c9bd93c99eb95a3edbd14736025e284f3173e8247d23239abae3700d894ba0d138f970ceaff748aa6e9e
|
||||
EBUILD s3transfer-0.2.0.ebuild 954 BLAKE2B eb675e75b181a4fc8508fef4344395b413c8e628af57cc312f0506255d496e5d33556e79c905e0278448409ba75157397b9dc4c19749113da658dca2cd7ebf54 SHA512 5271d309ab5c39581e7562c389a5ef3d94a6452b0e6a643011c9d5b64bceb565b6ab692a456da9ae2347438b5181ac395ee96385aa587424dafe47d8e0ae7f14
|
||||
MISC metadata.xml 379 BLAKE2B 71ab13315921746f0b71ac09c3f7a5e4e182e4efc0dda7f0e9cd6fe2948f52eddde9b9fe7c117ced64f4e3f6646a2d15a1fd3630ab814b067a10dadd11448def SHA512 452e566006f5a6ec91765cdeb4fe75edbf890f3a8e495bca7d1db859a882109eecb252dca18f1d1e4dc970c62c7810b5e51cf1b5ab61553c76d4dc04e38bc5ee
|
||||
22
dev-python/s3transfer/files/s3transfer-0.1.13-tests.patch
Normal file
22
dev-python/s3transfer/files/s3transfer-0.1.13-tests.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 67d2548f9e531650ee90e9518cf6559aabe98afd Mon Sep 17 00:00:00 2001
|
||||
From: Jordan Guymon <jogu.sd@gmail.com>
|
||||
Date: Fri, 31 Aug 2018 10:22:25 -0700
|
||||
Subject: [PATCH] Add whence to mock readable seek to fix functional test
|
||||
|
||||
---
|
||||
tests/functional/test_manager.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/functional/test_manager.py b/tests/functional/test_manager.py
|
||||
index 9d5702d..ec4175a 100644
|
||||
--- a/tests/functional/test_manager.py
|
||||
+++ b/tests/functional/test_manager.py
|
||||
@@ -40,7 +40,7 @@ def signal_transferring(self):
|
||||
def signal_not_transferring(self):
|
||||
self.signal_not_transferring_call_count += 1
|
||||
|
||||
- def seek(self, where):
|
||||
+ def seek(self, where, whence=0):
|
||||
pass
|
||||
|
||||
def tell(self):
|
||||
12
dev-python/s3transfer/metadata.xml
Normal file
12
dev-python/s3transfer/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrey_utkin@gentoo.org</email>
|
||||
<name>Andrey Utkin</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">boto/s3transfer</remote-id>
|
||||
<remote-id type="pypi">s3transfer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
36
dev-python/s3transfer/s3transfer-0.2.0.ebuild
Normal file
36
dev-python/s3transfer/s3transfer-0.2.0.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 python3_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An Amazon S3 Transfer Manager"
|
||||
HOMEPAGE="https://github.com/boto/s3transfer"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2_7')
|
||||
"
|
||||
# Pin mock to 1.3.0 if testing failures due to mock occur.
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/s3transfer-0.1.13-tests.patch" )
|
||||
python_test() {
|
||||
nosetests -v tests/unit/ tests/functional/ || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user