summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2022-09-04 17:26:32 -0400
committerRick Farina <zerochaos@gentoo.org>2022-09-04 17:30:01 -0400
commitc2c5a989cd56645605d39a132eb1b3817227ebbf (patch)
tree9a1cf566bc280ea50404dd7561a517904a9765c7 /net-wireless
parentdev-java/protobuf-java: update live ebuild (diff)
downloadgentoo-c2c5a989cd56645605d39a132eb1b3817227ebbf.tar.gz
gentoo-c2c5a989cd56645605d39a132eb1b3817227ebbf.tar.bz2
gentoo-c2c5a989cd56645605d39a132eb1b3817227ebbf.zip
net-wireless/gr-ieee802154: minor cleanup
remove stray pyc/pyo files Add missing dep This really should have been fine imho since gnuradio requires it, but it managed to fail to build for me due to dev-libs/spdlog missing somehow. Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r1.ebuild4
-rw-r--r--net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r1.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r1.ebuild
index 9954939ea34c..2e84883f202d 100644
--- a/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r1.ebuild
+++ b/net-wireless/gr-ieee802154/gr-ieee802154-0.0_p20210719-r1.ebuild
@@ -31,6 +31,7 @@ RDEPEND="net-wireless/gnuradio:0=[${PYTHON_SINGLE_USEDEP}]
sci-libs/volk:=
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
+ dev-libs/spdlog
dev-lang/swig:0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -54,5 +55,8 @@ src_configure() {
src_install() {
cmake_src_install
+ # Remove stray python files generated by the build system
+ find "${ED}" -name '*.pyc' -exec rm -f {} \; || die
+ find "${ED}" -name '*.pyo' -exec rm -f {} \; || die
python_optimize
}
diff --git a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
index 9954939ea34c..2e84883f202d 100644
--- a/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
+++ b/net-wireless/gr-ieee802154/gr-ieee802154-9999.ebuild
@@ -31,6 +31,7 @@ RDEPEND="net-wireless/gnuradio:0=[${PYTHON_SINGLE_USEDEP}]
sci-libs/volk:=
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
+ dev-libs/spdlog
dev-lang/swig:0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -54,5 +55,8 @@ src_configure() {
src_install() {
cmake_src_install
+ # Remove stray python files generated by the build system
+ find "${ED}" -name '*.pyc' -exec rm -f {} \; || die
+ find "${ED}" -name '*.pyo' -exec rm -f {} \; || die
python_optimize
}