dev-python/thriftpy2: remove LTO workaround

It was fixed upstream in 0.5.0 based on our report.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-07-22 17:10:53 -04:00
parent d94fdde727
commit 3cc50b6532
2 changed files with 2 additions and 26 deletions

View File

@@ -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

View File

@@ -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