python-pyvista 0.38.5-1 (aarch64;znver1;x86_64) 2023-17456
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/331483
Packages
python-pyvista-0.38.5-1.aarch64.binary
python-pyvista-0.38.5-1.aarch64.source
python-pyvista-0.38.5-1.znver1.source
python-pyvista-0.38.5-1.znver1.binary
python-pyvista-0.38.5-1.x86_64.source
python-pyvista-0.38.5-1.x86_64.binary
Build Date 2023-04-13 08:36:11 +0000 UTC
Last Updated 2023-04-16 01:02:57.838591778 +0000 UTC
$ git diff --patch-with-stat --summary 534f8d9af5f33217cbe2de9e92c744d5372f72e6..b281575b009bd2743112580c23ad5eb3a297a1f3

 .abf.yml            |  3 +--
 check-update.sh     |  5 -----
 python-pyvista.spec | 28 ++++++++++++++--------------
 3 files changed, 15 insertions(+), 21 deletions(-)
 delete mode 100755 check-update.sh

diff --git a/.abf.yml b/.abf.yml
index a1d1e53..7d98ab2 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,3 +1,2 @@
 sources:
-  pyvista-0.36.1.tar.gz: 9cc445d0635b20832c66bfa21aa34cc9594fd173
-
+  pyvista-0.38.5.tar.gz: bf5ca74a46d1b659a3abdbfddcfa2dbeb1e9217c
diff --git a/check-update.sh b/check-update.sh
deleted file mode 100755
index 0c0a213..0000000
--- a/check-update.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-py_module=pyvista
-curl https://pypi.org/project/${py_module}/ 2>/dev/null |grep -A1 "package-header__name" |sed -ne "s,.*${py_module} ,,p"
-
-
diff --git a/python-pyvista.spec b/python-pyvista.spec
index 078aca5..a67c044 100644
--- a/python-pyvista.spec
+++ b/python-pyvista.spec
@@ -1,20 +1,20 @@
-%global module	pyvista
-%global fname %(m=%{module}; echo ${m:0:1})
-
-Summary:	A Python  3D plotting and mesh analysis library
-Name:		python-%{module}
-Version:	0.36.1
+Summary:	A Python 3D plotting and mesh analysis library
+Name:		python-pyvista
+Version:	0.38.5
 Release:	1
 Group:		Development/Python
 License:	MIT
 URL:		https://github.com/pyvista/pyvista
-#Source0:	https://github.com/pyvista/%{module}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
-Source0:	https://pypi.io/packages/source/%{fname}/%{module}/%{module}-%{version}.tar.gz
+#Source0:	https://github.com/pyvista/pyvista/archive/refs/tags/v%{version}/pyvista-%{version}.tar.gz
+Source0:	https://pypi.io/packages/source/p/pyvista/pyvista-%{version}.tar.gz
 BuildRequires:	pkgconfig(python)
-BuildRequires:	python3dist(pip)
-BuildRequires:	python3dist(setuptools)
-BuildRequires:	python3dist(wheel)
+BuildRequires:	python%{pyver}dist(pip)
+BuildRequires:	python%{pyver}dist(poetry-core)
+BuildRequires:	python%{pyver}dist(setuptools)
+BuildRequires:	python%{pyver}dist(wheel)
 
+# (mandian) python-vtk does not provide python%{py_ver}dist(vtk)
+%global __requires_exclude  ^python%{pyver}dist\\(vtk\\)$
 Requires:	python-vtk
 
 BuildArch:	noarch
@@ -43,13 +43,13 @@ and J. M. Chassery in ACVD.
 %files
 %license LICENSE
 %doc README.rst
-%{py_sitedir}/%{module}/
-%{py_sitedir}/%{module}-%{version}.dist-info/
+%{py_sitedir}/pyvista/
+%{py_sitedir}/pyvista*-info/
 
 #----------------------------------------------------------------------------
 
 %prep
-%autosetup -n %{module}-%{version}
+%autosetup -n pyvista-%{version}
 
 #FIXME: omlx python-vtk doesn't provide python3dist(vtk)
 sed -i -e "/  'vtk',/d" setup.py
Not Available

benbullard79 [@T] cox.netNo Comment.587d 19hrs
benbullard79 [@T] cox.netNo Comment.587d 18hrs