Date: Tuesday, April 11, 2023 @ 17:50:57 Author: jelle Revision: 1444704
python 3.11 rebuild Added: python-gnuplot/trunk/0001-1.8-is-not-a-valid-version-number.patch Modified: python-gnuplot/trunk/PKGBUILD ----------------------------------------------+ 0001-1.8-is-not-a-valid-version-number.patch | 25 +++++++++++++++++++++++++ PKGBUILD | 13 ++++++++++--- 2 files changed, 35 insertions(+), 3 deletions(-) Added: 0001-1.8-is-not-a-valid-version-number.patch =================================================================== --- 0001-1.8-is-not-a-valid-version-number.patch (rev 0) +++ 0001-1.8-is-not-a-valid-version-number.patch 2023-04-11 17:50:57 UTC (rev 1444704) @@ -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 + Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-11 16:54:59 UTC (rev 1444703) +++ PKGBUILD 2023-04-11 17:50:57 UTC (rev 1444704) @@ -5,7 +5,7 @@ pkgbase=python-gnuplot pkgname=(python-gnuplot) pkgver=1.8 -pkgrel=12 +pkgrel=13 pkgdesc='Plot graphs with Gnuplot' arch=(any) license=(LGPL) @@ -12,9 +12,16 @@ url='https://gnuplot-py.sourceforge.net/' depends=(python-numpy gnuplot) makedepends=(git python-setuptools) -source=("git+https://github.com/yuyichao/gnuplot-py#commit=2c2218dc67") -sha256sums=('SKIP') +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
