Python 2 style byte-compiled modules e.g.: /usr/lib/python3.7/site-packages/osmosdr/__init__.pyc /usr/lib/python3.7/site-packages/osmosdr/__init__.pyo Extra gr-osmosdr directory inside doc directory (also using ${P} and not ${PF}, but no revision this time): /usr/share/doc/gr-osmosdr-0.2.0/gr-osmosdr/html/index.html Suggest: --- gr-osmosdr-0.2.0.ebuild +++ gr-osmosdr-0.2.0-r1.ebuild @@ -60,11 +60,18 @@ cmake-utils_src_configure } +src_prepare() { + cmake-utils_src_prepare + sed -i "s:\${GR_DOC_DIR}/\${CMAKE_PROJECT_NAME}:\${GR_DOC_DIR}/${PF}:" CMakeLists.txt || die +} + src_install() { cmake-utils_src_install if use python; then + # Remove incorrectly byte-compiled Python files and replace + # https://github.com/gnuradio/gnuradio/issues/2944 + find "${ED}"/usr/lib* -name "*.py[co]" -exec rm {} \; || die python_fix_shebang "${ED}"/usr/bin python_optimize fi - mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${P}" }
wow, thanks for the fixes. I missed those issues during testing (and my usage). fixed in 0.2.2