forked from pool/python-packaging
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=28
This commit is contained in:
parent
585d4a79ce
commit
41760e8993
@ -21,12 +21,11 @@
|
|||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
%define skip_python2 1
|
|
||||||
%else
|
%else
|
||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-packaging
|
Name: python-packaging%{psuffix}
|
||||||
Version: 19.1
|
Version: 19.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Core utilities for Python packages
|
Summary: Core utilities for Python packages
|
||||||
@ -42,8 +41,6 @@ Patch3: 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
|
|||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# https://github.com/pypa/packaging/issues/91
|
|
||||||
Requires: python-attrs
|
|
||||||
Requires: python-pyparsing >= 2.0.2
|
Requires: python-pyparsing >= 2.0.2
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -75,7 +72,7 @@ test -d packaging.egg-info
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%python_exec %{_bindir}/py.test
|
%pytest
|
||||||
%endif # %%{with_test}
|
%endif # %%{with_test}
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user