From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1578581-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 21DE5158013
	for <garchives@archives.gentoo.org>; Sun, 10 Dec 2023 16:12:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 772632BC01F;
	Sun, 10 Dec 2023 16:12:22 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5C3F12BC023
	for <gentoo-commits@lists.gentoo.org>; Sun, 10 Dec 2023 16:12:22 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6468333BE19
	for <gentoo-commits@lists.gentoo.org>; Sun, 10 Dec 2023 16:12:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C015814AC
	for <gentoo-commits@lists.gentoo.org>; Sun, 10 Dec 2023 16:12:19 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1702224736.ce3733ba040c32836785cd1e5c1ab1db1be6d96c.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-tables2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/django-tables2/django-tables2-2.7.0.ebuild
X-VCS-Directories: dev-python/django-tables2/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: ce3733ba040c32836785cd1e5c1ab1db1be6d96c
X-VCS-Branch: master
Date: Sun, 10 Dec 2023 16:12:19 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 01e28168-6091-4189-94c2-b328d01484fe
X-Archives-Hash: 3bffea0dc4acc30c4d229c7303b94c0c

commit:     ce3733ba040c32836785cd1e5c1ab1db1be6d96c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 15:52:55 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 16:12:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce3733ba

dev-python/django-tables2: Allow dev-python/psycopg:0 for testing

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django-tables2/django-tables2-2.7.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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}]
 	)
 "