!12 Update to 5.9.0
From: @starlet-dx Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
2258920298
@ -1,12 +1,11 @@
|
||||
Name: python-traitlets
|
||||
Version: 5.3.0
|
||||
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/b2/ed/3c842dbe5a8f0f1ebf3f5b74fc1a46601ed2dfe0a2d256c8488d387b14dd/traitlets-5.3.0.tar.gz
|
||||
Patch0: 0001-add-setup.py.patch
|
||||
Source0: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -19,6 +18,7 @@ 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
|
||||
|
||||
@ -28,26 +28,24 @@ and ‘on change’ callbacks.
|
||||
|
||||
%prep
|
||||
%autosetup -n traitlets-%{version} -p1
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%py3_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
|
||||
|
||||
|
||||
Binary file not shown.
BIN
traitlets-5.9.0.tar.gz
Normal file
BIN
traitlets-5.9.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user