同步操作将从 src-openEuler/python-click 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _empty_manifest_terminate_build 0Name: python-clickVersion: 8.1.7Release: 2Summary: Composable command line interface toolkitLicense: BSDURL: https://palletsprojects.com/p/click/Source0: %{pypi_source click}BuildArch: noarch%descriptionClick is a Python package for creating beautiful command line interfacesin a composable way with as little code as necessary. It's the"Command Line Interface Creation Kit". It's highly configurable but comeswith sensible defaults out of the box.%package -n python3-clickSummary: Composable command line interface toolkitProvides: python-click# Base build requiresBuildRequires: python3-develBuildRequires: python3-setuptoolsBuildRequires: python3-pbrBuildRequires: python3-pipBuildRequires: python3-wheelBuildRequires: python3-pytest# General requiresBuildRequires: python3-colorama# General requiresRequires: python3-colorama%description -n python3-clickClick is a Python package for creating beautiful command line interfacesin a composable way with as little code as necessary. It's the"Command Line Interface Creation Kit". It's highly configurable but comeswith sensible defaults out of the box.%package helpSummary: Composable command line interface toolkitProvides: python3-click-doc%description helpClick is a Python package for creating beautiful command line interfacesin a composable way with as little code as necessary. It's the"Command Line Interface Creation Kit". It's highly configurable but comeswith sensible defaults out of the box.%prep%autosetup -n click-%{version}%build%pyproject_build%install%pyproject_installinstall -d -m755 %{buildroot}/%{_pkgdocdir}if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fiif [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fiif [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fiif [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fipushd %{buildroot}if [ -d usr/lib ]; thenfind usr/lib -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/lib64 ]; thenfind usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/bin ]; thenfind usr/bin -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/sbin ]; thenfind usr/sbin -type f -printf "/%h/%f\n" >> filelist.lstfitouch doclist.lstif [ -d usr/share/man ]; thenfind usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lstfipopdmv %{buildroot}/filelist.lst .mv %{buildroot}/doclist.lst .%check%pytest%files -n python3-click -f filelist.lst%dir %{python3_sitelib}/*%{python3_sitelib}/click/__pycache__/*%files help -f doclist.lst%{_docdir}/*%changelog* Mon Jul 21 2025 wangkai <13474090681@163.com> - 8.1.7-2- Fix build failure due to setuptools update* Tue Dec 26 2023 liyanan <liyanan@h-partners.com> - 8.1.7-1- Upgrade package python3-click to version 8.1.7* Thu May 19 2022 OpenStack_SIG <openstack@openeuler.org> - 8.0.4-1- Upgrade package python3-click to version 8.0.4* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 7.1.2-1- Upgrade to version 7.1.2* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 7.0-3- Remove subpackage python2-click* Thu Sep 10 2020 liuweibo <liuweibo10@huawei.com> - 7.0-2- Fix Source0* Fri Nov 1 2019 shanshishi <shanshishi@huawei.com> - 7.0-1- Init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。