summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-08-23 12:15:24 +0200
committerDavid Seifert <soap@gentoo.org>2022-08-23 12:15:24 +0200
commit4a5c6828cffc8b2e140410439b9045b5a60a5e71 (patch)
treeae87f496fc8488222e920eafd7fceec3a0d645c7 /dev-lang/julia-bin
parentx11-libs/wxGTK: drop 3.0.4-r302, 3.0.4-r303 (diff)
downloadgentoo-4a5c6828cffc8b2e140410439b9045b5a60a5e71.tar.gz
gentoo-4a5c6828cffc8b2e140410439b9045b5a60a5e71.tar.bz2
gentoo-4a5c6828cffc8b2e140410439b9045b5a60a5e71.zip
dev-lang/julia-bin: fix VariableScope (EROOT)
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-lang/julia-bin')
-rw-r--r--dev-lang/julia-bin/julia-bin-1.6.5.ebuild9
-rw-r--r--dev-lang/julia-bin/julia-bin-1.7.1.ebuild9
-rw-r--r--dev-lang/julia-bin/julia-bin-1.7.3.ebuild9
-rw-r--r--dev-lang/julia-bin/julia-bin-9999.ebuild7
4 files changed, 15 insertions, 19 deletions
diff --git a/dev-lang/julia-bin/julia-bin-1.6.5.ebuild b/dev-lang/julia-bin/julia-bin-1.6.5.ebuild
index 0901e3d69124..693dc424a913 100644
--- a/dev-lang/julia-bin/julia-bin-1.6.5.ebuild
+++ b/dev-lang/julia-bin/julia-bin-1.6.5.ebuild
@@ -2,6 +2,7 @@
# 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)
@@ -17,21 +18,19 @@ SRC_URI="
)
arm64? ( ${BASE_SRC_URI}/linux/aarch64/${MY_PV}/${MY_P}-linux-aarch64.tar.gz )
"
+S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="${MY_PV}"
KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="strip"
RDEPEND="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
@@ -45,6 +44,6 @@ src_install() {
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"
+ PATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/bin"
EOF
}
diff --git a/dev-lang/julia-bin/julia-bin-1.7.1.ebuild b/dev-lang/julia-bin/julia-bin-1.7.1.ebuild
index e729beeff5e5..a5facfea6337 100644
--- a/dev-lang/julia-bin/julia-bin-1.7.1.ebuild
+++ b/dev-lang/julia-bin/julia-bin-1.7.1.ebuild
@@ -2,6 +2,7 @@
# 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)
@@ -17,21 +18,19 @@ SRC_URI="
)
arm64? ( ${BASE_SRC_URI}/linux/aarch64/${MY_PV}/${MY_P}-linux-aarch64.tar.gz )
"
+S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="${MY_PV}"
KEYWORDS="-* ~amd64 ~arm64 ~x86"
+RESTRICT="strip"
RDEPEND="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
@@ -45,6 +44,6 @@ src_install() {
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"
+ PATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/bin"
EOF
}
diff --git a/dev-lang/julia-bin/julia-bin-1.7.3.ebuild b/dev-lang/julia-bin/julia-bin-1.7.3.ebuild
index e729beeff5e5..a5facfea6337 100644
--- a/dev-lang/julia-bin/julia-bin-1.7.3.ebuild
+++ b/dev-lang/julia-bin/julia-bin-1.7.3.ebuild
@@ -2,6 +2,7 @@
# 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)
@@ -17,21 +18,19 @@ SRC_URI="
)
arm64? ( ${BASE_SRC_URI}/linux/aarch64/${MY_PV}/${MY_P}-linux-aarch64.tar.gz )
"
+S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="${MY_PV}"
KEYWORDS="-* ~amd64 ~arm64 ~x86"
+RESTRICT="strip"
RDEPEND="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
@@ -45,6 +44,6 @@ src_install() {
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"
+ PATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/bin"
EOF
}
diff --git a/dev-lang/julia-bin/julia-bin-9999.ebuild b/dev-lang/julia-bin/julia-bin-9999.ebuild
index 6bbced1a966e..def85bee0129 100644
--- a/dev-lang/julia-bin/julia-bin-9999.ebuild
+++ b/dev-lang/julia-bin/julia-bin-9999.ebuild
@@ -2,10 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
MY_PN=${PN/-bin/}
DESCRIPTION="High-performance programming language for technical computing"
HOMEPAGE="https://julialang.org/"
+S="${WORKDIR}/"
PROPERTIES="live"
MY_P=${MY_PN}-latest
@@ -13,16 +15,13 @@ SRC_URI=""
LICENSE="MIT"
SLOT="9999"
+RESTRICT="strip"
RDEPEND="app-arch/p7zip"
DEPEND="${RDEPEND}"
-RESTRICT="strip"
-
QA_PREBUILT="*"
-S="${WORKDIR}/"
-
src_unpack() {
NIGHTLIES_S3="https://julialangnightlies-s3.julialang.org/bin"
if use x86; then