!20 Upgrade package to version 0.40.0
From: @ysliuci Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
5cc2c1414d
@ -7,7 +7,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-wheel
|
Name: python-wheel
|
||||||
Version: 0.38.4
|
Version: 0.40.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Built-package format for Python
|
Summary: Built-package format for Python
|
||||||
@ -25,6 +25,11 @@ compatible install in a way that is very close to the on-disk format.
|
|||||||
%package -n python3-wheel
|
%package -n python3-wheel
|
||||||
Summary: Built-package format for Python
|
Summary: Built-package format for Python
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
BuildRequires: python3-setuptools_scm
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-flit-core
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python3-pytest python3-pyxdg
|
BuildRequires: python3-pytest python3-pyxdg
|
||||||
%endif
|
%endif
|
||||||
@ -51,24 +56,23 @@ A Python wheel of wheel to use with virtualenv.
|
|||||||
%autosetup -n wheel-%{version} -p1
|
%autosetup -n wheel-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
mv %{buildroot}%{_bindir}/wheel{,-%{python3_version}}
|
mv %{buildroot}%{_bindir}/wheel{,-%{python3_version}}
|
||||||
ln -s wheel-%{python3_version} %{buildroot}%{_bindir}/wheel-3
|
ln -s wheel-%{python3_version} %{buildroot}%{_bindir}/wheel-3
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
# We can only use bdist_wheel when wheel is installed, hence we don't build the wheel in %%build
|
# We can only use bdist_wheel when wheel is installed, hence we don't build the wheel in %%build
|
||||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||||
%py3_build_wheel
|
%pyproject_build
|
||||||
install -d %{buildroot}%{_datadir}/python-wheels
|
install -d %{buildroot}%{_datadir}/python-wheels
|
||||||
install -p dist/wheel-%{version}-py3-none-any.whl -t %{buildroot}%{_datadir}/python-wheels
|
install -p build/wheel-%{version}-py3-none-any.whl -t %{buildroot}%{_datadir}/python-wheels
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
rm setup.cfg
|
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
|
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -87,6 +91,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 05 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1:0.38.4-1
|
||||||
- Upgrade package to version 0.38.4
|
- Upgrade package to version 0.38.4
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
wheel-0.40.0.tar.gz
Normal file
BIN
wheel-0.40.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user