diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2019-07-21 00:37:26 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-07-21 08:40:02 +0200 |
commit | 228dc766008cce3b539ae74e8760f29dc6b6bb99 (patch) | |
tree | 0378188a2943c66f3b27bd95385413ade04119ec /sys-apps/onerng/onerng-3.6-r2.ebuild | |
parent | dev-util/scons: Bump to 3.1.0 (diff) | |
download | gentoo-228dc766008cce3b539ae74e8760f29dc6b6bb99.tar.gz gentoo-228dc766008cce3b539ae74e8760f29dc6b6bb99.tar.bz2 gentoo-228dc766008cce3b539ae74e8760f29dc6b6bb99.zip |
sys-apps/onerng: fix CI python warnings
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/12483
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/onerng/onerng-3.6-r2.ebuild')
-rw-r--r-- | sys-apps/onerng/onerng-3.6-r2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/onerng/onerng-3.6-r2.ebuild b/sys-apps/onerng/onerng-3.6-r2.ebuild new file mode 100644 index 000000000000..36fc8bc0583b --- /dev/null +++ b/sys-apps/onerng/onerng-3.6-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit python-r1 udev + +MY_P="${P/-/_}" + +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/${MY_P}.orig.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( LGPL-2.1 LGPL-3 )" +SLOT="0" +KEYWORDS="amd64 x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND="virtual/pkgconfig" + +DEPEND="virtual/udev" + +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-crypt/gnupg + dev-python/python-gnupg[${PYTHON_USEDEP}] + sys-apps/rng-tools + sys-process/at +" + +S="${WORKDIR}/${MY_P}" + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |