Install this version:
emerge -a =media-radio/lbgpsdo-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-radio/lbgpsdo-9999
Or alternatively:
emerge --autounmask-write -a =media-radio/lbgpsdo-9999
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
inherit python-single-r1 udev
DESCRIPTION="Configuration Utility for Leo Bodnar GPSDO"
HOMEPAGE="https://github.com/hamarituc/lbgpsdo"
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/hamarituc/${PN}"
else
SRC_URI="https://github.com/hamarituc/lbgpsdo/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
IUSE="examples"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/pyhidapi[${PYTHON_USEDEP}]
')
"
BDEPEND="${RDEPEND}"
RESTRICT="test"
DOCS=( README.md )
src_install() {
default
newbin lbgpsdo.py lbgpsdo
newbin lbe142x.py lbe142x
udev_dorules 99-lbgpsdo.rules
if use examples; then
insinto /usr/share/${PN}
doins -r examples
fi
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}
Manage flags for this package:
euse -i <flag> -p media-radio/lbgpsdo |
euse -E <flag> -p media-radio/lbgpsdo |
euse -D <flag> -p media-radio/lbgpsdo
$(python_gen_cond_dep ' dev-python/pyhidapi[] ')
$(python_gen_cond_dep ' dev-python/pyhidapi[] ')