commit:     7ca0774652eb979e4ed2bf6a6917187215adb6dd
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 02:29:34 2018 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 02:29:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca07746

app-admin/glance: 15.0.1 bup

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-admin/glance/Manifest                                  |  1 +
 .../{glance-2017.2.9999.ebuild => glance-15.0.1.ebuild}    | 14 ++++++++++----
 app-admin/glance/glance-2017.2.9999.ebuild                 | 14 ++++++++++----
 3 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/app-admin/glance/Manifest b/app-admin/glance/Manifest
index 0824f911194..7dcfed1c9ed 100644
--- a/app-admin/glance/Manifest
+++ b/app-admin/glance/Manifest
@@ -1 +1,2 @@
 DIST glance-15.0.0.tar.gz 1803491 BLAKE2B 
70e0f1f7eab6aa0066d16e30e9325ac45d9c0eb9df875e3b26e90463e10299d6c7c272c0b070137f27332bdfcb33abeda68e3375e2562c83942ca72fcb24de38
 SHA512 
beb5744f9e8b296356cb731c79f1efd7b60408c1282e8a64ab7d414929c447c4f2ff0562a0d59c0a05f828d420ba190946866543a37dbd2df73ae322cbcabab5
+DIST glance-15.0.1.tar.gz 1815463 BLAKE2B 
ec6e51340fc4d737e2bd777baf03163a0b515d19c1dc8e5203918e07b304a9539f47ba763207e26def985c6a384d21250ffe1386b433d8b606b55d3d70e4431a
 SHA512 
2da3ada256424a7817d0c49aac0940443cbefcfff3df77a623d7099badf356808b5df59f109ac233f84ac561b7310d3b8d53cafd6c9955a8e2b296a1655cedd3

diff --git a/app-admin/glance/glance-2017.2.9999.ebuild 
b/app-admin/glance/glance-15.0.1.ebuild
similarity index 95%
copy from app-admin/glance/glance-2017.2.9999.ebuild
copy to app-admin/glance/glance-15.0.1.ebuild
index 34a29aa8cf5..d1d9d7d3639 100644
--- a/app-admin/glance/glance-2017.2.9999.ebuild
+++ b/app-admin/glance/glance-15.0.1.ebuild
@@ -4,16 +4,22 @@
 EAPI=6
 PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
 
-inherit distutils-r1 git-r3 user
+inherit distutils-r1 user
 
 DESCRIPTION="Services for discovering, registering, and retrieving VM images"
 HOMEPAGE="https://launchpad.net/glance";
-EGIT_REPO_URI="https://github.com/openstack/glance.git";
-EGIT_BRANCH="stable/pike"
+
+if [[ ${PV} == *9999 ]];then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/openstack/glance.git";
+       EGIT_BRANCH="stable/pike"
+else
+       SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz";
+       KEYWORDS="~amd64 ~arm64 ~x86"
+fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS=""
 IUSE="doc mysql postgres +sqlite +swift"
 REQUIRED_USE="|| ( mysql postgres sqlite )"
 

diff --git a/app-admin/glance/glance-2017.2.9999.ebuild 
b/app-admin/glance/glance-2017.2.9999.ebuild
index 34a29aa8cf5..d1d9d7d3639 100644
--- a/app-admin/glance/glance-2017.2.9999.ebuild
+++ b/app-admin/glance/glance-2017.2.9999.ebuild
@@ -4,16 +4,22 @@
 EAPI=6
 PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
 
-inherit distutils-r1 git-r3 user
+inherit distutils-r1 user
 
 DESCRIPTION="Services for discovering, registering, and retrieving VM images"
 HOMEPAGE="https://launchpad.net/glance";
-EGIT_REPO_URI="https://github.com/openstack/glance.git";
-EGIT_BRANCH="stable/pike"
+
+if [[ ${PV} == *9999 ]];then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/openstack/glance.git";
+       EGIT_BRANCH="stable/pike"
+else
+       SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz";
+       KEYWORDS="~amd64 ~arm64 ~x86"
+fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS=""
 IUSE="doc mysql postgres +sqlite +swift"
 REQUIRED_USE="|| ( mysql postgres sqlite )"
 

Reply via email to