commit:     ac48a359768b359a29b16a4459d4d2681f1b03a6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 07:14:31 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 07:14:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac48a359

dev-python/psycopg: drop filter-lto

Fixed upstream in >=3.2.2.

Bug: https://bugs.gentoo.org/935401
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/psycopg/psycopg-3.2.4.ebuild | 10 +---------
 dev-python/psycopg/psycopg-3.2.5.ebuild | 10 +---------
 2 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/dev-python/psycopg/psycopg-3.2.4.ebuild 
b/dev-python/psycopg/psycopg-3.2.4.ebuild
index e0ea2b00c03b..ffb3fd586701 100644
--- a/dev-python/psycopg/psycopg-3.2.4.ebuild
+++ b/dev-python/psycopg/psycopg-3.2.4.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( pypy3 python3_{10..13} )
 
-inherit distutils-r1 flag-o-matic
+inherit distutils-r1
 
 DESCRIPTION="PostgreSQL database adapter for Python"
 HOMEPAGE="
@@ -54,14 +54,6 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_compile() {
-       # -Werror=strict-aliasing
-       # https://bugs.gentoo.org/935401
-       # https://github.com/psycopg/psycopg/issues/867
-       #
-       # Do not trust with LTO either.
-       append-flags -fno-strict-aliasing
-       filter-lto
-
        # Python code + ctypes backend
        cd psycopg || die
        distutils-r1_python_compile

diff --git a/dev-python/psycopg/psycopg-3.2.5.ebuild 
b/dev-python/psycopg/psycopg-3.2.5.ebuild
index d5a124be5907..ff3f6d52b026 100644
--- a/dev-python/psycopg/psycopg-3.2.5.ebuild
+++ b/dev-python/psycopg/psycopg-3.2.5.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( pypy3 python3_{10..13} )
 
-inherit distutils-r1 flag-o-matic
+inherit distutils-r1
 
 DESCRIPTION="PostgreSQL database adapter for Python"
 HOMEPAGE="
@@ -54,14 +54,6 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_compile() {
-       # -Werror=strict-aliasing
-       # https://bugs.gentoo.org/935401
-       # https://github.com/psycopg/psycopg/issues/867
-       #
-       # Do not trust with LTO either.
-       append-flags -fno-strict-aliasing
-       filter-lto
-
        # Python code + ctypes backend
        cd psycopg || die
        distutils-r1_python_compile

Reply via email to