Drop python2 support
Signed-off-by: 王玺源 <wangxiyuan1007@gmail.com>
This commit is contained in:
parent
a3adbe1f0c
commit
7721da4f0d
@ -1,6 +1,6 @@
|
|||||||
Name: python-pydotplus
|
Name: python-pydotplus
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: Python interface to Graphviz's Dot language
|
Summary: Python interface to Graphviz's Dot language
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/pydotplus
|
URL: https://pypi.python.org/pypi/pydotplus
|
||||||
@ -13,20 +13,6 @@ BuildRequires: graphviz
|
|||||||
PyDotPlus is an improved version of the old pydot project that
|
PyDotPlus is an improved version of the old pydot project that
|
||||||
provides a Python Interface to Graphviz's Dot language.
|
provides a Python Interface to Graphviz's Dot language.
|
||||||
|
|
||||||
%package -n python2-pydotplus
|
|
||||||
Summary: Python interface to Graphviz's Dot language
|
|
||||||
%{?python_provide:%python_provide python2-pydotplus}
|
|
||||||
BuildRequires: python2-devel python2-setuptools
|
|
||||||
BuildRequires: pyparsing
|
|
||||||
Requires: pyparsing
|
|
||||||
Requires: graphviz
|
|
||||||
|
|
||||||
%description -n python2-pydotplus
|
|
||||||
PyDotPlus is an improved version of the old pydot project that
|
|
||||||
provides a Python Interface to Graphviz's Dot language.
|
|
||||||
|
|
||||||
Python 2 version.
|
|
||||||
|
|
||||||
%package -n python3-pydotplus
|
%package -n python3-pydotplus
|
||||||
Summary: Python interface to Graphviz's Dot language
|
Summary: Python interface to Graphviz's Dot language
|
||||||
%{?python_provide:%python_provide python3-pydotplus}
|
%{?python_provide:%python_provide python3-pydotplus}
|
||||||
@ -44,26 +30,21 @@ Python 3 version.
|
|||||||
rm -rf lib/*.egg-info
|
rm -rf lib/*.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd test
|
cd test
|
||||||
PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} pydot_unittest.py -v || :
|
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} pydot_unittest.py -v || :
|
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} pydot_unittest.py -v || :
|
||||||
|
|
||||||
%files -n python2-pydotplus
|
|
||||||
%doc README.rst LICENSE
|
|
||||||
%{python2_sitelib}/pydotplus*
|
|
||||||
|
|
||||||
%files -n python3-pydotplus
|
%files -n python3-pydotplus
|
||||||
%doc README.rst LICENSE
|
%doc README.rst LICENSE
|
||||||
%{python3_sitelib}/pydotplus*
|
%{python3_sitelib}/pydotplus*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 14 2023 wangxiyuan <wangxiyuan1007@gmail.com> - 2.0.2-11
|
||||||
|
- Drop python2 support
|
||||||
* Tue Mar 10 2020 zhangtao <zhangtao221@huawei.com> - 2.0.2-10
|
* Tue Mar 10 2020 zhangtao <zhangtao221@huawei.com> - 2.0.2-10
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user