!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
|
Name: python-traitlets
|
||||||
Version: 5.3.0
|
Version: 5.9.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A lightweight Traits like module.
|
Summary: A lightweight Traits like module.
|
||||||
|
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/ipython/traitlets
|
URL: https://github.com/ipython/traitlets
|
||||||
Source0: https://files.pythonhosted.org/packages/b2/ed/3c842dbe5a8f0f1ebf3f5b74fc1a46601ed2dfe0a2d256c8488d387b14dd/traitlets-5.3.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-%{version}.tar.gz
|
||||||
Patch0: 0001-add-setup.py.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -19,6 +18,7 @@ Summary: A lightweight Traits like module.
|
|||||||
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest
|
||||||
BuildRequires: python%{python3_pkgversion}-decorator python%{python3_pkgversion}-six
|
BuildRequires: python%{python3_pkgversion}-decorator python%{python3_pkgversion}-six
|
||||||
BuildRequires: python%{python3_pkgversion}-ipython_genutils 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
|
Requires: python%{python3_pkgversion}-decorator python%{python3_pkgversion}-ipython_genutils python%{python3_pkgversion}-six
|
||||||
%python_provide python%{python3_pkgversion}-traitlets
|
%python_provide python%{python3_pkgversion}-traitlets
|
||||||
|
|
||||||
@ -28,26 +28,24 @@ and ‘on change’ callbacks.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n traitlets-%{version} -p1
|
%autosetup -n traitlets-%{version} -p1
|
||||||
%patch0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install traitlets==%{version}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
py.test-%{python3_version} -v traitlets/tests/
|
py.test-%{python3_version} -v traitlets/tests/
|
||||||
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-traitlets
|
%files -n python%{python3_pkgversion}-traitlets
|
||||||
%doc README.md COPYING.md
|
%doc README.md COPYING.md
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Aug 04 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.3.0-1
|
||||||
- Update to 5.3.0
|
- 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