Compare commits
10 Commits
f0139f1543
...
76f0889b6b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76f0889b6b | ||
|
|
0c94c2fbdf | ||
|
|
9fba011bf2 | ||
|
|
a173ef2bbb | ||
|
|
04fac626d1 | ||
|
|
3bef00fa9f | ||
|
|
99d36b7b81 | ||
|
|
c66a40cb6a | ||
|
|
6ce5a4643c | ||
|
|
6f0d19418e |
BIN
0.29.14.tar.gz
BIN
0.29.14.tar.gz
Binary file not shown.
BIN
Cython-3.0.8.tar.gz
Normal file
BIN
Cython-3.0.8.tar.gz
Normal file
Binary file not shown.
62
Cython.spec
62
Cython.spec
@ -2,22 +2,25 @@
|
||||
%bcond_with test
|
||||
|
||||
Name: Cython
|
||||
Version: 0.29.14
|
||||
Release: 3
|
||||
Version: 3.0.8
|
||||
Release: 1
|
||||
Summary: Language for writing C extensions for Python
|
||||
License: Apache 2.0
|
||||
URL: https://cython.org/
|
||||
Source0: https://github.com/cython/cython/archive/%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/C/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python2-devel python3-devel
|
||||
BuildRequires: python2-setuptools python3-setuptools
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: hostname
|
||||
BuildRequires: bc
|
||||
BuildRequires: diffutils
|
||||
|
||||
%if %{with test}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python2-coverage python3-coverage
|
||||
BuildRequires: python2-numpy python3-numpy
|
||||
BuildRequires: python2-jedi python3-jedi
|
||||
BuildRequires: python3-coverage
|
||||
BuildRequires: python3-numpy
|
||||
BuildRequires: python3-jedi
|
||||
%endif
|
||||
|
||||
%global _description \
|
||||
@ -26,17 +29,6 @@ for Python as easy as Python itself.
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n python2-%{name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python2-%{name}}
|
||||
Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description -n python2-%{name} %{_description}
|
||||
|
||||
Python 2 version.
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
@ -46,34 +38,20 @@ Summary: %{summary}
|
||||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version} -p1
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests
|
||||
rm %{buildroot}%{_bindir}/*
|
||||
|
||||
%py3_install
|
||||
rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%{__python2} runtests.py -vv
|
||||
%{__python3} runtests.py -vv
|
||||
%endif
|
||||
|
||||
%files -n python2-%{name}
|
||||
%license LICENSE.txt COPYING.txt
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python2_sitearch}/%{name}-*.egg-info/
|
||||
%{python2_sitearch}/%{name}/
|
||||
%{python2_sitearch}/pyximport/
|
||||
%{python2_sitearch}/%{srcname}.py*
|
||||
|
||||
%files -n python3-%{name}
|
||||
%license LICENSE.txt COPYING.txt
|
||||
%doc CHANGES.rst README.rst
|
||||
@ -88,8 +66,24 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 30 2024 xu_ping <707078654@qq.com> - 3.0.8-1
|
||||
- update version to 3.0.8
|
||||
|
||||
* Mon Jul 10 2023 chenzixuan <chenzixuan@kylinos.cn> - 0.29.36-1
|
||||
- update version to 0.29.36
|
||||
|
||||
* Mon Dec 13 2021 shixuantong <shixuantong@huawei.com> - 0.29.25-1
|
||||
- update version to 0.29.25
|
||||
|
||||
* Fri Aug 13 2021 liksh <liks11@chinaunicom.cn> - 0.29.21-1
|
||||
- update to 0.29.21
|
||||
|
||||
* Fri Oct 30 2020 zhangtao <zhangtao221@huawei.com> - 0.29.14-4
|
||||
- remove python2
|
||||
|
||||
* Fri Sep 11 2020 liuweibo <liuweibo10@huawei.com> - 0.29.14-3
|
||||
- Fix Source0
|
||||
|
||||
* Tue Nov 5 2019 shanshishi <shanshishi@huawei.com> - 0.29.14-1
|
||||
- Init package
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user