mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user