commit:     27b2b1c79bb7c3b963f5e3c3357264ac95d23169
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 23:51:46 2017 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 02:04:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b2b1c7

dev-python/boto3: add live ebuild logic

Preparing to add 9999 boto3 ebuild due to high release frequency of
botocore and boto3.

Removed upper limit of botocore version requirement to allow -9999.

Package-Manager: Portage-2.3.17, Repoman-2.3.6

 dev-python/boto3/boto3-1.5.6.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-python/boto3/boto3-1.5.6.ebuild 
b/dev-python/boto3/boto3-1.5.6.ebuild
index e5e0c5c1a65..837af95fa1e 100644
--- a/dev-python/boto3/boto3-1.5.6.ebuild
+++ b/dev-python/boto3/boto3-1.5.6.ebuild
@@ -8,16 +8,20 @@ inherit distutils-r1 vcs-snapshot
 
 DESCRIPTION="The AWS SDK for Python"
 HOMEPAGE="https://github.com/boto/boto3";
-SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/boto/boto3";
+       inherit git-r3
+else
+       SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
 RDEPEND="
        >=dev-python/botocore-1.8.20[${PYTHON_USEDEP}]
-       <dev-python/botocore-1.9.0[${PYTHON_USEDEP}]
        >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
        <dev-python/jmespath-1.0.0[${PYTHON_USEDEP}]
        >=dev-python/s3transfer-0.1.10[${PYTHON_USEDEP}]

Reply via email to