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 2C85915ACFC for ; Tue, 2 May 2023 00:39:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7016E07F1; Tue, 2 May 2023 00:39:10 +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 C60A5E07F1 for ; Tue, 2 May 2023 00:39:10 +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 98786341563 for ; Tue, 2 May 2023 00:39:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D86C9A49 for ; Tue, 2 May 2023 00:39:07 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1682987942.a26ce38779a4af85c2e7155443432084d77d1691.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/julia/julia-1.8.5-r1.ebuild dev-lang/julia/julia-1.8.5.ebuild X-VCS-Directories: dev-lang/julia/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: a26ce38779a4af85c2e7155443432084d77d1691 X-VCS-Branch: master Date: Tue, 2 May 2023 00:39:07 +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: 8832f306-5eb1-41f4-be7f-05b4d9bec162 X-Archives-Hash: 2848404ab62423b403037fdd05b2bc59 commit: a26ce38779a4af85c2e7155443432084d77d1691 Author: Maciej Barć gentoo org> AuthorDate: Mon May 1 19:32:54 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue May 2 00:39:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a26ce387 dev-lang/julia: properly pick up python Closes: https://bugs.gentoo.org/766947 Signed-off-by: Maciej Barć gentoo.org> dev-lang/julia/{julia-1.8.5.ebuild => julia-1.8.5-r1.ebuild} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-lang/julia/julia-1.8.5.ebuild b/dev-lang/julia/julia-1.8.5-r1.ebuild similarity index 96% rename from dev-lang/julia/julia-1.8.5.ebuild rename to dev-lang/julia/julia-1.8.5-r1.ebuild index 85c029763417..fbe4522110f4 100644 --- a/dev-lang/julia/julia-1.8.5.ebuild +++ b/dev-lang/julia/julia-1.8.5-r1.ebuild @@ -9,7 +9,9 @@ EAPI=8 # >=1.8.2 still sits on LLVM 13, bug: https://bugs.gentoo.org/876184 MY_LLVM_V=13.0.1 -inherit check-reqs flag-o-matic pax-utils toolchain-funcs optfeature +PYTHON_COMPAT=( python3_{9..11} ) + +inherit check-reqs flag-o-matic optfeature pax-utils python-any-r1 toolchain-funcs DESCRIPTION="High-performance programming language for technical computing" HOMEPAGE="https://julialang.org/ @@ -56,6 +58,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" BDEPEND=" + ${PYTHON_DEPS} dev-util/cmake virtual/pkgconfig " @@ -94,6 +97,11 @@ for archlinux_patch in ${archlinux_patches[@]} ; do PATCHES+=( "${DISTDIR}/${archlinux_patch_name}" ) done +pkg_setup() { + check-reqs_pkg_setup + python-any-r1_pkg_setup +} + src_unpack() { local -a tounpack=( ${A} ) # the main source tree, followed by deps