1 |
commit: b4e8a00419e73619b40a16662ad02b9a8f6c9f59 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 6 12:35:40 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 6 12:37:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e8a004 |
7 |
|
8 |
sys-apps/onerng: add 3.7 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
sys-apps/onerng/Manifest | 1 + |
13 |
sys-apps/onerng/onerng-3.7.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/onerng/Manifest b/sys-apps/onerng/Manifest |
17 |
index 44cc68c1624c..a4c9e6a26280 100644 |
18 |
--- a/sys-apps/onerng/Manifest |
19 |
+++ b/sys-apps/onerng/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST onerng-3.6.tar.gz 108126 BLAKE2B 717fc2b795aa991fdca28e2032da0a7729c487cb684361799421f806f60ae4cb70e8d29cd72de2eec9bdf38e4bf1d530261fc19bfbee6e95360a7648b8a45858 SHA512 d2f2bceb458e1441c4321526e5477ecb26df9f84e8554df723b97c3f09ad4c04149ac844bb88a182abf5350566cd5762c35137ba3c6b71685671a69ba12ccc58 |
22 |
+DIST onerng-3.7.tar.gz 133016 BLAKE2B 8bae3f51baf3526e68070856d216de9e99064e8a728942fd4b926495ae34f3021ae3c99c8b5e4ea73dacdf8fa870cba67e1d3e94f5a3f0acddef0e48c02111e4 SHA512 6150787fc8415c7aaa13d6e98c3dc72e9160308eb912d97b7c9f59c6d4f5a9612917a7ff34084ba52a80e0aac6c65dd29653dd3bd211bd261fb89273f02be830 |
23 |
|
24 |
diff --git a/sys-apps/onerng/onerng-3.7.ebuild b/sys-apps/onerng/onerng-3.7.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..e8aa548f36d0 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/onerng/onerng-3.7.ebuild |
29 |
@@ -0,0 +1,40 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+MY_P="${P/-/_}" |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit python-single-r1 udev |
39 |
+ |
40 |
+DESCRIPTION="Software for the Open Hardware Random Number Generator called OneRNG" |
41 |
+HOMEPAGE="https://www.onerng.info/" |
42 |
+SRC_URI="https://github.com/OneRNG/onerng.github.io/raw/master/sw/${MY_P}.orig.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/${MY_P}" |
44 |
+ |
45 |
+LICENSE="|| ( LGPL-2.1 LGPL-3 )" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
+ |
50 |
+BDEPEND="virtual/pkgconfig" |
51 |
+ |
52 |
+DEPEND="virtual/udev" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ ${DEPEND} |
56 |
+ ${PYTHON_DEPS} |
57 |
+ app-crypt/gnupg |
58 |
+ $(python_gen_cond_dep 'dev-python/python-gnupg[${PYTHON_USEDEP}]') |
59 |
+ sys-apps/rng-tools |
60 |
+ sys-process/at |
61 |
+" |
62 |
+ |
63 |
+pkg_postinst() { |
64 |
+ udev_reload |
65 |
+} |
66 |
+ |
67 |
+pkg_postrm() { |
68 |
+ udev_reload |
69 |
+} |