diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-04 05:43:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-04 05:43:10 +0000 |
commit | 57e2174dcd454b41778b7b437f88d0a9f1a6e428 (patch) | |
tree | e6f528c74cef8bdfdf1b07fbba3a70acbae6af25 /dev-python/thriftpy2/thriftpy2-0.4.20.ebuild | |
parent | 0a648c5255c22a6092b8de20ffba9e235299a293 (diff) |
gentoo auto-resync : 04:03:2024 - 05:43:09
Diffstat (limited to 'dev-python/thriftpy2/thriftpy2-0.4.20.ebuild')
-rw-r--r-- | dev-python/thriftpy2/thriftpy2-0.4.20.ebuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild index 7fb9eb1ee949..732ec5cfd189 100644 --- a/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild +++ b/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..11} ) -inherit distutils-r1 pypi +inherit distutils-r1 flag-o-matic pypi DESCRIPTION="Pure python approach of Apache Thrift" HOMEPAGE=" @@ -33,6 +33,18 @@ 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 |