diff options
-rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.18.50.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0267c534e2a6..22837fa242f1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -9,3 +9,4 @@ DIST boto3-1.18.46.tar.gz 420373 BLAKE2B 9e354e4ba7b7361734dbfd0ef6296fa2f0c2dea DIST boto3-1.18.47.tar.gz 420701 BLAKE2B e58f528d876a29cd992a414e84a807a4fefdeb14b37e0c520f677d61270acd2bd534bd49ccb571d21f41a210946a1897f324a1c41a7e5fd9fe86a8689bc835da SHA512 67075c3d25a99bb3bda44f5108004a672b7f52f00f945f7643063d8c435854d14ffdc98d88d48e80caef850e4d765a7a9a894410398c56518a5cd30e32a7e481 DIST boto3-1.18.48.tar.gz 420028 BLAKE2B d6bbf60141f2806519bdd0f4f364698ac7ab6e8a3987771df184ecfa69a43b235a9a21fb128d8f39d2015065d69ecd1e86978465223b220464044640f50d11ad SHA512 f0ef373396ad44e28f8707455ea16951bc4df23958734123ffcdca3efc1e668816b093d0a361a27286f19f129d02390fa36f196c5df0f589c05dc8b839d157bc DIST boto3-1.18.49.tar.gz 420662 BLAKE2B 92995cd06f19e26200ea51e6d171914ddbb20b860b286b34cf97ffc6c9ee4f29b59073d84cc7d99b2cd5349bbaff03ac004431ae2cf65af571044c6c52634f55 SHA512 4d94e11b974857709dc7907bd31a3eab087eafff3938286803d4d1bc850d90e4dd82be747a3a9c4725bb15e3670a12c8bd239a98df23198c498519d196279dc0 +DIST boto3-1.18.50.tar.gz 420875 BLAKE2B 22bfcf6ffb6ae87bf45a907f50998f8a04555fccf5e327037c4127f31ea097bf497ad63d08875f10de91a19e9bc53a022caf37af6badf00c424f4e84882fa35c SHA512 25d524e7a96e6f9020dab689536b012a3c708fd03898240e8186df1c89dd049bb627488706abb687173e4d692c85d5258468c903319614f0854d3a4cfab5ac2e diff --git a/dev-python/boto3/boto3-1.18.50.ebuild b/dev-python/boto3/boto3-1.18.50.ebuild new file mode 100644 index 000000000000..450c87d9f8b7 --- /dev/null +++ b/dev-python/boto3/boto3-1.18.50.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} |