pentoo-overlay/app-misc/radexreader/radexreader-1.2.5.ebuild
Rick Farina (Zero_Chaos) 1be7fc1a1f
radexreader: 1.2.4->1.2.5
mv /usr/bin/{radexreader,radexreader-cli}
2025-03-04 20:20:51 -05:00

25 lines
712 B
Bash

# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} python3_13t)
DISTUTILS_USE_PEP517=setuptools
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"
S="${WORKDIR}/python-${P}/src"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="dev-python/pyserial
dev-python/pyusb
${PYTHON_DEPS}"
src_install() {
distutils-r1_src_install
newbin "${PN}-cli".py "${PN}-cli"
}