mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
radexreader: not reliable, but it does work
This commit is contained in:
parent
549b4a0f05
commit
208687cc97
2 changed files with 29 additions and 0 deletions
1
app-misc/radexreader/Manifest
Normal file
1
app-misc/radexreader/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST radexreader-1.2.1.tar.gz 102093 BLAKE2B a652c2974dafbcf997a97f8ed50d9dfb2833f77a9ac82890d05180834297ab87b1e7414235747a0fd1c4de4518274db056398c202cf5aff31e4c32c53e1e7ff5 SHA512 f459326d1bc22ca274e1ee6b88f9e8199f037e938bd8f51e1a0143f06faa3a0ded49c583697f62ea1e8435f8fc59c59e8d8893e12692a3097fd7fe824ae08f8e
|
||||
28
app-misc/radexreader/radexreader-1.2.1.ebuild
Normal file
28
app-misc/radexreader/radexreader-1.2.1.ebuild
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..11})
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Reader for the RADEX RD1212 and the RADEX ONE Geiger counters"
|
||||
HOMEPAGE="https://github.com/luigifab/python-radexreader"
|
||||
SRC_URI="https://github.com/luigifab/python-radexreader/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pyserial
|
||||
dev-python/pyusb
|
||||
${PYTHON_DEPS}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/python-${P}/src"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newbin "${PN}".py "${PN}"
|
||||
}
|
||||
Loading…
Reference in a new issue