Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: juliaup-1.8.16
@ 2023-05-16 22:27 BryceVandegrift
  2023-05-17  0:54 ` BryceVandegrift
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-05-16 22:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

There is a new pull request by BryceVandegrift against master on the void-packages repository

https://github.com/BryceVandegrift/void-packages juliaup
https://github.com/void-linux/void-packages/pull/43906

New package: juliaup-1.8.16
This package should allow Julia to be installed since it was [removed](https://github.com/void-linux/void-packages/pull/39919).
Package only supports x86_64, i686, and aarch64

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686-glibc (crossbuild)
  - aarch64-glibc (crossbuild)
  - aarch64-musl (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/43906.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-juliaup-43906.patch --]
[-- Type: text/x-diff, Size: 1027 bytes --]

From bc75e4ad1a499d1f5e1b39c4e1f8df0bdea273cf Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Tue, 16 May 2023 18:22:00 -0400
Subject: [PATCH] New package: juliaup-1.8.16

---
 srcpkgs/juliaup/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/juliaup/template

diff --git a/srcpkgs/juliaup/template b/srcpkgs/juliaup/template
new file mode 100644
index 000000000000..7f1d469e8a3b
--- /dev/null
+++ b/srcpkgs/juliaup/template
@@ -0,0 +1,16 @@
+# Template file for 'juliaup'
+pkgname=juliaup
+version=1.8.16
+revision=1
+archs="x86_64* i686* aarch64*"
+build_style=cargo
+short_desc="Julia installer and version multiplexer"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="MIT"
+homepage="https://github.com/JuliaLang/juliaup"
+distfiles="https://github.com/JuliaLang/juliaup/archive/refs/tags/v${version}.tar.gz"
+checksum=99b0d62b589c8a330fffaa2252b8e4251124bfd59077f0789a6a456d3b1ae81a
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
@ 2023-05-17  0:54 ` BryceVandegrift
  2023-05-17  1:22 ` [PR PATCH] [Updated] " BryceVandegrift
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-05-17  0:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1550534992

Comment:
Looks like I might have to disable `x86_64-musl` until the tests pass for it.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Updated] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
  2023-05-17  0:54 ` BryceVandegrift
@ 2023-05-17  1:22 ` BryceVandegrift
  2023-05-17  1:24 ` BryceVandegrift
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-05-17  1:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

There is an updated pull request by BryceVandegrift against master on the void-packages repository

https://github.com/BryceVandegrift/void-packages juliaup
https://github.com/void-linux/void-packages/pull/43906

New package: juliaup-1.8.16
This package should allow Julia to be installed since it was [removed](https://github.com/void-linux/void-packages/pull/39919).
Package only supports x86_64, i686, and aarch64

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686-glibc (crossbuild)
  - aarch64-glibc (crossbuild)
  - aarch64-musl (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/43906.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-juliaup-43906.patch --]
[-- Type: text/x-diff, Size: 1143 bytes --]

From c27a0d6ddda78bb4189c1a65ba4bf32d6c708459 Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Tue, 16 May 2023 18:22:00 -0400
Subject: [PATCH] New package: juliaup-1.8.16

---
 srcpkgs/juliaup/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/juliaup/template

diff --git a/srcpkgs/juliaup/template b/srcpkgs/juliaup/template
new file mode 100644
index 000000000000..6d04d09f4bc5
--- /dev/null
+++ b/srcpkgs/juliaup/template
@@ -0,0 +1,21 @@
+# Template file for 'juliaup'
+pkgname=juliaup
+version=1.8.16
+revision=1
+archs="x86_64* i686* aarch64*"
+build_style=cargo
+short_desc="Julia installer and version multiplexer"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="MIT"
+homepage="https://github.com/JuliaLang/juliaup"
+distfiles="https://github.com/JuliaLang/juliaup/archive/refs/tags/v${version}.tar.gz"
+checksum=99b0d62b589c8a330fffaa2252b8e4251124bfd59077f0789a6a456d3b1ae81a
+
+if [ "$XBPS_TARGET_MACHINE" == "x86_64-musl" ]; then
+	# Disable checks for x86_64-musl
+	make_check=no
+fi
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
  2023-05-17  0:54 ` BryceVandegrift
  2023-05-17  1:22 ` [PR PATCH] [Updated] " BryceVandegrift
@ 2023-05-17  1:24 ` BryceVandegrift
  2023-05-17  1:47 ` [PR REVIEW] " classabbyamp
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-05-17  1:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

New comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1550556206

Comment:
Ok, I disabled tests for `x86_64-musl`. It works perfectly fine even though the tests fail and even the original developers disable tests for `x86_64-musl`, so it should be fine.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR REVIEW] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (2 preceding siblings ...)
  2023-05-17  1:24 ` BryceVandegrift
@ 2023-05-17  1:47 ` classabbyamp
  2023-05-17 15:24 ` [PR PATCH] [Updated] " BryceVandegrift
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: classabbyamp @ 2023-05-17  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#discussion_r1195842899

Comment:
I only see musl downloads available for x86_64: https://julialang.org/downloads/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Updated] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (3 preceding siblings ...)
  2023-05-17  1:47 ` [PR REVIEW] " classabbyamp
@ 2023-05-17 15:24 ` BryceVandegrift
  2023-05-17 15:24 ` [PR REVIEW] " BryceVandegrift
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-05-17 15:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

There is an updated pull request by BryceVandegrift against master on the void-packages repository

https://github.com/BryceVandegrift/void-packages juliaup
https://github.com/void-linux/void-packages/pull/43906

New package: juliaup-1.8.16
This package should allow Julia to be installed since it was [removed](https://github.com/void-linux/void-packages/pull/39919).
Package only supports x86_64, i686, and aarch64

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686-glibc (crossbuild)
  - aarch64-glibc (crossbuild)
  - aarch64-musl (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/43906.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-juliaup-43906.patch --]
[-- Type: text/x-diff, Size: 1141 bytes --]

From 1fada0c0b66df30deb269b315755f87b1145b1a7 Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Tue, 16 May 2023 18:22:00 -0400
Subject: [PATCH] New package: juliaup-1.8.16

---
 srcpkgs/juliaup/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/juliaup/template

diff --git a/srcpkgs/juliaup/template b/srcpkgs/juliaup/template
new file mode 100644
index 000000000000..4670dc094758
--- /dev/null
+++ b/srcpkgs/juliaup/template
@@ -0,0 +1,21 @@
+# Template file for 'juliaup'
+pkgname=juliaup
+version=1.8.16
+revision=1
+archs="x86_64* i686 aarch64"
+build_style=cargo
+short_desc="Julia installer and version multiplexer"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="MIT"
+homepage="https://github.com/JuliaLang/juliaup"
+distfiles="https://github.com/JuliaLang/juliaup/archive/refs/tags/v${version}.tar.gz"
+checksum=99b0d62b589c8a330fffaa2252b8e4251124bfd59077f0789a6a456d3b1ae81a
+
+if [ "$XBPS_TARGET_MACHINE" == "x86_64-musl" ]; then
+	# Disable checks for x86_64-musl
+	make_check=no
+fi
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR REVIEW] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (4 preceding siblings ...)
  2023-05-17 15:24 ` [PR PATCH] [Updated] " BryceVandegrift
@ 2023-05-17 15:24 ` BryceVandegrift
  2023-05-23  0:26 ` hervyqa
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-05-17 15:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New review comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#discussion_r1196700512

Comment:
Thanks for pointing that out. Fixed.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (5 preceding siblings ...)
  2023-05-17 15:24 ` [PR REVIEW] " BryceVandegrift
@ 2023-05-23  0:26 ` hervyqa
  2023-05-23  0:38 ` hervyqa
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: hervyqa @ 2023-05-23  0:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1558264005

Comment:
@BryceVandegrift  thanks, great work!.
```jl
➜  bin ./julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.0 (2023-05-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia>
```

my question, how to setup julia default path?
```fish
➜  bin pwd
/home/hervyqa/.julia/juliaup/julia-1.9.0+0.x64.linux.gnu/bin
➜  bin ls -lah
total 32K
drwxr-xr-x 2 hervyqa hervyqa 4.0K May 23 06:55 ./
drwxr-xr-x 8 hervyqa hervyqa 4.0K May 23 06:55 ../
-rwxr-xr-x 1 hervyqa hervyqa  22K May  8 13:30 julia*
➜  bin 
```

i tried fish (my current shell) or bash, julia command not found.
```fish
➜  bin julia
fish: Unknown command: julia
➜  bin bash
[hervyqa@l7 bin]$ julia
bash: julia: command not found
[hervyqa@l7 bin]$ 
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (6 preceding siblings ...)
  2023-05-23  0:26 ` hervyqa
@ 2023-05-23  0:38 ` hervyqa
  2023-05-23  0:48 ` hervyqa
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: hervyqa @ 2023-05-23  0:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1558275568

Comment:
> my question, how to setup julia default path?

ah my bad. just type `julialauncher`

```jl
➜  ~ julialauncher
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.0 (2023-05-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> 
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (7 preceding siblings ...)
  2023-05-23  0:38 ` hervyqa
@ 2023-05-23  0:48 ` hervyqa
  2023-05-23  2:15 ` hervyqa
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: hervyqa @ 2023-05-23  0:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1558275568

Comment:
> my question, how to setup julia default path?

ah my bad. just type `julialauncher`

```jl
➜  ~ julialauncher
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.0 (2023-05-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> 
```

before this PR https://github.com/JuliaLang/juliaup/pull/639 will merged, i use symlink `doas ln -s /usr/bin/julialauncher /usr/bin/julia`

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (8 preceding siblings ...)
  2023-05-23  0:48 ` hervyqa
@ 2023-05-23  2:15 ` hervyqa
  2023-05-24  7:52 ` damianoognissanti
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: hervyqa @ 2023-05-23  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1558275568

Comment:
> my question, how to setup julia default path?

ah my bad. just type `julialauncher`

```jl
➜  ~ julialauncher
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.0 (2023-05-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> 
```

before this PR https://github.com/JuliaLang/juliaup/pull/639 will merge, i use symlink `doas ln -s /usr/bin/julialauncher /usr/bin/julia`

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (9 preceding siblings ...)
  2023-05-23  2:15 ` hervyqa
@ 2023-05-24  7:52 ` damianoognissanti
  2023-05-24  7:53 ` damianoognissanti
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: damianoognissanti @ 2023-05-24  7:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

New comment by damianoognissanti on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1560623872

Comment:
What is the benefit of this in comparison to just use the binary from the webpage?
I created a simple template (locally just for testing) with
```
# Template file for 'julia-bin'
pkgname=julia-bin
version=1.9.0
revision=1
only_for_archs="x86_64"
short_desc="High-level, high-performance dynamic language for technical computing"
maintainer="Damiano Ognissanti <ognissanti@hotmail.se>"
hostmakedepends="tar gzip"
license="MIT License"
homepage="https://julialang.org/"
distfiles="https://julialang-s3.julialang.org/bin/linux/x64/${version:0:3}/julia-${version}-linux-x86_64.tar.gz"
checksum=00c614466ef9809c2eb23480e38d196a2c577fff2730c4f83d135b913d473359
nostrip=yes

do_install() {
	mkdir -p ${DESTDIR}/opt/
	mkdir -p ${DESTDIR}/usr/bin/
	tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/julia-${version}-linux-x86_64.tar.gz -C ${DESTDIR}/opt/
	ln -s /opt/julia-${version}/bin/julia ${DESTDIR}/usr/bin/julia
}

```

and it works. One could add `https://julialang-s3.julialang.org/bin/musl/x64/1.9/julia-1.9.0-musl-x86_64.tar.gz` for musl compatibility.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (10 preceding siblings ...)
  2023-05-24  7:52 ` damianoognissanti
@ 2023-05-24  7:53 ` damianoognissanti
  2023-05-24  8:23 ` damianoognissanti
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: damianoognissanti @ 2023-05-24  7:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

New comment by damianoognissanti on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1560623872

Comment:
What is the benefit of this in comparison to just use the binary from the webpage?
I created a simple template (locally just for testing) with
```
# Template file for 'julia-bin'
pkgname=julia-bin
version=1.9.0
revision=1
only_for_archs="x86_64"
short_desc="High-level, high-performance dynamic language for technical computing"
maintainer="Damiano Ognissanti <ognissanti@hotmail.se>"
hostmakedepends="tar gzip"
license="MIT License"
homepage="https://julialang.org/"
distfiles="https://julialang-s3.julialang.org/bin/linux/x64/${version:0:3}/julia-${version}-linux-x86_64.tar.gz"
checksum=00c614466ef9809c2eb23480e38d196a2c577fff2730c4f83d135b913d473359
nostrip=yes

do_install() {
	mkdir -p ${DESTDIR}/opt/
	mkdir -p ${DESTDIR}/usr/bin/
	tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/julia-${version}-linux-x86_64.tar.gz -C ${DESTDIR}/opt/
	ln -s /opt/julia-${version}/bin/julia ${DESTDIR}/usr/bin/julia
}

```

and it works. One could add `https://julialang-s3.julialang.org/bin/musl/x64/1.9/julia-1.9.0-musl-x86_64.tar.gz` with an if-statment for musl compatibility.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (11 preceding siblings ...)
  2023-05-24  7:53 ` damianoognissanti
@ 2023-05-24  8:23 ` damianoognissanti
  2023-05-24  8:25 ` damianoognissanti
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: damianoognissanti @ 2023-05-24  8:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]

New comment by damianoognissanti on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1560669602

Comment:
Something like this (but please make any changes you want, and please do change the `maintainer` line, I just added something to that it wasn't empty)

```
# Template file for 'julia-bin'
pkgname=julia-bin
version=1.9.0
revision=1
only_for_archs="x86_64"
short_desc="High-level, high-performance dynamic language for technical computing"
maintainer="Damiano Ognissanti <ognissanti@hotmail.se>"
hostmakedepends="tar gzip"
license="MIT License"
homepage="https://julialang.org/"

if [ "$XBPS_TARGET_LIBC" = "musl" ]
then
    distfiles="https://julialang-s3.julialang.org/bin/musl/x64/${version:0:3}/julia-${version}-musl-x86_64.tar.gz"
else
    distfiles="https://julialang-s3.julialang.org/bin/linux/x64/${version:0:3}/julia-${version}-linux-x86_64.tar.gz"
fi

checksum=00c614466ef9809c2eb23480e38d196a2c577fff2730c4f83d135b913d473359
nostrip=yes

do_install() {
    mkdir -p ${DESTDIR}/opt/
    mkdir -p ${DESTDIR}/usr/bin/
    tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/julia-${version}-linux-x86_64.tar.gz -C ${DESTDIR}/opt/
    ln -s /opt/julia-${version}/bin/julia ${DESTDIR}/usr/bin/julia
}
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (12 preceding siblings ...)
  2023-05-24  8:23 ` damianoognissanti
@ 2023-05-24  8:25 ` damianoognissanti
  2023-05-24  8:26 ` classabbyamp
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: damianoognissanti @ 2023-05-24  8:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

New comment by damianoognissanti on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1560669602

Comment:
Something like this (but please make any changes you want, and please do change the `maintainer` line, I just added something to that it wasn't empty)

```
# Template file for 'julia-bin'
pkgname=julia-bin
version=1.9.0
revision=1
only_for_archs="x86_64"
short_desc="High-level, high-performance dynamic language for technical computing"
maintainer="Damiano Ognissanti <ognissanti@hotmail.se>"
hostmakedepends="tar gzip"
license="MIT License"
homepage="https://julialang.org/"

if [ "$XBPS_TARGET_LIBC" = "musl" ]
then
    distfiles="https://julialang-s3.julialang.org/bin/musl/x64/${version:0:3}/julia-${version}-musl-x86_64.tar.gz"
    checksum=2594ff9a69d86415faae2e2e218ec3a5abbeb41ab3590b646b75824221adcb5b
else
    distfiles="https://julialang-s3.julialang.org/bin/linux/x64/${version:0:3}/julia-${version}-linux-x86_64.tar.gz"
    checksum=00c614466ef9809c2eb23480e38d196a2c577fff2730c4f83d135b913d473359
fi

nostrip=yes

do_install() {
    mkdir -p ${DESTDIR}/opt/
    mkdir -p ${DESTDIR}/usr/bin/
    tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/julia-${version}-linux-x86_64.tar.gz -C ${DESTDIR}/opt/
    ln -s /opt/julia-${version}/bin/julia ${DESTDIR}/usr/bin/julia
}
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (13 preceding siblings ...)
  2023-05-24  8:25 ` damianoognissanti
@ 2023-05-24  8:26 ` classabbyamp
  2023-06-16  3:17 ` hervyqa
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: classabbyamp @ 2023-05-24  8:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1560672547

Comment:
> What is the benefit of this in comparison to just use the binary from the webpage?

1. this is more likely to be accepted
2. you can have multiple julia versions installed/managed
3. probably some other things

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (14 preceding siblings ...)
  2023-05-24  8:26 ` classabbyamp
@ 2023-06-16  3:17 ` hervyqa
  2023-06-25 21:15 ` [PR REVIEW] " classabbyamp
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: hervyqa @ 2023-06-16  3:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#issuecomment-1594030555

Comment:
i think there is no problem. is it ready to merge?
cc: @classabbyamp 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR REVIEW] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (15 preceding siblings ...)
  2023-06-16  3:17 ` hervyqa
@ 2023-06-25 21:15 ` classabbyamp
  2023-07-03  0:53 ` BryceVandegrift
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: classabbyamp @ 2023-06-25 21:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#discussion_r1241289353

Comment:
can you explain why they fail?

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR REVIEW] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (16 preceding siblings ...)
  2023-06-25 21:15 ` [PR REVIEW] " classabbyamp
@ 2023-07-03  0:53 ` BryceVandegrift
  2023-07-03  1:00 ` [PR PATCH] [Updated] " BryceVandegrift
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-07-03  0:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

New review comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#discussion_r1249961095

Comment:
I will enable them and see what happens, they don't fail when I run them natively.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Updated] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (17 preceding siblings ...)
  2023-07-03  0:53 ` BryceVandegrift
@ 2023-07-03  1:00 ` BryceVandegrift
  2023-07-03  1:09 ` [PR REVIEW] " BryceVandegrift
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-07-03  1:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

There is an updated pull request by BryceVandegrift against master on the void-packages repository

https://github.com/BryceVandegrift/void-packages juliaup
https://github.com/void-linux/void-packages/pull/43906

New package: juliaup-1.8.16
This package should allow Julia to be installed since it was [removed](https://github.com/void-linux/void-packages/pull/39919).
Package only supports x86_64, i686, and aarch64

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686-glibc (crossbuild)
  - aarch64-glibc (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/43906.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-juliaup-43906.patch --]
[-- Type: text/x-diff, Size: 1025 bytes --]

From d5e142403de406176436912ac7a74d15c881d5c2 Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Tue, 16 May 2023 18:22:00 -0400
Subject: [PATCH] New package: juliaup-1.8.16

---
 srcpkgs/juliaup/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/juliaup/template

diff --git a/srcpkgs/juliaup/template b/srcpkgs/juliaup/template
new file mode 100644
index 000000000000..9311fbf9ef2c
--- /dev/null
+++ b/srcpkgs/juliaup/template
@@ -0,0 +1,16 @@
+# Template file for 'juliaup'
+pkgname=juliaup
+version=1.8.16
+revision=1
+archs="x86_64* i686 aarch64"
+build_style=cargo
+short_desc="Julia installer and version multiplexer"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="MIT"
+homepage="https://github.com/JuliaLang/juliaup"
+distfiles="https://github.com/JuliaLang/juliaup/archive/refs/tags/v${version}.tar.gz"
+checksum=99b0d62b589c8a330fffaa2252b8e4251124bfd59077f0789a6a456d3b1ae81a
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR REVIEW] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (18 preceding siblings ...)
  2023-07-03  1:00 ` [PR PATCH] [Updated] " BryceVandegrift
@ 2023-07-03  1:09 ` BryceVandegrift
  2023-07-04  9:44 ` [PR PATCH] [Updated] " classabbyamp
  2023-07-04  9:56 ` [PR PATCH] [Merged]: " classabbyamp
  21 siblings, 0 replies; 23+ messages in thread
From: BryceVandegrift @ 2023-07-03  1:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

New review comment by BryceVandegrift on void-packages repository

https://github.com/void-linux/void-packages/pull/43906#discussion_r1249973912

Comment:
I'm not sure why they fail. If I recall correctly, last time I checked, the devs of juliaup disable x86_64-musl checks so I would ask them.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Updated] New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (19 preceding siblings ...)
  2023-07-03  1:09 ` [PR REVIEW] " BryceVandegrift
@ 2023-07-04  9:44 ` classabbyamp
  2023-07-04  9:56 ` [PR PATCH] [Merged]: " classabbyamp
  21 siblings, 0 replies; 23+ messages in thread
From: classabbyamp @ 2023-07-04  9:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/BryceVandegrift/void-packages juliaup
https://github.com/void-linux/void-packages/pull/43906

New package: juliaup-1.8.16
This package should allow Julia to be installed since it was [removed](https://github.com/void-linux/void-packages/pull/39919).
Package only supports x86_64, i686, and aarch64

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686-glibc (crossbuild)
  - aarch64-glibc (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/43906.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-juliaup-43906.patch --]
[-- Type: text/x-diff, Size: 1198 bytes --]

From 376c9fb38b29dc34cb20fc7d035ddaaf899ad212 Mon Sep 17 00:00:00 2001
From: Bryce Vandegrift <bryce@brycevandegrift.xyz>
Date: Tue, 16 May 2023 18:22:00 -0400
Subject: [PATCH] New package: juliaup-1.8.16

---
 srcpkgs/juliaup/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/juliaup/template

diff --git a/srcpkgs/juliaup/template b/srcpkgs/juliaup/template
new file mode 100644
index 000000000000..3f718e4692d8
--- /dev/null
+++ b/srcpkgs/juliaup/template
@@ -0,0 +1,21 @@
+# Template file for 'juliaup'
+pkgname=juliaup
+version=1.8.16
+revision=1
+archs="x86_64* i686 aarch64"
+build_style=cargo
+short_desc="Julia installer and version multiplexer"
+maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
+license="MIT"
+homepage="https://github.com/JuliaLang/juliaup"
+distfiles="https://github.com/JuliaLang/juliaup/archive/refs/tags/v${version}.tar.gz"
+checksum=99b0d62b589c8a330fffaa2252b8e4251124bfd59077f0789a6a456d3b1ae81a
+
+if [ "$XBPS_TARGET_MACHINE" = x86_64-musl ]; then
+	# command_add test fails, doesn't seem to be able to launch the downloaded julia in the test
+	make_check=no
+fi
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Merged]: New package: juliaup-1.8.16
  2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
                   ` (20 preceding siblings ...)
  2023-07-04  9:44 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-07-04  9:56 ` classabbyamp
  21 siblings, 0 replies; 23+ messages in thread
From: classabbyamp @ 2023-07-04  9:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

There's a merged pull request on the void-packages repository

New package: juliaup-1.8.16
https://github.com/void-linux/void-packages/pull/43906

Description:
This package should allow Julia to be installed since it was [removed](https://github.com/void-linux/void-packages/pull/39919).
Package only supports x86_64, i686, and aarch64

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - i686-glibc (crossbuild)
  - aarch64-glibc (crossbuild)

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2023-07-04  9:56 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-16 22:27 [PR PATCH] New package: juliaup-1.8.16 BryceVandegrift
2023-05-17  0:54 ` BryceVandegrift
2023-05-17  1:22 ` [PR PATCH] [Updated] " BryceVandegrift
2023-05-17  1:24 ` BryceVandegrift
2023-05-17  1:47 ` [PR REVIEW] " classabbyamp
2023-05-17 15:24 ` [PR PATCH] [Updated] " BryceVandegrift
2023-05-17 15:24 ` [PR REVIEW] " BryceVandegrift
2023-05-23  0:26 ` hervyqa
2023-05-23  0:38 ` hervyqa
2023-05-23  0:48 ` hervyqa
2023-05-23  2:15 ` hervyqa
2023-05-24  7:52 ` damianoognissanti
2023-05-24  7:53 ` damianoognissanti
2023-05-24  8:23 ` damianoognissanti
2023-05-24  8:25 ` damianoognissanti
2023-05-24  8:26 ` classabbyamp
2023-06-16  3:17 ` hervyqa
2023-06-25 21:15 ` [PR REVIEW] " classabbyamp
2023-07-03  0:53 ` BryceVandegrift
2023-07-03  1:00 ` [PR PATCH] [Updated] " BryceVandegrift
2023-07-03  1:09 ` [PR REVIEW] " BryceVandegrift
2023-07-04  9:44 ` [PR PATCH] [Updated] " classabbyamp
2023-07-04  9:56 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).