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"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%define skip_python2 1
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-packaging
|
||||
Name: python-packaging%{psuffix}
|
||||
Version: 19.1
|
||||
Release: 0
|
||||
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: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# https://github.com/pypa/packaging/issues/91
|
||||
Requires: python-attrs
|
||||
Requires: python-pyparsing >= 2.0.2
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
@ -75,7 +72,7 @@ test -d packaging.egg-info
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec %{_bindir}/py.test
|
||||
%pytest
|
||||
%endif # %%{with_test}
|
||||
|
||||
%if !%{with test}
|
||||
|
Loading…
Reference in New Issue
Block a user