66 lines
2.1 KiB
RPMSpec
66 lines
2.1 KiB
RPMSpec
Name: python-traitlets
|
||
Version: 5.9.0
|
||
Release: 1
|
||
Summary: A lightweight Traits like module.
|
||
|
||
License: BSD-3-Clause
|
||
URL: https://github.com/ipython/traitlets
|
||
Source0: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
||
BuildArch: noarch
|
||
|
||
%description
|
||
A framework that lets Python classes have attributes with type checking, dynamically calculated default values,
|
||
and ‘on change’ callbacks.
|
||
|
||
|
||
%package -n python%{python3_pkgversion}-traitlets
|
||
Summary: A lightweight Traits like module.
|
||
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest
|
||
BuildRequires: python%{python3_pkgversion}-decorator python%{python3_pkgversion}-six
|
||
BuildRequires: python%{python3_pkgversion}-ipython_genutils python%{python3_pkgversion}-six
|
||
BuildRequires: python3-pip python3-hatchling
|
||
Requires: python%{python3_pkgversion}-decorator python%{python3_pkgversion}-ipython_genutils python%{python3_pkgversion}-six
|
||
%python_provide python%{python3_pkgversion}-traitlets
|
||
|
||
%description -n python%{python3_pkgversion}-traitlets
|
||
A framework that lets Python classes have attributes with type checking, dynamically calculated default values,
|
||
and ‘on change’ callbacks.
|
||
|
||
%prep
|
||
%autosetup -n traitlets-%{version} -p1
|
||
|
||
%build
|
||
%pyproject_build
|
||
|
||
%install
|
||
%pyproject_install traitlets==%{version}
|
||
|
||
%check
|
||
py.test-%{python3_version} -v traitlets/tests/
|
||
|
||
%files -n python%{python3_pkgversion}-traitlets
|
||
%doc README.md COPYING.md
|
||
%{python3_sitelib}/*
|
||
|
||
%changelog
|
||
* Tue Apr 25 2023 yaoxin <yao_xin001@hoperun.com> - 5.9.0-1
|
||
- Update to 5.9.0
|
||
|
||
* Thu Aug 04 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.3.0-1
|
||
- Update to 5.3.0
|
||
|
||
* Wed Jun 01 2022 yangping <yangping69@h-partners.com> - 5.1.1-1
|
||
- Update to v5.1.1
|
||
|
||
* Mon May 9 2022 yaoxin <yaoxin30@h-partners.com> - 4.3.2-11
|
||
- License compliance rectification
|
||
|
||
* Sat Jan 08 2022 xu_ping <xuping33@huawei.com> - 4.3.2-10
|
||
- Drop the python-nose dependency
|
||
|
||
* Wed Oct 21 2020 zhanghua <zhanghua40@huawei.com> - 4.3.2-9
|
||
- remove python2 subpackage
|
||
|
||
* Thu Mar 5 2020 chenli <chenli147@huawei.com> - 4.3.2-8
|
||
- Init Package.
|