summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-11-03 07:55:59 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2021-11-03 08:53:03 +0200
commitea796eb6b49e5ba65952eda952f89330bf7d12ac (patch)
treef23ce8f442a50b011c91bc5111f09874c6e56cf0 /dev-libs/liborcus
parentdev-libs/libixion: enable py3.10 (diff)
downloadgentoo-ea796eb6b49e5ba65952eda952f89330bf7d12ac.tar.gz
gentoo-ea796eb6b49e5ba65952eda952f89330bf7d12ac.tar.bz2
gentoo-ea796eb6b49e5ba65952eda952f89330bf7d12ac.zip
dev-libs/liborcus: enable py3.10, fix python byte-compiled
Closes: https://bugs.gentoo.org/777036 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-libs/liborcus')
-rw-r--r--dev-libs/liborcus/liborcus-0.16.1.ebuild3
-rw-r--r--dev-libs/liborcus/liborcus-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/liborcus/liborcus-0.16.1.ebuild b/dev-libs/liborcus/liborcus-0.16.1.ebuild
index 22d31899acaf..11e425439697 100644
--- a/dev-libs/liborcus/liborcus-0.16.1.ebuild
+++ b/dev-libs/liborcus/liborcus-0.16.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit python-single-r1
DESCRIPTION="Standalone file import filter library for spreadsheet documents"
@@ -60,4 +60,5 @@ src_configure() {
src_install() {
default
find "${D}" -name '*.la' -type f -delete || die
+ use python && python_optimize
}
diff --git a/dev-libs/liborcus/liborcus-9999.ebuild b/dev-libs/liborcus/liborcus-9999.ebuild
index 50a9442c2807..85508fc2f047 100644
--- a/dev-libs/liborcus/liborcus-9999.ebuild
+++ b/dev-libs/liborcus/liborcus-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit python-single-r1
DESCRIPTION="Standalone file import filter library for spreadsheet documents"
@@ -58,4 +58,5 @@ src_configure() {
src_install() {
default
find "${D}" -name '*.la' -type f -delete || die
+ use python && python_optimize
}