commit:     3cc50b65321183ff06b82cd477ecc9a3402bd880
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 22 21:10:53 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 03:32:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc50b65

dev-python/thriftpy2: remove LTO workaround

It was fixed upstream in 0.5.0 based on our report.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-python/thriftpy2/thriftpy2-0.5.0.ebuild | 14 +-------------
 dev-python/thriftpy2/thriftpy2-0.5.2.ebuild | 14 +-------------
 2 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
index 53fdb44f8d8e..3795d532cc5b 100644
--- a/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit distutils-r1 flag-o-matic pypi
+inherit distutils-r1 pypi
 
 DESCRIPTION="Pure python approach of Apache Thrift"
 HOMEPAGE="
@@ -33,18 +33,6 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-src_compile() {
-       # -Werror=strict-aliasing
-       # https://bugs.gentoo.org/857105
-       # https://github.com/Thriftpy/thriftpy2/issues/246
-       #
-       # Don't trust this to LTO
-       append-flags -fno-strict-aliasing
-       filter-lto
-
-       distutils-r1_src_compile
-}
-
 python_test() {
        local EPYTEST_DESELECT=(
                
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception

diff --git a/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild 
b/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild
index b045d0f08da7..96c5e972bc59 100644
--- a/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit distutils-r1 flag-o-matic pypi
+inherit distutils-r1 pypi
 
 DESCRIPTION="Pure python approach of Apache Thrift"
 HOMEPAGE="
@@ -34,18 +34,6 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-src_compile() {
-       # -Werror=strict-aliasing
-       # https://bugs.gentoo.org/857105
-       # https://github.com/Thriftpy/thriftpy2/issues/246
-       #
-       # Don't trust this to LTO
-       append-flags -fno-strict-aliasing
-       filter-lto
-
-       distutils-r1_src_compile
-}
-
 python_test() {
        local EPYTEST_DESELECT=(
                
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception

Reply via email to