python-traitlets/python-traitlets.spec
cherry530 39e796a9a3 Drop the python-nose dependency
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit c826d86a2600d9fe6c487a734d5f560d2186fa41)
2022-04-29 15:05:58 +08:00

58 lines
1.7 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: python-traitlets
Version: 4.3.2
Release: 10
Summary: A lightweight Traits like module.
License: BSD
URL: https://github.com/ipython/traitlets
Source0: https://github.com/ipython/traitlets/archive/%{version}.tar.gz#/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
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
%py3_build
%install
%py3_install
%check
py.test-%{python3_version} -v traitlets/tests/
%files -n python%{python3_pkgversion}-traitlets
%doc README.md COPYING.md
%{python3_sitelib}/*
%changelog
* 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.