commit:     bbae26277dd01e34f6b6cf2bd0f2902a69132d92
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 15:00:45 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 15:00:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbae2627

dev-python/pyGPG: Add py3.7

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/pyGPG/pyGPG-0.2.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/dev-python/pyGPG/pyGPG-0.2.ebuild 
b/dev-python/pyGPG/pyGPG-0.2.ebuild
index a6a797b30f4..e3d575a7cd7 100644
--- a/dev-python/pyGPG/pyGPG-0.2.ebuild
+++ b/dev-python/pyGPG/pyGPG-0.2.ebuild
@@ -1,24 +1,28 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
-PYTHON_COMPAT=(python{2_7,3_5,3_6})
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 
 inherit distutils-r1
 
-EGIT_REPO_URI="https://github.com/dol-sen/pyGPG.git";
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/dol-sen/pyGPG.git";
+       EGIT_BRANCH="master"
+else
+       SRC_URI="https://dev.gentoo.org/~dolsen/releases/pyGPG/${P}.tar.gz";
+       KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc 
x86"
+fi
 
 DESCRIPTION="A python interface wrapper for gnupg's gpg command"
 HOMEPAGE="https://github.com/dol-sen/pyGPG";
-SRC_URI="https://dev.gentoo.org/~dolsen/releases/pyGPG/${P}.tar.gz";
 
 LICENSE="BSD"
 SLOT="0"
 IUSE=""
 
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
-
 DEPEND=""
 RDEPEND="${DEPEND}
        app-crypt/gnupg

Reply via email to