2020-03-06 18:34:28 +08:00
|
|
|
Name: python-traitlets
|
2024-03-01 15:56:52 +08:00
|
|
|
Version: 5.14.1
|
2022-06-01 16:25:36 +08:00
|
|
|
Release: 1
|
2020-03-06 18:34:28 +08:00
|
|
|
Summary: A lightweight Traits like module.
|
|
|
|
|
|
2022-05-09 18:10:51 +08:00
|
|
|
License: BSD-3-Clause
|
2020-03-06 18:34:28 +08:00
|
|
|
URL: https://github.com/ipython/traitlets
|
2023-04-25 13:49:23 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
2020-03-06 18:34:28 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A framework that lets Python classes have attributes with type checking, dynamically calculated default values,
|
2024-03-01 15:56:52 +08:00
|
|
|
and callbacks.
|
2020-03-06 18:34:28 +08:00
|
|
|
|
|
|
|
|
|
2024-03-01 15:56:52 +08:00
|
|
|
%package -n python3-traitlets
|
2020-03-06 18:34:28 +08:00
|
|
|
Summary: A lightweight Traits like module.
|
2024-03-01 15:56:52 +08:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
BuildRequires: python3-hatchling
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
%python_provide python3-traitlets
|
|
|
|
|
|
|
|
|
|
%description -n python3-traitlets
|
2020-03-06 18:34:28 +08:00
|
|
|
A framework that lets Python classes have attributes with type checking, dynamically calculated default values,
|
2024-03-01 15:56:52 +08:00
|
|
|
and callbacks.
|
2020-03-06 18:34:28 +08:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n traitlets-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2023-04-25 13:49:23 +08:00
|
|
|
%pyproject_build
|
2020-03-06 18:34:28 +08:00
|
|
|
|
|
|
|
|
%install
|
2024-03-01 15:56:52 +08:00
|
|
|
%pyproject_install
|
2020-03-06 18:34:28 +08:00
|
|
|
|
|
|
|
|
%check
|
2024-03-01 15:56:52 +08:00
|
|
|
py.test-3 -v traitlets/tests/
|
2020-03-06 18:34:28 +08:00
|
|
|
|
2024-03-01 15:56:52 +08:00
|
|
|
%files -n python3-traitlets
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{python3_sitelib}/traitlets/
|
|
|
|
|
%{python3_sitelib}/traitlets*.dist-info/
|
2020-03-06 18:34:28 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2024-03-01 15:56:52 +08:00
|
|
|
* Fri Mar 1 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 5.14.1-1
|
|
|
|
|
- Upgrade package with version 5.14.1
|
|
|
|
|
Add option to load traitlets values from environement.
|
|
|
|
|
Cleanup after remove Python 2 support.
|
|
|
|
|
Add more project URLs, trove classifiers.
|
|
|
|
|
Added type hints to HasTraits.observe() and friends.
|
|
|
|
|
|
2023-04-25 13:49:23 +08:00
|
|
|
* Tue Apr 25 2023 yaoxin <yao_xin001@hoperun.com> - 5.9.0-1
|
|
|
|
|
- Update to 5.9.0
|
|
|
|
|
|
2022-08-04 13:34:03 +08:00
|
|
|
* Thu Aug 04 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.3.0-1
|
|
|
|
|
- Update to 5.3.0
|
|
|
|
|
|
2022-06-01 16:25:36 +08:00
|
|
|
* Wed Jun 01 2022 yangping <yangping69@h-partners.com> - 5.1.1-1
|
|
|
|
|
- Update to v5.1.1
|
|
|
|
|
|
2022-05-09 18:10:51 +08:00
|
|
|
* Mon May 9 2022 yaoxin <yaoxin30@h-partners.com> - 4.3.2-11
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2022-01-08 16:37:45 +08:00
|
|
|
* Sat Jan 08 2022 xu_ping <xuping33@huawei.com> - 4.3.2-10
|
|
|
|
|
- Drop the python-nose dependency
|
|
|
|
|
|
2020-10-29 15:28:17 +08:00
|
|
|
* Wed Oct 21 2020 zhanghua <zhanghua40@huawei.com> - 4.3.2-9
|
|
|
|
|
- remove python2 subpackage
|
|
|
|
|
|
2020-03-06 18:34:28 +08:00
|
|
|
* Thu Mar 5 2020 chenli <chenli147@huawei.com> - 4.3.2-8
|
|
|
|
|
- Init Package.
|