diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/boto3/boto3-9999.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/boto3/boto3-9999.ebuild')
-rw-r--r-- | dev-python/boto3/boto3-9999.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-python/boto3/boto3-9999.ebuild b/dev-python/boto3/boto3-9999.ebuild index d996a7288df9..74bb826bd085 100644 --- a/dev-python/boto3/boto3-9999.ebuild +++ b/dev-python/boto3/boto3-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) DISTUTILS_USE_SETUPTOOLS=bdepend inherit distutils-r1 @@ -10,32 +10,33 @@ DESCRIPTION="The AWS SDK for Python" HOMEPAGE="https://github.com/boto/boto3" LICENSE="Apache-2.0" SLOT="0" -IUSE="test" 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 ~arm64 ~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-1.15.48[${PYTHON_USEDEP}] + >=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? ( ${RDEPEND} + test? ( dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] ) " -RESTRICT="!test? ( test )" - -distutils_enable_sphinx docs \ +distutils_enable_sphinx docs/source \ 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose python_prepare_all() { # don't lock versions to narrow ranges |