summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-10 16:52:55 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-10 17:12:16 +0100
commitce3733ba040c32836785cd1e5c1ab1db1be6d96c (patch)
tree11371a7e8862e3f17701c1a15ef280cee8ad4e90 /dev-python/django-tables2
parentdev-python/pandas: Remove optional test dep on psycopg:2 (diff)
downloadgentoo-ce3733ba040c32836785cd1e5c1ab1db1be6d96c.tar.gz
gentoo-ce3733ba040c32836785cd1e5c1ab1db1be6d96c.tar.bz2
gentoo-ce3733ba040c32836785cd1e5c1ab1db1be6d96c.zip
dev-python/django-tables2: Allow dev-python/psycopg:0 for testing
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-tables2')
-rw-r--r--dev-python/django-tables2/django-tables2-2.7.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/django-tables2/django-tables2-2.7.0.ebuild b/dev-python/django-tables2/django-tables2-2.7.0.ebuild
index 455addd05950..9503ae38d137 100644
--- a/dev-python/django-tables2/django-tables2-2.7.0.ebuild
+++ b/dev-python/django-tables2/django-tables2-2.7.0.ebuild
@@ -32,7 +32,13 @@ BDEPEND="
${RDEPEND}
dev-python/django-filter[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
- dev-python/psycopg:2[${PYTHON_USEDEP}]
+ || (
+ (
+ >=dev-python/django-4.2[${PYTHON_USEDEP}]
+ dev-python/psycopg:*[${PYTHON_USEDEP}]
+ )
+ dev-python/psycopg:2[${PYTHON_USEDEP}]
+ )
dev-python/pytz[${PYTHON_USEDEP}]
)
"