From 5baf0ec72abab3d4430c03c761b0fadedaff7069 Mon Sep 17 00:00:00 2001 From: Jeffrey Lin Date: Thu, 15 Jul 2021 09:08:51 -0400 Subject: dev-lang/julia-bin: add 1.6.2 Closes: https://github.com/gentoo/gentoo/pull/21664 Signed-off-by: Jeffrey Lin Signed-off-by: Matthias Maier --- dev-lang/julia-bin/Manifest | 6 ++++ dev-lang/julia-bin/julia-bin-1.6.2.ebuild | 56 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-lang/julia-bin/julia-bin-1.6.2.ebuild (limited to 'dev-lang/julia-bin') diff --git a/dev-lang/julia-bin/Manifest b/dev-lang/julia-bin/Manifest index 7e1e01491d72..414cb60c6413 100644 --- a/dev-lang/julia-bin/Manifest +++ b/dev-lang/julia-bin/Manifest @@ -14,3 +14,9 @@ DIST julia-1.6.0-linux-i686.tar.gz 109636279 BLAKE2B 905bf491935267ba53e14e29093 DIST julia-1.6.0-linux-ppc64le.tar.gz 98427694 BLAKE2B 67a2d04f1ae9e8e8e2165c7dcb5c504729ed13772bcffe3e4fb259944f86fcb5c1e699fe077fcf9250941feb936434f555c17888cad3dd3c7f92787c5c7bdca1 SHA512 a1f691a22764764e97b9f8bd322bf3a141c06ab7ea60be5d393f4adb614ff6d284c095a870df5ac6c38614ad17dc85a82e12b5b35598146062916918183e6681 DIST julia-1.6.0-linux-x86_64.tar.gz 112838927 BLAKE2B 991b91101e4556c36d1ac4c35f650cc42a2eb87f00fa1f0fad8f1f567cc77c3290df052e14a83aea610213a72b856a031c3a84e4f8f968b141818b96b7cd9fa4 SHA512 f007f9730ce01fb8dbbaaab1d1f029393c43ca075a626024b98d54b55e94dde7f7be4872e59244e89f4c4b7725cdb5a619b7576f832561c17c119db58a8be407 DIST julia-1.6.0-musl-x86_64.tar.gz 111773706 BLAKE2B a812f3b323650f2d62756d94b4cb6bfac7d49fbbcaa0eff7da8fdcd5857473985b2985c127895c47b8ec8afac1c67e2297dd118604fb0e6638408491245cb442 SHA512 0773df79840b24f019337407e9330f4255994457380d48045c3972145125c4ca7475fde5ffd9c53e4350ec87bdbac5ba299527a9dbcbb1c9c531172edf35a688 +DIST julia-1.6.2-freebsd-x86_64.tar.gz 107102355 BLAKE2B 50c6c893d0786bae771051b96de499a6a7381c8ae435de55d933df999ff9113a8876d7c26c1eff136ae2f8eb5954a6ac3554c42fa18c3f31d0a0683116244865 SHA512 38441b9963115bc6f1bc14b05f680ef770a25dfed2768b06872f84f3ba7cd94f384b911d7453c91b34ddb4dc2d65874009388778ac2bdbcc93cbfc0031d941c2 +DIST julia-1.6.2-linux-aarch64.tar.gz 106265838 BLAKE2B 4754c868013888519df7bb219e661836ff6787d317ecda51be8d32c29f6b7568c9b3cef879460417817d5139b2a0f8480d3eef73dcb31a60c0d92c3eb4eb127d SHA512 267685f93cea93b047fdd9b359cd182a6c1a3e15a63fcea59133ee9cf527a12f6a84958eb5a57ec2c85f0ee82223164291b4fdf2d279b132571348ea0ab5e102 +DIST julia-1.6.2-linux-i686.tar.gz 109691286 BLAKE2B bcd37acabda002af798016d9029c415b39c4908624cd4760c2666359541832e389d8f15ee04437908e205080e2b8cc4e29ba85898fd43e5d4551aa51b521787f SHA512 f42d43109b922d79e34b7f593f2737d72688d92f293add773cf0eb33a5401637f19c96fafcb787be5935fa69249f739cd52dd5b6faa8b26f8e76e8e1ec57bd7d +DIST julia-1.6.2-linux-ppc64le.tar.gz 98471545 BLAKE2B c9fb08a46adfcb243fccfe5d8aaa00bd2c1d43642e60993a70937ee88f8b4571d243b3b92c7b3cd10694d9bfe49f1f00acd473112b0c75bbd97ff38e7c90da99 SHA512 520890d3194598f89b8bab82ccfe7ef5986eac05ea676d71edba39e87f3f34e8c6c70907e2eb2928f0a9c449b5ef3a255b3d89d41b4d4726a14c5415212e9d8b +DIST julia-1.6.2-linux-x86_64.tar.gz 112946671 BLAKE2B 30c83e5c29ea58ef49da904c297a017f42175c69976de1f61b2b88cddaa02147da008e2f8fb81140ee724e475425afa1d00ec9762625945d413875c1c5a6faf3 SHA512 29489615677f844881f29d639614ad69183cecb9eba793a3559434bde5aaf00b3571ac9654c05285d83486d28ad4aef9d541c77b25bee062a47a1e97407d996b +DIST julia-1.6.2-musl-x86_64.tar.gz 111928203 BLAKE2B 6415bb8d8105ab4127ecc56259217ca062bdf050c6a6bcf7781dd3cc219c108e1ff265574c08b89111763be5a033a8a2def2ea8882b837fd258ca4162c4dae00 SHA512 42b3920fbf959eaf0f6a573f60f1da34d4631bd064a20185239e3af9e28aa1c2b81ce0b7eb2ee5816d8f833309a76cb214ea241ee03bdacd5541a1872ab9ec59 diff --git a/dev-lang/julia-bin/julia-bin-1.6.2.ebuild b/dev-lang/julia-bin/julia-bin-1.6.2.ebuild new file mode 100644 index 000000000000..90228ad34be7 --- /dev/null +++ b/dev-lang/julia-bin/julia-bin-1.6.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +MY_PN=${PN/-bin/} +MY_P=${MY_PN}-${PV/_/-} +MY_PV=$(ver_cut 1-2) +BASE_SRC_URI="https://julialang-s3.julialang.org/bin" + +DESCRIPTION="High-performance programming language for technical computing" +HOMEPAGE="https://julialang.org/" +SRC_URI=" + x86? ( ${BASE_SRC_URI}/linux/x86/${MY_PV}/${MY_P}-linux-i686.tar.gz ) + amd64? ( + elibc_glibc? ( ${BASE_SRC_URI}/linux/x64/${MY_PV}/${MY_P}-linux-x86_64.tar.gz ) + elibc_musl? ( ${BASE_SRC_URI}/musl/x64/${MY_PV}/${MY_P}-musl-x86_64.tar.gz ) + ) + amd64-fbsd? ( ${BASE_SRC_URI}/freebsd/x64/${MY_PV}/${MY_P}-freebsd-x86_64.tar.gz ) + arm64? ( ${BASE_SRC_URI}/linux/aarch64/${MY_PV}/${MY_P}-linux-aarch64.tar.gz ) + ppc64? ( ${BASE_SRC_URI}/linux/ppc64le/${MY_PV}/${MY_P}-linux-ppc64le.tar.gz ) +" + +LICENSE="MIT" +SLOT="${MY_PV}" +KEYWORDS="-* ~amd64 ~x86" +IUSE="elibc_glibc" + +RDEPEND=" + !dev-lang/julia + app-arch/p7zip +" +DEPEND="${RDEPEND}" + +RESTRICT="strip" + +QA_PREBUILT="*" +QA_SONAME="*" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto "/usr/$(get_libdir)/${MY_P}/" + doins -r ./etc + doins -r ./include + doins -r ./lib + doins -r ./share + + exeinto "/usr/$(get_libdir)/${MY_P}/bin" + doexe "bin/${MY_PN}" + dosym "../$(get_libdir)/${MY_P}/bin/${MY_PN}" "/usr/bin/${MY_PN}${SLOT}" + + local revord=$(( 9999 - $(ver_cut 1) * 100 - $(ver_cut 2) )) # 1.6 -> 106 + newenvd - 99${MY_PN}${revord} <<-EOF + PATH="${EROOT}/usr/$(get_libdir)/${MY_P}/bin" + EOF +} -- cgit v1.2.3-65-gdbad