remove python2 of package python-traitlets
This commit is contained in:
parent
0629e50143
commit
7b63221efa
@ -1,6 +1,6 @@
|
|||||||
Name: python-traitlets
|
Name: python-traitlets
|
||||||
Version: 4.3.2
|
Version: 4.3.2
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: A lightweight Traits like module.
|
Summary: A lightweight Traits like module.
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -13,17 +13,6 @@ A framework that lets Python classes have attributes with type checking, dynamic
|
|||||||
and ‘on change’ callbacks.
|
and ‘on change’ callbacks.
|
||||||
|
|
||||||
|
|
||||||
%package -n python2-traitlets
|
|
||||||
Summary: A lightweight Traits like module.
|
|
||||||
BuildRequires: python2-devel python2-pytest python2-nose python2-decorator
|
|
||||||
BuildRequires: python2-enum34 python2-ipython_genutils python2-six
|
|
||||||
Requires: python2-decorator python2-enum34 python2-ipython_genutils python2-six
|
|
||||||
%python_provide python2-traitlets
|
|
||||||
|
|
||||||
%description -n python2-traitlets
|
|
||||||
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
|
%package -n python%{python3_pkgversion}-traitlets
|
||||||
Summary: A lightweight Traits like module.
|
Summary: A lightweight Traits like module.
|
||||||
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest python%{python3_pkgversion}-nose
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest python%{python3_pkgversion}-nose
|
||||||
@ -41,29 +30,25 @@ and ‘on change’ callbacks.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
py.test-%{python2_version} -v traitlets/tests/
|
|
||||||
py.test-%{python3_version} -v traitlets/tests/
|
py.test-%{python3_version} -v traitlets/tests/
|
||||||
|
|
||||||
|
|
||||||
%files -n python2-traitlets
|
|
||||||
%doc README.md COPYING.md
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%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
|
||||||
|
* 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
|
* Thu Mar 5 2020 chenli <chenli147@huawei.com> - 4.3.2-8
|
||||||
- Init Package.
|
- Init Package.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user