commit:     a26ce38779a4af85c2e7155443432084d77d1691
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon May  1 19:32:54 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> 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ć <xgqt <AT> 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

Reply via email to