# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) inherit cmake python-single-r1 DESCRIPTION="Scopy IIO blocks for GNU Radio" HOMEPAGE="https://github.com/analogdevicesinc/gr-scopy" if [ "${PV}" = "9999" ]; then EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-scopy.git" inherit git-r3 else COMMIT="f48b45cabe2a81f491137dbc220032ea65f080c3" SRC_URI="https://github.com/analogdevicesinc/gr-scopy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-3+" SLOT="0" REQUIRED_USE=${PYTHON_REQUIRED_USE} RDEPEND="${PYTHON_DEPS} =net-wireless/gnuradio-3.8*:= sci-libs/volk:= dev-libs/log4cpp:= " DEPEND="${RDEPEND}" src_install() { cmake_src_install python_optimize }