diff options
author | Andrey Utkin <andrey_utkin@gentoo.org> | 2019-03-27 18:48:29 +0000 |
---|---|---|
committer | Andrey Utkin <andrey_utkin@gentoo.org> | 2019-03-27 20:59:40 +0000 |
commit | 9bd95e3eb00c301eb7e1b14751d541a467b52cc9 (patch) | |
tree | 3c646b7c7b8ef37591a4413fac57236717b3d759 /dev-python/s3transfer | |
parent | dev-python/boto3: add new version 1.9.122 (diff) | |
download | gentoo-9bd95e3eb00c301eb7e1b14751d541a467b52cc9.tar.gz gentoo-9bd95e3eb00c301eb7e1b14751d541a467b52cc9.tar.bz2 gentoo-9bd95e3eb00c301eb7e1b14751d541a467b52cc9.zip |
dev-python/s3transfer: add new version 0.2.0
Cloned from 0.1.3-r1, only changes being
* copyright line update,
* all stable keywords downgraded to testing.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'dev-python/s3transfer')
-rw-r--r-- | dev-python/s3transfer/Manifest | 1 | ||||
-rw-r--r-- | dev-python/s3transfer/s3transfer-0.2.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index a441809a39b3..3e1cfa8394d0 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1,2 +1,3 @@ DIST s3transfer-0.1.11.tar.gz 95555 BLAKE2B 404a058ad371161d2f7d44b3fdf835b6641e6f299ec3660b322afcbd0036860a658e641479f0214b67b6e96d1b652d2b2fd888bc84473e8827f907bdcc5c6477 SHA512 83b85dadb696df9dfcd28719ccadba8aa0e8f36b0fe4ce4f61dfe00460617bae74307cbe6ba924a8de86fe527e18a34d66acb72f7a3d9001e670d76dfc8b60a2 DIST s3transfer-0.1.13.tar.gz 103335 BLAKE2B bbc6e76647a9b531f0ef70912ddd17a186a5bbe4ecc9ed21de4674cdc20d39150be3212065bcdf6145c0721644c59d157fd528b79039bb091d750f28085bb476 SHA512 90aca5cacefa19cb8cb21b7b82c5f3383bc0478503557de9c2277db2f39d98f6e11ad74bf56ec84a1fc8c4a920337b0bcb34bfcf509a49f347144b7f13afb37c +DIST s3transfer-0.2.0.tar.gz 118361 BLAKE2B 0cb0a29e6dfa82762084396db1950a9e1baf4de1d9c8b9f0db3dbf1e274636f60a89ceb959d55cc22fe41c4ce175ab53f414c5c44f08624cc43f0d289f768863 SHA512 2e37a13da67cdabb49deeb177fd9f8d6393128e757e6c9bd93c99eb95a3edbd14736025e284f3173e8247d23239abae3700d894ba0d138f970ceaff748aa6e9e diff --git a/dev-python/s3transfer/s3transfer-0.2.0.ebuild b/dev-python/s3transfer/s3transfer-0.2.0.ebuild new file mode 100644 index 000000000000..0d4881796d60 --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.2.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 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}" +} |