commit:     79bb9013fadfd30e7b762723672fcba85eb97d44
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Mon Aug 13 22:09:08 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 13 22:14:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79bb9013

sys-apps/onerng: add python3.7 support

Closes: https://bugs.gentoo.org/663492
Closes: https://github.com/gentoo/gentoo/pull/9561
Package-Manager: Portage-2.3.45, Repoman-2.3.10

 sys-apps/onerng/onerng-3.6.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/onerng/onerng-3.6.ebuild 
b/sys-apps/onerng/onerng-3.6.ebuild
index 811776a17c3..5b765073d1a 100644
--- a/sys-apps/onerng/onerng-3.6.ebuild
+++ b/sys-apps/onerng/onerng-3.6.ebuild
@@ -3,13 +3,14 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+MY_P="${PN}_${PV}"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
 
 inherit python-r1 udev
 
 DESCRIPTION="Software for the Open Hardware Random Number Generator called 
OneRNG"
 HOMEPAGE="https://www.onerng.info/";
-SRC_URI="https://github.com/OneRNG/onerng.github.io/raw/master/sw/${PN}_${PV}.orig.tar.gz
 -> ${P}.tar.gz"
+SRC_URI="https://github.com/OneRNG/onerng.github.io/raw/master/sw/${MY_P}.orig.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="|| ( LGPL-2.1 LGPL-3 )"
 SLOT="0"
@@ -24,7 +25,7 @@ RDEPEND="app-crypt/gnupg
 DEPEND="virtual/pkgconfig
        virtual/udev"
 
-S="${WORKDIR}/${PN}_${PV}"
+S="${WORKDIR}/${MY_P}"
 
 pkg_postinst() {
        udev_reload

Reply via email to