automatic version update by autodist [release 5.4.0-1mamba;Fri Oct 07 2022]
This commit is contained in:
parent
91cc8ca40c
commit
6d03fa81bf
@ -1,5 +1,6 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-traitlets
|
Name: python-traitlets
|
||||||
Version: 5.1.1
|
Version: 5.4.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A lightweight, simple, pure Python derivative of Enthought Traits
|
Summary: A lightweight, simple, pure Python derivative of Enthought Traits
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -12,8 +13,6 @@ License: BSD
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: python >= %python_version
|
|
||||||
Requires: python-decorator
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This Python module is designed to provide a lightweight, simple, pure Python version of many of the capabilities of enthought.traits.
|
This Python module is designed to provide a lightweight, simple, pure Python version of many of the capabilities of enthought.traits.
|
||||||
@ -26,25 +25,24 @@ This Python module is designed to provide a lightweight, simple, pure Python ver
|
|||||||
%setup -q -n traitlets-%{version}
|
%setup -q -n traitlets-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{_includedir}/python \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
%files %{?pyappend}
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/traitlets-%{version}-py*.egg-info
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
%doc README.md
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
%doc COPYING.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
|
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user