%bcond_with bootstrap%if %{with bootstrap}%bcond_with tests%else%bcond_without tests%endifName: python-wheelVersion: 0.45.1Release: 2Epoch: 1Summary: Built-package format for PythonLicense: MITURL: https://github.com/pypa/wheelSource0: %{url}/archive/%{version}/wheel-%{version}.tar.gz# Compatibility with the setuptools 75+# https://github.com/pypa/wheel/issues/650Patch1: 0001-adapt-tests-for-setuptools-75.patch# Compatibility with the setuptools 78+ (PEP 639)# Upstream has removed this code entirely instead# https://github.com/pypa/wheel/pull/655Patch2: 0002-adapt-tests-for-setuptools-78.patchBuildArch: noarch%descriptionA built-package format for Python.A wheel is a ZIP-format archive with a specially formatted filename and the.whl extension. It is designed to contain all the files for a PEP 376compatible install in a way that is very close to the on-disk format.%package -n python3-wheelSummary: Built-package format for PythonBuildRequires: python3-devel python3-setuptoolsBuildRequires: python3-setuptools_scmBuildRequires: python3-pipBuildRequires: python3-hatchlingBuildRequires: python3-flit-core%if %{with tests}BuildRequires: python3-pytest python3-pyxdg%endif%{?python_provide:%python_provide python3-wheel}%description -n python3-wheelA built-package format for Python.A wheel is a ZIP-format archive with a specially formatted filename and the.whl extension. It is designed to contain all the files for a PEP 376compatible install in a way that is very close to the on-disk format.Python 3 version.%if %{without bootstrap}%package wheelSummary: The Python wheel module packaged as a wheel%description wheelA Python wheel of wheel to use with virtualenv.%endif%prep%autosetup -n wheel-%{version} -p1%build%pyproject_build%install%pyproject_installmv %{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 %%buildexport PYTHONPATH=%{buildroot}%{python3_sitelib}%pyproject_buildinstall -d %{buildroot}%{_datadir}/python-wheelsinstall -p build/wheel-%{version}-py3-none-any.whl -t %{buildroot}%{_datadir}/python-wheels%endif%if %{with tests}%checkPYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build%endif%files -n python3-wheel%license LICENSE.txt%doc README.rst%{_bindir}/wheel-3*%{python3_sitelib}/wheel*%if %{without bootstrap}%files wheel%license LICENSE.txt%dir %{_datadir}/python-wheels/%{_datadir}/python-wheels/wheel-%{version}-py3-none-any.whl%endif%changelog* Mon Jul 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1:0.45.1-2- Fix build error with setuptools new version 78.1.1* Mon Dec 09 2024 xu_ping <707078654@qq.com> - 1:0.45.1-1- Upgrade package to version 0.45.1* Dropped support for Python 3.7* Updated vendored packaging to 24.0* Deprecated the bdist_wheel module, as the code was migrated to setuptools itself* Don't configure setuptools logging unless running bdist_wheel* Refactored the convert command to not need setuptools to be installed* Tue Mar 12 2024 xu_ping <707078654@qq.com> - 1:0.42.0-1- Upgrade package to version 0.42.0* 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* Wed Feb 03 2021 shixuantong<shixuantong@huawei.com> - 0.36.2-1- upgrade version to 0.36.2* Mon Nov 2 2020 wangjie<wangjie294@huawei.com> -0.31.1-5- Type:NA- ID:NA- SUG:NA- DESC:remove python2* Mon Dec 2 2019 yangjian<yangjian79@huawei.com> - 1:0.31.1-4- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型