2024-01-05 16:47:31 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:47:31 +01:00
|
|
|
Name: python-traitlets
|
2024-01-05 16:47:31 +01:00
|
|
|
Version: 5.6.0
|
2024-01-05 16:47:31 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:47:31 +01:00
|
|
|
Summary: A lightweight, simple, pure Python derivative of Enthought Traits
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
URL: https://github.com/ipython/traitlets
|
2024-01-05 16:47:31 +01:00
|
|
|
Source: https://pypi.debian.net/traitlets/traitlets-%{version}.tar.gz
|
2024-01-05 16:47:31 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:47:31 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:47:31 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
This Python module is designed to provide a lightweight, simple, pure Python version of many of the capabilities of enthought.traits.
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
%prep
|
2024-01-05 16:47:31 +01:00
|
|
|
%setup -q -n traitlets-%{version}
|
2024-01-05 16:47:31 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 16:47:31 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-05 16:47:31 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 16:47:31 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-05 16:47:31 +01:00
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:47:31 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:47:31 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
|
|
|
%doc COPYING.md
|
2024-01-05 16:47:31 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:47:31 +01:00
|
|
|
* Wed Nov 30 2022 Automatic Build System <autodist@mambasoft.it> 5.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Wed Oct 19 2022 Automatic Build System <autodist@mambasoft.it> 5.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 5.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.5-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Wed Jan 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.5-1mamba
|
|
|
|
- update to 5.0.5
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Tue Oct 22 2019 Automatic Build System <autodist@mambasoft.it> 4.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Mon Mar 06 2017 Automatic Build System <autodist@mambasoft.it> 4.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:47:31 +01:00
|
|
|
* Sat Jan 23 2016 Davide Madrisan <davide.madrisan@gmail.com> 4.1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|