commit 256ee2f9320289ed4ad5e15b9bc78493e7446135d033b0cb76b1d8d61db87e96 Author: Matej Cepl Date: Mon Oct 31 20:23:49 2022 +0000 Accepting request 1032482 from home:bnavigator:branches:devel:languages:python:numeric required by bokeh 3 OBS-URL: https://build.opensuse.org/request/show/1032482 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-contourpy?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/contourpy-1.0.6.tar.gz b/contourpy-1.0.6.tar.gz new file mode 100644 index 0000000..76d9e46 --- /dev/null +++ b/contourpy-1.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e459ebb8bb5ee4c22c19cc000174f8059981971a33ce11e17dddf6aca97a142 +size 12159335 diff --git a/python-contourpy.changes b/python-contourpy.changes new file mode 100644 index 0000000..e46b741 --- /dev/null +++ b/python-contourpy.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Oct 31 11:40:43 UTC 2022 - Ben Greiner + +- Initial specfile for v1.0.6 +- Required by bokeh 3 diff --git a/python-contourpy.spec b/python-contourpy.spec new file mode 100644 index 0000000..584b5ed --- /dev/null +++ b/python-contourpy.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-contourpy +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-contourpy +Version: 1.0.6 +Release: 0 +Summary: Python library for calculating contours of 2D quadrilateral grids +License: BSD-3-Clause +URL: https://github.com/contourpy/contourpy +Source: https://files.pythonhosted.org/packages/source/c/contourpy/contourpy-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pybind11-devel >= 2.7} +BuildRequires: %{python_module setuptools >= 42} +BuildRequires: %{python_module wheel} +BuildRequires: c++_compiler +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-numpy >= 1.16 +Suggests: python-bokeh +# SECTION test requirements +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module numpy >= 1.16} +BuildRequires: %{python_module pytest} +# /SECTION +%python_subpackages + +%description +A Python library for calculating contours of 2D quadrilateral grids + +It contains the 2005 and 2014 algorithms used in Matplotlib as well +as a newer algorithm that includes more features and is available +in both serial and multithreaded versions. It provides an easy way +for Python libraries to use contouring algorithms without having +to include Matplotlib as a dependency. + +%prep +%setup -q -n contourpy-%{version} + +%build +export CFLAGS="%{optflags}" +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%pytest_arch + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitearch}/contourpy +%{python_sitearch}/contourpy-%{version}*-info + +%changelog