media-radio/lbgpsdo - 1.2.1 (hamari)

Search

Package Information

Description:
Configuration Utility for Leo Bodnar GPSDO
Homepage:
https://github.com/hamarituc/lbgpsdo

Ebuild Details

Version EAPI Keywords Slot
1.2.1 8 amd64 x86 0
View Raw Ebuild
# 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

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

	if use examples; then
		insinto /usr/share/${PN}
		doins -r examples
	fi
}

USE Flags

Dependencies

RDEPEND

	${PYTHON_DEPS}
	$(python_gen_cond_dep '
		dev-python/pyhidapi[${PYTHON_USEDEP}]
	')

BDEPEND

	${PYTHON_DEPS}
	$(python_gen_cond_dep '
		dev-python/pyhidapi[${PYTHON_USEDEP}]
	')

Manifest for 1.2.1

Type File Size Source URLs
DIST lbgpsdo-1.2.1.gh.tar.gz 26109 bytes https://github.com/hamarituc/lbgpsdo/archive/refs/tags/v1.2.1.tar.gz