From 8f73e428ae6281b9b4d052b17c0c490e19c0127d4fcd475606dd70e7f58798c2 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Fri, 23 Jun 2017 17:15:05 +0000 Subject: [PATCH] Accepting request 504889 from home:sebix:branches:devel:languages:python fixes python-typing dependency OBS-URL: https://build.opensuse.org/request/show/504889 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=17 --- python-jedi.changes | 5 +++++ python-jedi.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-jedi.changes b/python-jedi.changes index 673faf0..602198a 100644 --- a/python-jedi.changes +++ b/python-jedi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 19 18:58:25 UTC 2017 - sebix+novell.com@sebix.at + +- only require python3-typing if necessary + ------------------------------------------------------------------- Fri Apr 28 17:16:29 UTC 2017 - jengelh@inai.de diff --git a/python-jedi.spec b/python-jedi.spec index 70753b8..cdff93d 100644 --- a/python-jedi.spec +++ b/python-jedi.spec @@ -46,7 +46,11 @@ BuildRequires: %{python_module colorama} BuildRequires: %{python_module docopt} BuildRequires: %{python_module pytest >= 2.3.5} BuildRequires: %{python_module pytest-cache} -BuildRequires: %{python_module typing} +BuildRequires: python2-typing +# do not require python3-typing for python >= 3.5 +%if 0%{?suse_version} <= 1320 +BuildRequires: python3-typing +%endif BuildRequires: python3-tox %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build