Version 2.1.0 rc1.

This commit is contained in:
Jerry James 2021-10-08 14:55:29 -06:00
parent 957aa37e83
commit c6a8510600
3 changed files with 16 additions and 5 deletions

6
README.md Normal file
View File

@ -0,0 +1,6 @@
# python-gmpy2
gmpy2 is an optimized, C-coded Python extension module that supports fast
multiple-precision arithmetic. gmpy2 is based on the original gmpy module.
gmpy2 adds support for correctly rounded multiple-precision real arithmetic
(using the MPFR library) and complex arithmetic (using the MPC library).

View File

@ -1,9 +1,9 @@
%global srcname gmpy2
%global prerelease b6
%global prerelease rc1
Name: python-%{srcname}
Version: 2.1.0
Release: 0.26%{?prerelease:.%{prerelease}}%{?dist}
Release: 0.27%{?prerelease:.%{prerelease}}%{?dist}
Summary: Python interface to GMP, MPFR, and MPC
License: LGPLv3+
@ -17,8 +17,10 @@ BuildRequires: make
BuildRequires: pkgconfig(mpfr)
BuildRequires: python3-devel
BuildRequires: %{py3_dist cython}
BuildRequires: %{py3_dist pip}
BuildRequires: %{py3_dist setuptools}
BuildRequires: %{py3_dist sphinx}
BuildRequires: %{py3_dist wheel}
%global common_desc \
This package contains a C-coded Python extension module that supports \
@ -54,11 +56,11 @@ sed -i "s/'mpfr','gmp'/&,'m'/" setup.py
export CC=gcc
export LDSHARED="gcc -shared"
%py3_build
%pyproject_wheel
make -C docs html
%install
%py3_install
%pyproject_install
%check
export PYTHONPATH=%{buildroot}%{python3_sitearch}
@ -74,6 +76,9 @@ cd -
%{python3_sitearch}/%{srcname}*
%changelog
* Fri Oct 8 2021 Jerry James <loganjerry@gmail.com> - 2.1.0-0.27.rc1
- Version 2.1.0 rc1
* Wed Aug 11 2021 Jerry James <loganjerry@gmail.com> - 2.1.0-0.26.b6
- Version 2.1.0 beta6
- Drop all patches

View File

@ -1 +1 @@
SHA512 (gmpy2-2.1.0b6.tar.gz) = d39b20ae219c75c975f01e169a37318464f8557a08b25ee466c9a6af475a899cf14da5ee48e8b3754074156f8ff7292158ce30e98848b5452e30486243725a99
SHA512 (gmpy2-2.1.0rc1.tar.gz) = 7d178d34663737e50056a74445802c63bb9ab89147a53da6af478b0b4c1df5b0ba2f7a860f85f985312fbf8b4aee89b13a5f5fe8f04b120fed2fbdc78b2873f0