Date: Tuesday, April 11, 2023 @ 17:51:07
Author: jelle
Revision: 1444705
archrelease: copy trunk to community-staging-any
Added:
python-gnuplot/repos/community-staging-any/
python-gnuplot/repos/community-staging-any/0001-1.8-is-not-a-valid-version-number.patch
(from rev 1444704,
python-gnuplot/trunk/0001-1.8-is-not-a-valid-version-number.patch)
python-gnuplot/repos/community-staging-any/PKGBUILD
(from rev 1444704, python-gnuplot/trunk/PKGBUILD)
----------------------------------------------+
0001-1.8-is-not-a-valid-version-number.patch | 25 ++++++++++++++++++++
PKGBUILD | 31 +++++++++++++++++++++++++
2 files changed, 56 insertions(+)
Copied:
python-gnuplot/repos/community-staging-any/0001-1.8-is-not-a-valid-version-number.patch
(from rev 1444704,
python-gnuplot/trunk/0001-1.8-is-not-a-valid-version-number.patch)
===================================================================
--- community-staging-any/0001-1.8-is-not-a-valid-version-number.patch
(rev 0)
+++ community-staging-any/0001-1.8-is-not-a-valid-version-number.patch
2023-04-11 17:51:07 UTC (rev 1444705)
@@ -0,0 +1,25 @@
+From b79ff144297597b405f510d08ebad60f074cdb39 Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <[email protected]>
+Date: Tue, 11 Apr 2023 19:47:27 +0200
+Subject: [PATCH] 1.8+ is not a valid version number
+
+---
+ Gnuplot/__init__.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Gnuplot/__init__.py b/Gnuplot/__init__.py
+index d707af4..758d455 100644
+--- a/Gnuplot/__init__.py
++++ b/Gnuplot/__init__.py
+@@ -155,7 +155,7 @@ Bugs:
+
+ """
+
+-__version__ = '1.8+'
++__version__ = '1.8'
+
+ # Other modules that should be loaded for 'from Gnuplot import *':
+ __all__ = ['utils', 'funcutils', ]
+--
+2.40.0
+
Copied: python-gnuplot/repos/community-staging-any/PKGBUILD (from rev 1444704,
python-gnuplot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-11 17:51:07 UTC (rev 1444705)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F. Rødseth <[email protected]>
+# Contributor: Michael Krauss <[email protected]>
+# Contributor: Baptiste Jonglez <zerstorer at free dot fr>
+
+pkgbase=python-gnuplot
+pkgname=(python-gnuplot)
+pkgver=1.8
+pkgrel=13
+pkgdesc='Plot graphs with Gnuplot'
+arch=(any)
+license=(LGPL)
+url='https://gnuplot-py.sourceforge.net/'
+depends=(python-numpy gnuplot)
+makedepends=(git python-setuptools)
+source=("git+https://github.com/yuyichao/gnuplot-py#commit=2c2218dc67"
+ "0001-1.8-is-not-a-valid-version-number.patch")
+sha256sums=('SKIP'
+ '8d37967c27426669b42b7644f4c9ee3c424e99eeb46b82a6c8b6662a29781b6c')
+
+prepare() {
+ cd gnuplot-py
+ patch -Np1 -i ${srcdir}/0001-1.8-is-not-a-valid-version-number.patch
+}
+
+package() {
+ cd gnuplot-py
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+# vim: ts=2 sw=2 et: