Github messages for voidlinux
 help / color / mirror / Atom feed
From: olafmersmann <olafmersmann@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] octave: update to 6.1.0.
Date: Wed, 24 Feb 2021 09:47:35 +0100	[thread overview]
Message-ID: <20210224084735._Chng5EMysN6DaEyTFes-NO6VUaLqPx6yHJxcnpNEJ4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27775@inbox.vuxu.org>

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

There is an updated 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: 2476 bytes --]

From 53b8a3e6293d73f49543ceac1923d8983abe9471 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.2.0.

---
 srcpkgs/octave/template | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/octave/template b/srcpkgs/octave/template
index faac10a9818..39123d49767 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.2.0
+revision=1
 build_style=gnu-configure
-configure_args=" --with-blas=openblas --with-lapack=openblas"
-hostmakedepends="perl gcc-fortran pkg-config gnuplot"
+hostmakedepends="perl gcc-fortran pkg-config gnuplot texinfo texlive-dvi tar"
 makedepends="pcre-devel openblas-devel readline-devel libSM-devel libltdl-devel
  lcms2-devel glpk-devel"
-depends="$(vopt_if gui qt5-plugin-sqlite) texinfo"
+depends="$(vopt_if gui qt5-plugin-sqlite) texinfo texlive-dvi tar"
+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=457d1fda8634a839e2fd7cfc55b98bd56f36b6ae73d31bb9df43dde3012caa7c
+
+# 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
@@ -65,7 +79,7 @@ makedepends+="
 	$(vopt_if curl libcurl-devel)
 	$(vopt_if fftw3 fftw-devel)
 	$(vopt_if graphicsmagick libgraphicsmagick-devel)
-	$(vopt_if gui 'qt5-devel qscintilla-qt5-devel qt5-tools-devel')
+	$(vopt_if gui 'qt5-devel qt5-plugin-sqlite qscintilla-qt5-devel qt5-tools-devel')
 	$(vopt_if hdf5 hdf5-devel)
 	$(vopt_if imagemagick libmagick-devel)
 	$(vopt_if opengl "glu-devel fltk-devel fontconfig-devel freetype-devel gl2ps-devel")

  parent reply	other threads:[~2021-02-24  8:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08 23:21 [PR PATCH] " olafmersmann
2021-02-15  4:00 ` ericonr
2021-02-15  4:01 ` ericonr
2021-02-24  8:47 ` olafmersmann [this message]
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=20210224084735._Chng5EMysN6DaEyTFes-NO6VUaLqPx6yHJxcnpNEJ4@z \
    --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).