Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/onerng/
Date: Thu, 20 Feb 2020 18:26:18
Message-Id: 1582223101.ec229546dc0359ffb92b6b77cd67fae2acf38199.conikost@gentoo
1 commit: ec229546dc0359ffb92b6b77cd67fae2acf38199
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 20 18:24:34 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 20 18:25:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec229546
7
8 sys-apps/onerng: switch to python-single-r1 eclass
9
10 Closes: https://bugs.gentoo.org/710256
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 sys-apps/onerng/onerng-3.6-r3.ebuild | 42 ++++++++++++++++++++++++++++++++++++
15 1 file changed, 42 insertions(+)
16
17 diff --git a/sys-apps/onerng/onerng-3.6-r3.ebuild b/sys-apps/onerng/onerng-3.6-r3.ebuild
18 new file mode 100644
19 index 00000000000..3ec2cfa3ec6
20 --- /dev/null
21 +++ b/sys-apps/onerng/onerng-3.6-r3.ebuild
22 @@ -0,0 +1,42 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +PYTHON_COMPAT=( python3_{6,7,8} )
29 +
30 +inherit python-single-r1 udev
31 +
32 +MY_P="${P/-/_}"
33 +
34 +DESCRIPTION="Software for the Open Hardware Random Number Generator called OneRNG"
35 +HOMEPAGE="https://www.onerng.info/"
36 +SRC_URI="https://github.com/OneRNG/onerng.github.io/raw/master/sw/${MY_P}.orig.tar.gz -> ${P}.tar.gz"
37 +
38 +LICENSE="|| ( LGPL-2.1 LGPL-3 )"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86"
41 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
42 +
43 +BDEPEND="virtual/pkgconfig"
44 +
45 +DEPEND="virtual/udev"
46 +
47 +RDEPEND="
48 + ${DEPEND}
49 + ${PYTHON_DEPS}
50 + app-crypt/gnupg
51 + $(python_gen_cond_dep 'dev-python/python-gnupg[${PYTHON_MULTI_USEDEP}]')
52 + sys-apps/rng-tools
53 + sys-process/at
54 +"
55 +
56 +S="${WORKDIR}/${MY_P}"
57 +
58 +pkg_postinst() {
59 + udev_reload
60 +}
61 +
62 +pkg_postrm() {
63 + udev_reload
64 +}