summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2023-02-26 20:00:49 +0100
committerSven Wegener <swegener@gentoo.org>2023-02-26 21:03:03 +0100
commit7ba4565c21df8aa4b95c8a5f9c75d2a6f5a5d462 (patch)
tree5ba8f8c00d84b67a131b8245306161b5802ecf77 /sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
parentsci-libs/libsigrokdecode: enable py3.11 (diff)
downloadgentoo-7ba4565c21df8aa4b95c8a5f9c75d2a6f5a5d462.tar.gz
gentoo-7ba4565c21df8aa4b95c8a5f9c75d2a6f5a5d462.tar.bz2
gentoo-7ba4565c21df8aa4b95c8a5f9c75d2a6f5a5d462.zip
sci-libs/libsigrokdecode: optimize python modules
Closes: https://bugs.gentoo.org/866383 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild')
-rw-r--r--sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
index 091ef37e284a..8f04c30aebba 100644
--- a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
+++ b/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
@@ -49,5 +49,6 @@ src_test() {
src_install() {
default
+ python_optimize "${D}"/usr/share/libsigrokdecode/decoders
find "${D}" -name '*.la' -type f -delete || die
}