From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1541877-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 A088115800A
	for <garchives@archives.gentoo.org>; Fri, 28 Jul 2023 16:14:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 80D25E0A9B;
	Fri, 28 Jul 2023 16:14:48 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 61B45E0A9B
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2023 16:14:48 +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 E1AD134152F
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2023 16:14:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DF67E7B
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Jul 2023 16:14:45 +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: <1690560432.55e78f4ef1ca246c548e5a5a6ec8208cba2911e0.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/opt-einsum/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
X-VCS-Directories: dev-python/opt-einsum/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 55e78f4ef1ca246c548e5a5a6ec8208cba2911e0
X-VCS-Branch: master
Date: Fri, 28 Jul 2023 16:14:45 +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: c6ab5218-b1d1-4857-9960-76562133b7c6
X-Archives-Hash: dc5e082aa2649b826335ef37088cbcfd

commit:     55e78f4ef1ca246c548e5a5a6ec8208cba2911e0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 16:07:12 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 16:07:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55e78f4e

dev-python/opt-einsum: Enable py3.12

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

 dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild b/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
index 32486a84ef90..497f35c0649d 100644
--- a/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
+++ b/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
@@ -4,17 +4,31 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 
 DESCRIPTION="Optimized Einsum: A tensor contraction order optimizer"
-HOMEPAGE="https://pypi.org/project/opt-einsum/"
+HOMEPAGE="
+	https://github.com/dgasmith/opt_einsum/
+	https://pypi.org/project/opt-einsum/
+"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 x86"
 
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/versioneer[${PYTHON_USEDEP}]
+"
 
 distutils_enable_tests pytest
+
+src_prepare() {
+	# ancient, broken version
+	rm versioneer.py || die
+	distutils-r1_src_prepare
+}