From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8DD38158041 for ; Sat, 13 Apr 2024 17:15:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A1252BC02E; Sat, 13 Apr 2024 17:15:11 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6216C2BC02E for ; Sat, 13 Apr 2024 17:15:11 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BCC5343283 for ; Sat, 13 Apr 2024 17:15:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0229516E4 for ; Sat, 13 Apr 2024 17:15:08 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1713028157.82f4a1240be9d391e064d0b0d2f19732872ea24a.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/cx-oracle/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/cx-oracle/cx-oracle-8.3.0-r1.ebuild dev-python/cx-oracle/cx-oracle-8.3.0.ebuild X-VCS-Directories: dev-python/cx-oracle/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 82f4a1240be9d391e064d0b0d2f19732872ea24a X-VCS-Branch: master Date: Sat, 13 Apr 2024 17:15:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d92544bd-acc5-4d4d-9745-749d78ca8bd5 X-Archives-Hash: 953513fd5f14521d755ea4b691d1ed6e Message-ID: <20240413171508.sYP19TpKiRmZPYjPpnKOS9HWumokWLPg3X2oLA1yqhU@z> commit: 82f4a1240be9d391e064d0b0d2f19732872ea24a Author: Julien Roy jroy ca> AuthorDate: Sat Apr 13 16:57:25 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sat Apr 13 17:09:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82f4a124 dev-python/cx-oracle: enable py3.12 Closes: https://bugs.gentoo.org/897412 Signed-off-by: Julien Roy jroy.ca>b ...acle-8.3.0.ebuild => cx-oracle-8.3.0-r1.ebuild} | 23 ++++++---------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/dev-python/cx-oracle/cx-oracle-8.3.0.ebuild b/dev-python/cx-oracle/cx-oracle-8.3.0-r1.ebuild similarity index 65% rename from dev-python/cx-oracle/cx-oracle-8.3.0.ebuild rename to dev-python/cx-oracle/cx-oracle-8.3.0-r1.ebuild index 79c2596804..8e6594f85d 100644 --- a/dev-python/cx-oracle/cx-oracle-8.3.0.ebuild +++ b/dev-python/cx-oracle/cx-oracle-8.3.0-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" -PYTHON_COMPAT=( python3_10 ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{10..12} ) PYPI_PN="cx_Oracle" PYPI_NO_NORMALIZE=1 @@ -27,22 +29,9 @@ RESTRICT="test" DEPEND="dev-db/oracle-instantclient" RDEPEND="${DEPEND}" -python_prepare_all() { +src_prepare() { # do not install LICENSE and README to /usr/ sed -i -e '/data_files/d' setup.py || die - distutils-r1_python_prepare_all -} - -pkg_postinst() { - return - # no python_mod_optimize -} - -src_install() { - distutils-r1_src_install - if use examples; then - docinto examples - dodoc -r samples/. || die - fi + distutils-r1_src_prepare }