From cca8a72ceb4065ab363bff9297783252fc8c49a24453bdd0a97000829a758949 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Thu, 10 Mar 2022 16:50:24 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + _service | 28 ++++++++++++++++++++++ cargo_config | 5 ++++ juliaup-1.5.37.tar.xz | 3 +++ juliaup.changes | 5 ++++ juliaup.spec | 56 +++++++++++++++++++++++++++++++++++++++++++ vendor.tar.xz | 3 +++ 8 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 cargo_config create mode 100644 juliaup-1.5.37.tar.xz create mode 100644 juliaup.changes create mode 100644 juliaup.spec create mode 100644 vendor.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..9c80a8c --- /dev/null +++ b/_service @@ -0,0 +1,28 @@ + + + https://github.com/JuliaLang/juliaup + @PARENT_TAG@~@TAG_OFFSET@ + git + v1.5.37 + * + v(\d+\.\d+\.\d+)~0 + \1 + enable + socvirnyl.estela@gmail.com + + + + *.tar + xz + + + + juliaup + xz + true + + + juliaup + + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/juliaup-1.5.37.tar.xz b/juliaup-1.5.37.tar.xz new file mode 100644 index 0000000..ff53b63 --- /dev/null +++ b/juliaup-1.5.37.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:230589d2b2e14e47195962435a254e793e4c7ec7b3805dcd9373ba77eaca4922 +size 25289064 diff --git a/juliaup.changes b/juliaup.changes new file mode 100644 index 0000000..52e7595 --- /dev/null +++ b/juliaup.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Mar 3 10:33:35 UTC 2022 - Soc Virnyl Estela + +- Initial spec (1.5.37) + diff --git a/juliaup.spec b/juliaup.spec new file mode 100644 index 0000000..9b744c0 --- /dev/null +++ b/juliaup.spec @@ -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 diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..a88fad8 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4adf01189fe0c8936e1854cb1f72aaefa8cc66fc2bd04c975b7f3eb10ad5ea6f +size 24618340