commit:     2a77b5475b7ebbd02aea08b0488151c358c2f1c1
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Thu May  6 21:15:11 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May  7 10:33:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a77b547

dev-python/psycopg: Port to python3.10

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/psycopg/psycopg-2.8.6-r1.ebuild | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/dev-python/psycopg/psycopg-2.8.6-r1.ebuild 
b/dev-python/psycopg/psycopg-2.8.6-r1.ebuild
index 913bf81712b..f14410ac8a4 100644
--- a/dev-python/psycopg/psycopg-2.8.6-r1.ebuild
+++ b/dev-python/psycopg/psycopg-2.8.6-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1 flag-o-matic
 
@@ -21,20 +21,10 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 
~s390 sparc x86 ~amd64-li
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 
-# automagic dep on mxdatetime (from egenix-mx-base)
-# the package was removed, so let's just make sure it's gone
 RDEPEND=">=dev-db/postgresql-8.1:*"
-DEPEND="${RDEPEND}
-       test? ( >=dev-db/postgresql-8.1[server] )
-       !!dev-python/egenix-mx-base"
-
-python_compile() {
-       local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
-
-       ! python_is_python3 && append-flags -fno-strict-aliasing
-
-       distutils-r1_python_compile
-}
+DEPEND="${RDEPEND}"
+BDEPEND="
+       test? ( >=dev-db/postgresql-8.1[server] )"
 
 python_prepare_all() {
        if use debug; then

Reply via email to