Version 2.1.1.
This commit is contained in:
parent
c6a8510600
commit
d965f29284
@ -1,14 +1,13 @@
|
||||
%global srcname gmpy2
|
||||
%global prerelease rc1
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 2.1.0
|
||||
Release: 0.27%{?prerelease:.%{prerelease}}%{?dist}
|
||||
Version: 2.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Python interface to GMP, MPFR, and MPC
|
||||
|
||||
License: LGPLv3+
|
||||
URL: https://pypi.python.org/pypi/gmpy2
|
||||
Source0: https://github.com/aleaxit/gmpy/archive/%{srcname}-%{version}%{?prerelease}.tar.gz
|
||||
Source0: %{pypi_source gmpy2}
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gmp-devel
|
||||
@ -43,7 +42,7 @@ Provides: bundled(jquery)
|
||||
%{common_desc}
|
||||
|
||||
%prep
|
||||
%autosetup -n gmpy-%{srcname}-%{version}%{?prerelease}
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
|
||||
# Update the sphinx theme name
|
||||
sed -i "s/'default'/'classic'/" docs/conf.py
|
||||
@ -63,12 +62,7 @@ make -C docs html
|
||||
%pyproject_install
|
||||
|
||||
%check
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
||||
%{python3} test/runtests.py
|
||||
cd test_cython
|
||||
%{python3} setup_cython.py build '--executable=%{python3} -s'
|
||||
%{python3} runtests.py
|
||||
cd -
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} test/runtests.py
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license COPYING COPYING.LESSER
|
||||
@ -76,6 +70,9 @@ cd -
|
||||
%{python3_sitearch}/%{srcname}*
|
||||
|
||||
%changelog
|
||||
* Tue Dec 14 2021 Jerry James <loganjerry@gmail.com> - 2.1.1-1
|
||||
- Version 2.1.1
|
||||
|
||||
* Fri Oct 8 2021 Jerry James <loganjerry@gmail.com> - 2.1.0-0.27.rc1
|
||||
- Version 2.1.0 rc1
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (gmpy2-2.1.0rc1.tar.gz) = 7d178d34663737e50056a74445802c63bb9ab89147a53da6af478b0b4c1df5b0ba2f7a860f85f985312fbf8b4aee89b13a5f5fe8f04b120fed2fbdc78b2873f0
|
||||
SHA512 (gmpy2-2.1.1.tar.gz) = 37a08b546476f1b49cdfdb04b3a6d4da266615f789eb03896d5e2dd326c91f0fb9523504414b0de30e7265840e2ef77362a5ff011906952100c8b1da4d88d709
|
||||
|
Loading…
x
Reference in New Issue
Block a user