SHA256
1
0
forked from pool/juliaup

Accepting request 959859 from home:uncomfyhalomacro

I want to maintain this package in science. This package allows julia users to install julia and even use it to manage versions of it.

OBS-URL: https://build.opensuse.org/request/show/959859
OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=1
This commit is contained in:
Christian Goll 2022-03-10 16:50:24 +00:00 committed by Git OBS Bridge
commit cca8a72ceb
8 changed files with 124 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

28
_service Normal file
View File

@ -0,0 +1,28 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/JuliaLang/juliaup</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">v1.5.37</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)~0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">socvirnyl.estela@gmail.com</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">juliaup</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">juliaup</param>
</service>
</services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
juliaup-1.5.37.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:230589d2b2e14e47195962435a254e793e4c7ec7b3805dcd9373ba77eaca4922
size 25289064

5
juliaup.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Mar 3 10:33:35 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Initial spec (1.5.37)

56
juliaup.spec Normal file
View File

@ -0,0 +1,56 @@
#
# spec file for package juliaup
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: juliaup
Version: 1.5.37
Release: 0
Summary: Julia installer and version multiplexer
License: MIT
Url: https://github.com/JuliaLang/juliaup
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: cargo_config
Conflicts: julia
BuildRequires: cargo-packaging
%description
A cross-platform installer for the Julia programming language.
The installer also bundles a full Julia version manager called juliaup.
One can use juliaup to install specific Julia versions, it alerts users when new Julia versions are released and provides a convenient Julia release channel abstraction.
%prep
%autosetup -a1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
%{cargo_build}
%install
%{cargo_install}
ln -sv "%{_bindir}/julialauncher" "%{buildroot}/%{_bindir}/julia"
%files
%license LICENSE
%doc README.md
%{_bindir}/julia
%{_bindir}/juliainstaller
%{_bindir}/julialauncher
%{_bindir}/juliaup
%changelog

3
vendor.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4adf01189fe0c8936e1854cb1f72aaefa8cc66fc2bd04c975b7f3eb10ad5ea6f
size 24618340