public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Alien-Gnuplot/, dev-perl/Alien-Gnuplot/files/
@ 2021-01-24 17:28 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2021-01-24 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     c2832cbcfbcefc77050a6f3ffeaa40e64f632f5f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 17:28:18 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 17:28:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2832cbc

dev-perl/Alien-Gnuplot: Fix gnuplot version detection

Closes: https://bugs.gentoo.org/709670
Acked-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild          |  4 +++-
 .../Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch  | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild b/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild
index 51d0baff15c..0da98dc7759 100644
--- a/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild
+++ b/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,3 +23,5 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	virtual/perl-ExtUtils-MakeMaker
 "
+
+PATCHES=( "${FILESDIR}/${P}-version.patch" )

diff --git a/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch b/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch
new file mode 100644
index 00000000000..415db6890dd
--- /dev/null
+++ b/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/709670
+
+--- a/lib/Alien/Gnuplot.pm
++++ b/lib/Alien/Gnuplot.pm
+@@ -289,7 +289,7 @@
+ your GNUPLOT_BINARY variable to an actual gnuplot.
+ };
+     
+-    $lines =~ m/Version (\d+\.\d+) (patchlevel (\d+))?/ or die qq{
++    $lines =~ m/Version (\d+\.\d+(?:\.\d+)?) (patchlevel (\d+))?/ or die qq{
+ Alien::Gnuplot: the executable file $exec_path claims to be gnuplot, but 
+ I could not parse a version number from its output.  Sorry, I give up.
+ 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Alien-Gnuplot/, dev-perl/Alien-Gnuplot/files/
@ 2024-04-28  6:51 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-04-28  6:51 UTC (permalink / raw
  To: gentoo-commits

commit:     fec2c6a98da2059f5d696d0015c0c75cd522dd7d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 05:57:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 06:50:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec2c6a9

dev-perl/Alien-Gnuplot: add 1.43.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.43.0.ebuild | 32 ++++++++++++++++++++++
 dev-perl/Alien-Gnuplot/Manifest                    |  1 +
 .../files/Alien-Gnuplot-1.43.0-version.patch       | 13 +++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.43.0.ebuild b/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.43.0.ebuild
new file mode 100644
index 000000000000..6c6743be004c
--- /dev/null
+++ b/dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.43.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_VERSION=1.043
+DIST_AUTHOR=ETJ
+inherit perl-module
+
+DESCRIPTION="Find and verify functionality of the gnuplot executable"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	>=dev-perl/Alien-Build-0.250.0
+	virtual/perl-File-Spec
+	virtual/perl-File-Temp
+	virtual/perl-HTTP-Tiny
+	virtual/perl-Time-HiRes
+	sci-visualization/gnuplot
+"
+BDEPEND="
+	${RDEPEND}
+	>=dev-perl/Alien-Build-2.190.0
+	>=dev-perl/Alien-Base-ModuleBuild-0.320.0
+	>=virtual/perl-ExtUtils-MakeMaker-6.520.0
+	dev-perl/File-Which
+	test? ( dev-perl/Test-Exception )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.43.0-version.patch" )

diff --git a/dev-perl/Alien-Gnuplot/Manifest b/dev-perl/Alien-Gnuplot/Manifest
index 1dafcdaf3695..a326e3dc43dc 100644
--- a/dev-perl/Alien-Gnuplot/Manifest
+++ b/dev-perl/Alien-Gnuplot/Manifest
@@ -1 +1,2 @@
 DIST Alien-Gnuplot-1.034.tar.gz 8662 BLAKE2B ce0f520326c2228f68c826a49c1793a7e7152e22a7593ae2e99094c8db1348f8e566efbc963b0089965681a5586b71fd8551b0a230b81506e2229ab538861fe0 SHA512 9fc4d9e92a478c9399802b5161966efc625b676afaef2f212e8706da28a03f4fc265df953e55f0ad541795d90aa9066f71838362146cb8aae3caf9f0ea157fc8
+DIST Alien-Gnuplot-1.043.tar.gz 9861 BLAKE2B b535c046fed769806050d89002de7eec72d41d9ef7c01095c7d4c94760a130ad69cb966d2eebe4fc9e9e8181007eb1004a9385cfe0c8b64cdd9d0bee9ed09cc6 SHA512 18ac5b36cb5b6bfc514a7050caa5663bead2e0597c9078fb71e90ab601a8d7f4eb0cbbe8dd6e007f0248aa826cc15d7938e61c8a02eb01f6a230f009c80ca45e

diff --git a/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.43.0-version.patch b/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.43.0-version.patch
new file mode 100644
index 000000000000..7b49ae5016e2
--- /dev/null
+++ b/dev-perl/Alien-Gnuplot/files/Alien-Gnuplot-1.43.0-version.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/709670
+
+--- a/lib/Alien/Gnuplot.pm
++++ b/lib/Alien/Gnuplot.pm
+@@ -316,7 +316,7 @@ Raw output from Gnuplot:
+ $lines
+ };
+     
+-    $lines =~ m/Version (\d+\.\d+) (patchlevel (\d+))?/ or die qq{
++    $lines =~ m/Version (\d+\.\d+(?:\.\d+)?) (patchlevel (\d+))?/ or die qq{
+ Alien::Gnuplot: the executable file $exec_path claims to be gnuplot, but 
+ I could not parse a version number from its output.  Sorry, I give up.
+ 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-28  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-24 17:28 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Alien-Gnuplot/, dev-perl/Alien-Gnuplot/files/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2024-04-28  6:51 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox