commit:     8f08e293b5f5b951d0de6ae63c104c4dc91e4333
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 15:46:31 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Feb 12 15:50:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f08e293

x11-plugins/enigmail: Prepared live ebuild for beta releases.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 x11-plugins/enigmail/enigmail-9999.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/x11-plugins/enigmail/enigmail-9999.ebuild 
b/x11-plugins/enigmail/enigmail-9999.ebuild
index ec95bc9fb44..66f465afa7c 100644
--- a/x11-plugins/enigmail/enigmail-9999.ebuild
+++ b/x11-plugins/enigmail/enigmail-9999.ebuild
@@ -1,23 +1,28 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 PYTHON_COMPAT=( python2_7 )
 
-inherit git-r3 python-any-r1
+inherit python-any-r1
 
 DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
 HOMEPAGE="http://www.enigmail.net/";
 
-KEYWORDS=""
 SLOT="0"
 LICENSE="MPL-2.0 GPL-3"
 IUSE=""
 if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
        EGIT_REPO_URI="https://git.code.sf.net/p/enigmail/source";
        S="${WORKDIR}/${P}"
 else
-       SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz";
+       if [[ ${PV} = *_beta* ]] ; then
+               SRC_URI="http://www.enigmail.net/download/beta/${P/_/-}.tar.gz";
+       else
+               SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz";
+               KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+       fi
        S="${WORKDIR}/${PN}"
 fi
 

Reply via email to