x11-plugins/enigmail: Prepared live ebuild for beta releases.
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 12 Feb 2018 15:46:31 +0000 (16:46 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 12 Feb 2018 15:50:33 +0000 (16:50 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

x11-plugins/enigmail/enigmail-9999.ebuild

index ec95bc9fb44a53cedaa36a9e2dedf976c9e7acb3..66f465afa7c6e433fef1da65ec32c3097af3a8d1 100644 (file)
@@ -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