summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-12 11:36:43 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-13 10:41:39 +0100
commitc83391114341c997c336027b7177126779a49479 (patch)
treed14be41355bd8c82b05715504deae275c0f8a801 /dev-python/oslo-db
parentdev-python/osc-lib: Remove Python 2 support (diff)
downloadgentoo-c83391114341c997c336027b7177126779a49479.tar.gz
gentoo-c83391114341c997c336027b7177126779a49479.tar.bz2
gentoo-c83391114341c997c336027b7177126779a49479.zip
dev-python/oslo-db: Remove Python 2 support
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-db')
-rw-r--r--dev-python/oslo-db/oslo-db-4.40.0.ebuild7
-rw-r--r--dev-python/oslo-db/oslo-db-4.45.0.ebuild7
2 files changed, 4 insertions, 10 deletions
diff --git a/dev-python/oslo-db/oslo-db-4.40.0.ebuild b/dev-python/oslo-db/oslo-db-4.40.0.ebuild
index 243c32148a13..624724caa6c1 100644
--- a/dev-python/oslo-db/oslo-db-4.40.0.ebuild
+++ b/dev-python/oslo-db/oslo-db-4.40.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
@@ -38,10 +38,7 @@ RDEPEND="
!~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
)
mysql? (
- || (
- dev-python/pymysql[${PYTHON_USEDEP}]
- dev-python/mysql-python[$(python_gen_usedep 'python2_7')]
- )
+ dev-python/pymysql[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
diff --git a/dev-python/oslo-db/oslo-db-4.45.0.ebuild b/dev-python/oslo-db/oslo-db-4.45.0.ebuild
index ef7c8f83b06e..d4bf92584022 100644
--- a/dev-python/oslo-db/oslo-db-4.45.0.ebuild
+++ b/dev-python/oslo-db/oslo-db-4.45.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@@ -38,10 +38,7 @@ RDEPEND="
!~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
)
mysql? (
- || (
- dev-python/pymysql[${PYTHON_USEDEP}]
- dev-python/mysql-python[$(python_gen_usedep 'python2_7')]
- )
+ dev-python/pymysql[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]