summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-08-14 00:09:08 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-14 00:14:15 +0200
commit79bb9013fadfd30e7b762723672fcba85eb97d44 (patch)
treeb4dbbde8dcd636851ab9f0f38c8d2808d763eb05 /sys-apps/onerng
parentapp-office/libreoffice-l10n: Drop 6.0.5.2 (diff)
downloadgentoo-79bb9013fadfd30e7b762723672fcba85eb97d44.tar.gz
gentoo-79bb9013fadfd30e7b762723672fcba85eb97d44.tar.bz2
gentoo-79bb9013fadfd30e7b762723672fcba85eb97d44.zip
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
Diffstat (limited to 'sys-apps/onerng')
-rw-r--r--sys-apps/onerng/onerng-3.6.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/onerng/onerng-3.6.ebuild b/sys-apps/onerng/onerng-3.6.ebuild
index 811776a17c32..5b765073d1ac 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