Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5cc2c1414d
!20 Upgrade package to version 0.40.0
From: @ysliuci 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-07-03 06:44:44 +00:00
ysliu
228c85e2cd Upgrade package to version 0.40.0
删除文件 wheel-0.38.4.tar.gz

update python-wheel.spec.

Signed-off-by: ysliu <ysliuci@isoftstone.com>

update python-wheel.spec.

Signed-off-by: ysliu <ysliuci@isoftstone.com>
2023-06-30 14:52:40 +08:00
openeuler-ci-bot
295b35aea2
!17 Upgrade package to version 0.38.4
From: @jxy_git 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-12-07 07:42:58 +00:00
jxy_git
f0ee56fd4e Upgrade package to version 0.38.4 2022-12-05 15:15:58 +08:00
openeuler-ci-bot
fbbc0ebe95
!14 build python-wheel-wheel binary package
From: @xinyingchao 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-03-04 03:38:59 +00:00
xinyingchao
6641be688f build python-wheel-wheel binary package 2022-03-04 10:22:18 +08:00
openeuler-ci-bot
15531d6857 !11 升级至0.37.0
From: @tong_1001
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2021-11-29 12:00:46 +00:00
shixuantong
df57bf2909 update version to 0.37.0 2021-11-29 19:41:46 +08:00
openeuler-ci-bot
427687f926 !10 disable tests when bootstrapping
From: @tong_1001
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-11-26 02:09:45 +00:00
shixuantong
b48528af36 disable tests when bootstrapping 2021-11-26 09:49:38 +08:00
3 changed files with 37 additions and 10 deletions

View File

@ -1,7 +1,14 @@
%bcond_with bootstrap
%if %{with bootstrap}
%bcond_with tests
%else
%bcond_without tests
%endif
Name: python-wheel
Version: 0.36.2
Release: 2
Version: 0.40.0
Release: 1
Epoch: 1
Summary: Built-package format for Python
License: MIT
@ -18,7 +25,12 @@ compatible install in a way that is very close to the on-disk format.
%package -n python3-wheel
Summary: Built-package format for Python
BuildRequires: python3-devel python3-setuptools
%if %{without bootstrap}
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-hatchling
BuildRequires: python3-flit-core
%if %{with tests}
BuildRequires: python3-pytest python3-pyxdg
%endif
%{?python_provide:%python_provide python3-wheel}
@ -44,23 +56,23 @@ A Python wheel of wheel to use with virtualenv.
%autosetup -n wheel-%{version} -p1
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
mv %{buildroot}%{_bindir}/wheel{,-%{python3_version}}
ln -s wheel-%{python3_version} %{buildroot}%{_bindir}/wheel-3
%if %{without bootstrap}
# We can only use bdist_wheel when wheel is installed, hence we don't build the wheel in %%build
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%py3_build_wheel
%pyproject_build
install -d %{buildroot}%{_datadir}/python-wheels
install -p dist/wheel-%{version}-py2.py3-none-any.whl -t %{buildroot}%{_datadir}/python-wheels
install -p build/wheel-%{version}-py3-none-any.whl -t %{buildroot}%{_datadir}/python-wheels
%endif
%if %{with tests}
%check
rm setup.cfg
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
%endif
@ -75,10 +87,25 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
%files wheel
%license LICENSE.txt
%dir %{_datadir}/python-wheels/
%{_datadir}/python-wheels/wheel-%{version}-py2.py3-none-any.whl
%{_datadir}/python-wheels/wheel-%{version}-py3-none-any.whl
%endif
%changelog
* Fri Jun 30 2023 liuyongshuai <ysliuci@isoftstone.com> - 1:0.40.0-1
- Upgrade package to version 0.40.0
* Mon Dec 05 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1:0.38.4-1
- Upgrade package to version 0.38.4
* Fri Mar 04 2022 yuanxin<yuanxin24@h-partners.com> - 0.37.0-2
- build python-wheel-wheel binary package
* Mon Nov 29 2021 shixuantong<shixuantong@huawei.com> - 0.37.0-1
- update version to 0.37.0
* Fri Nov 26 2021 shixuantong<shixuantong@huawei.com> - 0.36.2-3
- disable tests when bootstrapping
* Tue Jul 27 2021 shixuantong<shixuantong@huawei.com> - 0.36.2-2
- remove useless BuildRequires

Binary file not shown.

BIN
wheel-0.40.0.tar.gz Normal file

Binary file not shown.