forked from pool/python-PyHamcrest
- Provide and obsolete hamcrest
- Add patch from python-hamcrest which we now obsolete: * 0001-Add-boolean-matchers.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
684a2a6f36
commit
c80227f658
@@ -27,6 +27,7 @@ URL: https://github.com/hamcrest/PyHamcrest
|
||||
# PyPi is missing tests
|
||||
#Source: https://files.pythonhosted.org/packages/source/P/PyHamcrest/PyHamcrest-%%{version}.tar.gz
|
||||
Source: https://github.com/hamcrest/PyHamcrest/archive/V%{version}.tar.gz
|
||||
Patch0: 0001-Add-boolean-matchers.patch
|
||||
BuildRequires: %{python_module hypothesis >= 1.11}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
@@ -35,6 +36,8 @@ BuildRequires: %{python_module six >= 1.4}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six >= 1.4
|
||||
Provides: python-hamcrest = %{version}
|
||||
Obsoletes: python-hamcrest
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -45,6 +48,7 @@ allowing you to declaratively define “match” rules.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyHamcrest-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user