Upgrade version to 1.2.0
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
1364f41bb2
commit
85a44d46f6
Binary file not shown.
@ -1,12 +1,14 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-contourpy
|
||||
Version: 1.0.7
|
||||
Version: 1.2.0
|
||||
Release: 1
|
||||
Summary: Python library for calculating contours of 2D quadrilateral grids
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/contourpy/contourpy
|
||||
Source0: https://files.pythonhosted.org/packages/b4/9b/6edb9d3e334a70a212f66a844188fcb57ddbd528cbc3b1fe7abfc317ddd7/contourpy-1.0.7.tar.gz
|
||||
BuildRequires: python3-pybind11 gcc-c++ python3-pip python3-wheel
|
||||
Source0: https://files.pythonhosted.org/packages/source/c/contourpy/contourpy-%{version}.tar.gz
|
||||
BuildRequires: python3-pybind11 gcc-c++ python3-pip python3-wheel
|
||||
BuildRequires: python3-hatchling python3-hatch-vcs
|
||||
BuildRequires: python3-meson-python
|
||||
|
||||
%description
|
||||
ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11.
|
||||
@ -25,13 +27,13 @@ Provides: python3-contourpy-doc
|
||||
ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11.
|
||||
|
||||
%prep
|
||||
%autosetup -n contourpy-1.0.7
|
||||
%autosetup -n contourpy-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install contourpy==%{version}
|
||||
%pyproject_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
@ -46,5 +48,8 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 22 2024 xu_ping <707078654@qq.com> - 1.2.0-1
|
||||
- Upgrade version to 1.2.0
|
||||
|
||||
* Fri May 05 2023 wulei <wu_lei@hoperun.com> - 1.0.7-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user