Skip to content

Commit

Permalink
AU: 1 updated - octave.portable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jul 12, 2021
1 parent c0e2bd2 commit e90945e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
8 changes: 4 additions & 4 deletions automatic/octave.portable/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ location on <https://www.gnu.org/software/octave/download.html>
and can be verified by doing the following:

1. Download the following:
32-bit software: <https://ftp.gnu.org/gnu/octave/windows/octave-6.2.0-w32.7z>
64-bit software: <https://ftp.gnu.org/gnu/octave/windows/octave-6.2.0-w64.7z>
32-bit software: <https://ftp.gnu.org/gnu/octave/windows/octave-6.3.0-w32.7z>
64-bit software: <https://ftp.gnu.org/gnu/octave/windows/octave-6.3.0-w64.7z>

2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
Expand All @@ -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 <https://www.gnu.org/software/octave/license.html>
19 changes: 17 additions & 2 deletions automatic/octave.portable/octave.portable.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>octave.portable</id>
<version>6.2.0</version>
<version>6.3.0</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/octave.portable</packageSourceUrl>
<owners>chocolatey-community,dgalbraith,Andrei Bejenaru</owners>
<title>GNU Octave (Portable)</title>
Expand All @@ -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
]]></description>
<releaseNotes>https://www.gnu.org/software/octave/news/release/2021/02/20/octave-6.2.0-released.html</releaseNotes>
</metadata>
Expand Down
10 changes: 5 additions & 5 deletions automatic/octave.portable/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$ErrorActionPreference = 'Stop'

$version = '6.2.0'
$version = '6.3.0'

$toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$progDir = "$toolsDir\octave"
Expand All @@ -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'
}
Expand Down

0 comments on commit e90945e

Please sign in to comment.