Accepting request 661733 from home:pluskalm:branches:devel:languages:python
- Update build dependendcies to resolve building on SLE-12 OBS-URL: https://build.opensuse.org/request/show/661733 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=49
This commit is contained in:
parent
91a81470e0
commit
1580bf041c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 28 09:01:49 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Update build dependendcies to resolve building on SLE-12
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 22 17:53:10 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
Thu Nov 22 17:53:10 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -18,18 +18,12 @@
|
|||||||
|
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
%else
|
%else
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%if %{with test}
|
|
||||||
Name: python-pyparsing-%{flavor}
|
|
||||||
%else
|
|
||||||
Name: python-pyparsing
|
|
||||||
%endif
|
|
||||||
Version: 2.3.1~test5
|
Version: 2.3.1~test5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Grammar Parser Library for Python
|
Summary: Grammar Parser Library for Python
|
||||||
@ -38,19 +32,25 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/pyparsing/pyparsing/
|
URL: https://github.com/pyparsing/pyparsing/
|
||||||
# Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
|
# Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
|
||||||
Source: pyparsing-%{version}.tar.gz
|
Source: pyparsing-%{version}.tar.gz
|
||||||
# Source: https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
|
|
||||||
BuildRequires: %{python_module base}
|
BuildRequires: %{python_module base}
|
||||||
|
# Source: https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module packaging}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python2-unittest2
|
BuildRequires: python2-unittest2
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
%endif
|
|
||||||
# do not add dependencies on setuptools and ideally not even full "python";
|
# do not add dependencies on setuptools and ideally not even full "python";
|
||||||
# this is now a dependency of setuptools
|
# this is now a dependency of setuptools
|
||||||
Requires: python-base
|
Requires: python-base
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
Name: python-pyparsing-%{flavor}
|
||||||
|
%else
|
||||||
|
Name: python-pyparsing
|
||||||
|
%endif
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: %{oldpython}-parsing = %{version}
|
Provides: %{oldpython}-parsing = %{version}
|
||||||
Obsoletes: %{oldpython}-parsing < %{version}
|
Obsoletes: %{oldpython}-parsing < %{version}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user