Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
968dfe9fab !17 [sync] PR-16: update version to 0.29.25
Merge pull request !17 from openeuler-sync-bot/sync-pr16-master-to-openEuler-22.03-LTS-Next
2021-12-27 01:12:06 +00:00
shixuantong
c442deadf4 update version to 0.29.25
(cherry picked from commit 3bef00fa9f5a201f3951ba16b7beaefed7883ca7)
2021-12-26 14:36:14 +08:00
openeuler-ci-bot
78253f0b91 !15 [sync] PR-14: update Cython package for openstack wallaby
From: @openeuler-sync-bot
Reviewed-by: @yanglijin
Signed-off-by: @yanglijin
2021-08-19 09:31:13 +00:00
liksh
a3b69dc718 update form 0.29.14 to 0.29.21
(cherry picked from commit c66a40cb6aec01737036dffed19a9b3f5e4a53f4)
2021-08-19 11:46:10 +08:00
openeuler-ci-bot
6ce5a4643c !12 remove python2
From: @zhangtao2020
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-31 10:18:13 +08:00
zhangtao2020
6f0d19418e remove python2 2020-10-30 10:14:31 +08:00
openeuler-ci-bot
f0139f1543 !9 Fix source0
From: @kkkl12
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-09-11 15:35:00 +08:00
kkkl12
3dedb949b5 Fix Source0
append changelog

release + 1
2020-09-11 14:31:29 +08:00
openeuler-ci-bot
36193c9cbf !4 release + 1: for pkgs affeccted by updated ones
Merge pull request !4 from small_leek/master
2020-08-18 21:09:58 +08:00
small_leek
680c3ca9d5 release + 1: for pkgs affeccted by updated ones 2020-08-18 20:30:48 +08:00
3 changed files with 24 additions and 33 deletions

BIN
Cython-0.29.25.tar.gz Normal file

Binary file not shown.

View File

@ -2,22 +2,25 @@
%bcond_with test
Name: Cython
Version: 0.29.14
Version: 0.29.25
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/%{srcname}-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/09/45/10c39337ba73c38a798165f97e4798827a532eaac71071842cbe0ee13dc5/Cython-0.29.25.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,5 +66,18 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
%changelog
* 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

Binary file not shown.