!4 修改trio py3到pyproject
From: @luolu12 Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
a49a6111ad
@ -26,7 +26,9 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
# General requires
|
# General requires
|
||||||
BuildRequires: python3-attrs
|
BuildRequires: python3-attrs
|
||||||
BuildRequires: python3-sortedcontainers
|
BuildRequires: python3-sortedcontainers
|
||||||
@ -55,10 +57,10 @@ Concurrency is complicated; we try to make it easy to get things right.
|
|||||||
%autosetup -n trio-%{version}
|
%autosetup -n trio-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -87,14 +89,14 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%files -n python3-trio -f filelist.lst
|
%files -n python3-trio -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%{python3_sitelib}/trio
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 30 2023 luolu12 <luluoc@isoftstone.com> - 0.22.0-1
|
* Fri Jun 30 2023 luolu12 <luluoc@isoftstone.com> - 0.22.0-1
|
||||||
- Init package python3-trio of version 0.22.0
|
- Upgrade package python3-trio of version 0.22.0
|
||||||
|
|
||||||
* Thu Jul 21 2022 renliang16 <renliang@uniontech.com> - 0.14.0-1
|
* Thu Jul 21 2022 renliang16 <renliang@uniontech.com> - 0.14.0-1
|
||||||
- Init package python3-trio of version 0.14.0
|
- Init package python3-trio of version 0.14.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user