From e90945e2cb17c073d072bd78b3c1b91057315eb1 Mon Sep 17 00:00:00 2001 From: Chocolatey Community Date: Mon, 12 Jul 2021 06:13:44 +0000 Subject: [PATCH] AU: 1 updated - octave.portable [skip ci] https://gist.github.com/a14b1e5bfaf70839b338eb1ab7f8226f/8e1d3540ee4a175d222d771eb66566526df558be --- .../octave.portable/legal/VERIFICATION.txt | 8 ++++---- .../octave.portable/octave.portable.nuspec | 19 +++++++++++++++++-- .../tools/chocolateyInstall.ps1 | 10 +++++----- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/automatic/octave.portable/legal/VERIFICATION.txt b/automatic/octave.portable/legal/VERIFICATION.txt index 737dd928659..cecc304cab1 100644 --- a/automatic/octave.portable/legal/VERIFICATION.txt +++ b/automatic/octave.portable/legal/VERIFICATION.txt @@ -8,8 +8,8 @@ location on and can be verified by doing the following: 1. Download the following: - 32-bit software: - 64-bit software: + 32-bit software: + 64-bit software: 2. Get the checksum using one of the following methods: - Using powershell function 'Get-FileHash' @@ -18,7 +18,7 @@ and can be verified by doing the following: 3. The checksums should match the following: checksum type: sha256 - checksum32: 4f205b4d9c8a6f03895c4c1e1aefa4c32d2d0b290976831bd52c3ab951414081 - checksum64: 2011d03a651f29310267893633caf5d8b9394da3799da6f01c225b32630d0091 + checksum32: 63cc1269c389dd5a399e0e0f47e44cc2caaaeda45d5b062ba6f35e52f81e92a3 + checksum64: 826d87b00dedc6f7cc9138ddb2cf238d28e98ca8eec5d732b704c4698407ee71 File 'gpl-3.0.txt' is obtained from diff --git a/automatic/octave.portable/octave.portable.nuspec b/automatic/octave.portable/octave.portable.nuspec index 50a4c143d74..6e19828792b 100644 --- a/automatic/octave.portable/octave.portable.nuspec +++ b/automatic/octave.portable/octave.portable.nuspec @@ -3,7 +3,7 @@ octave.portable - 6.2.0 + 6.3.0 https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/octave.portable chocolatey-community,dgalbraith,Andrei Bejenaru GNU Octave (Portable) @@ -25,11 +25,26 @@ GNU Octave is a high-level language, primarily intended for numerical computatio Octave has extensive tools for solving common numerical linear algebra problems, finding the roots of nonlinear equations, integrating ordinary functions, manipulating polynomials, and integrating ordinary differential and differential-algebraic equations. It is easily extensible and customizable via user-defined functions written in Octave’s own language, or using dynamically loaded modules written in C++, C, Fortran, or other languages. -### Features: +## Features + * Powerful mathematics-oriented syntax with built-in plotting and visualization tools * Drop-in compatible with many Matlab scripts * Octave Forge, a central location for development of packages for GNU Octave, similar to Matlab's toolboxes. * Free software, runs on GNU/Linux, macOS, BSD, and Windows + +## Package parameters + +The following package parameters can be set: + +* `/DesktopIcon` - Add icons for Octave to the Desktop. By default no icons are added. +* `/StartMenu` - Add icons for Octave to the Start Menu. By default no icons are added. +* `/LocalUser` - Install only for local user. By default any Octave shortcuts will be installed for all users. + +Example: `choco install octave.install --params "/DesktopIcon /StartMenu /LocalUser"` + +## Notes + +* The package makes Octave available through the `octave` (GUI) and `octave-cli` (CLI) shims following installation ]]> https://www.gnu.org/software/octave/news/release/2021/02/20/octave-6.2.0-released.html diff --git a/automatic/octave.portable/tools/chocolateyInstall.ps1 b/automatic/octave.portable/tools/chocolateyInstall.ps1 index 05c67c83064..7bcdf4d8eb8 100644 --- a/automatic/octave.portable/tools/chocolateyInstall.ps1 +++ b/automatic/octave.portable/tools/chocolateyInstall.ps1 @@ -1,6 +1,6 @@ $ErrorActionPreference = 'Stop' -$version = '6.2.0' +$version = '6.3.0' $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition) $progDir = "$toolsDir\octave" @@ -10,10 +10,10 @@ $osBitness = Get-OSArchitectureWidth $packageArgs = @{ PackageName = 'octave.portable' UnzipLocation = $toolsDir - Url = 'https://ftp.gnu.org/gnu/octave/windows/octave-6.2.0-w32.7z' - Url64 = 'https://ftp.gnu.org/gnu/octave/windows/octave-6.2.0-w64.7z' - Checksum = '4f205b4d9c8a6f03895c4c1e1aefa4c32d2d0b290976831bd52c3ab951414081' - Checksum64 = '2011d03a651f29310267893633caf5d8b9394da3799da6f01c225b32630d0091' + Url = 'https://ftp.gnu.org/gnu/octave/windows/octave-6.3.0-w32.7z' + Url64 = 'https://ftp.gnu.org/gnu/octave/windows/octave-6.3.0-w64.7z' + Checksum = '63cc1269c389dd5a399e0e0f47e44cc2caaaeda45d5b062ba6f35e52f81e92a3' + Checksum64 = '826d87b00dedc6f7cc9138ddb2cf238d28e98ca8eec5d732b704c4698407ee71' ChecksumType = 'sha256' ChecksumType64 = 'sha256' }