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
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')
-rw-r--r--sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.ebuild1
-rw-r--r--sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.ebuild
index 5ede936226ef..617e1edb0d21 100644
--- a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.ebuild
+++ b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r2.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
}
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
}