From f945f64dd446ca45b1fb4cb76377636664e02f54 Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Mon, 25 Dec 2017 15:56:53 +0000 Subject: [PATCH] dev-python/botocore: add live ebuild logic botocore is released very often - 1.8.0 to 1.8.20 in one month. So it makes sense to allow users to opt in to being up to date, free from ebuild bumps delay. Git master branch is always at latest release, so should be reasonably safe to use. Package-Manager: Portage-2.3.17, Repoman-2.3.6 --- dev-python/botocore/botocore-1.8.20.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-python/botocore/botocore-1.8.20.ebuild b/dev-python/botocore/botocore-1.8.20.ebuild index 9e2b1a14bd8e5..7f976cb95e55c 100644 --- a/dev-python/botocore/botocore-1.8.20.ebuild +++ b/dev-python/botocore/botocore-1.8.20.ebuild @@ -8,13 +8,18 @@ inherit distutils-r1 DESCRIPTION="Low-level, data-driven core of boto 3." HOMEPAGE="https://github.com/boto/botocore" -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="doc test" +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + RDEPEND=" >=dev-python/docutils-0.10[${PYTHON_USEDEP}] >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]