sys-apps/onerng - 3.7-r1 (gentoo)

Search

Package Information

Description:
Software for the Open Hardware Random Number Generator called OneRNG
Homepage:
https://www.onerng.info/
License:
|| ( LGPL-2.1 LGPL-3 )

Ebuild Details

Version EAPI Keywords Slot
3.7-r1 8 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${P/-/_}"
PYTHON_COMPAT=( python3_{10..13} )

inherit python-single-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/${MY_P}.orig.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"

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-alternatives/gpg
	$(python_gen_cond_dep 'dev-python/python-gnupg[${PYTHON_USEDEP}]')
	sys-apps/rng-tools
	sys-process/at
"

pkg_postinst() {
	udev_reload
}

pkg_postrm() {
	udev_reload
}

Dependencies

DEPEND

virtual/udev

RDEPEND

	virtual/udev
	${PYTHON_DEPS}
	app-alternatives/gpg
	$(python_gen_cond_dep 'dev-python/python-gnupg[${PYTHON_USEDEP}]')
	sys-apps/rng-tools
	sys-process/at

BDEPEND

virtual/pkgconfig