mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/psycopg: Port to python3.10
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
a528a1fd5e
commit
2a77b5475b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user