Github messages for voidlinux
 help / color / mirror / Atom feed
From: olafmersmann <olafmersmann@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] [WIP] octave: update to 6.1.0.
Date: Sat, 09 Jan 2021 00:21:09 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27775@inbox.vuxu.org> (raw)

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

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

https://github.com/olafmersmann/void-packages octave
https://github.com/void-linux/void-packages/pull/27775

[WIP] octave: update to 6.1.0.


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

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

From f39d326885ca2864141ad05a0bb046f40cd04451 Mon Sep 17 00:00:00 2001
From: Olaf Mersmann <olafm@p-value.net>
Date: Tue, 5 Jan 2021 00:16:17 +0100
Subject: [PATCH] octave: update to 6.1.0.

---
 srcpkgs/octave/template | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/octave/template b/srcpkgs/octave/template
index faac10a9818..4dc6335909e 100644
--- a/srcpkgs/octave/template
+++ b/srcpkgs/octave/template
@@ -1,19 +1,33 @@
 # Template file for 'octave'
 pkgname=octave
-version=5.2.0
-revision=2
+version=6.1.0
+revision=1
 build_style=gnu-configure
-configure_args=" --with-blas=openblas --with-lapack=openblas"
 hostmakedepends="perl gcc-fortran pkg-config gnuplot"
 makedepends="pcre-devel openblas-devel readline-devel libSM-devel libltdl-devel
- lcms2-devel glpk-devel"
+ lcms2-devel glpk-devel texinfo"
 depends="$(vopt_if gui qt5-plugin-sqlite) texinfo"
+checkdepends="texlive-dvi tar zip unzip"
 short_desc="High-level language, primarily intended for numerical computations"
 maintainer="Diogo Leal <diogo@diogoleal.com>"
 license="GPL-3.0-or-later"
 homepage="https://gnu.org/software/octave/"
+changelog="https://www.gnu.org/software/octave/NEWS-6.1.html"
 distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
-checksum=2fea62b3c78d6f38e9451da8a4d26023840725977dffee5250d3d180f56595e1
+checksum=6ff34e401658622c44094ecb67e497672e4337ca2d36c0702d0403ecc60b0a57
+
+# Use OpenBLAS on platforms where it is available and fallback to regular BLAS
+# on all others.
+case "$XBPS_TARGET_MACHINE" in
+	# List of supported architectures copied from openblas.
+	armv[67]*|aarch64*|i686*|x86_64*|ppc64*)
+		makedepends+=" openblas-devel"
+		configure_args=" --with-blas=openblas --with-lapack=openblas"
+		;;
+	*)
+		makedepends+=" blas-devel lapack-devel"
+		;;
+esac
 
 # Package build options
 # TODO: some options are still missing, such as

             reply	other threads:[~2021-01-08 23:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08 23:21 olafmersmann [this message]
2021-02-15  4:00 ` ericonr
2021-02-15  4:01 ` ericonr
2021-02-24  8:47 ` [PR PATCH] [Updated] " olafmersmann
2021-03-28 18:22 ` [PR REVIEW] " Piraty
2021-03-28 18:22 ` Piraty
2021-03-28 18:22 ` Piraty
2021-03-30 18:35 ` [PR REVIEW] " ericonr
2021-03-30 18:37 ` ericonr
2021-03-30 18:37 ` ericonr
2021-03-30 18:37 ` ericonr
2021-03-31 21:39 ` [PR REVIEW] [WIP] octave: update to 6.2.0 olafmersmann
2021-08-11  2:29 ` [PR PATCH] [Updated] " ericonr
2021-08-11  2:44 ` ericonr
2021-08-11  2:59 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27775@inbox.vuxu.org \
    --to=olafmersmann@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).