15
0

Accepting request 731381 from home:jayvdb:jsonschema

Re-activate test suite

OBS-URL: https://build.opensuse.org/request/show/731381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-warlock?expand=0&rev=30
This commit is contained in:
Tomáš Chvátal
2019-09-17 08:47:45 +00:00
committed by Git OBS Bridge
parent ef2d7a4d07
commit fbeb7fd5e1
3 changed files with 12 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ Summary: Python object model built on top of JSON schema
License: Apache-2.0
Group: Development/Languages/Python
URL: http://github.com/bcwaldon/warlock
Source: https://files.pythonhosted.org/packages/source/w/warlock/warlock-%{version}.tar.gz
Source: https://github.com/bcwaldon/warlock/archive/%{version}.tar.gz#/warlock-%{version}.tar.gz
BuildRequires: %{python_module jsonpatch >= 0.7}
BuildRequires: %{python_module jsonschema >= 0.10}
BuildRequires: %{python_module pytest}
@@ -39,10 +39,11 @@ BuildArch: noarch
%python_subpackages
%description
Build self-validating python objects using JSON schemas
Build self-validating python objects using JSON schemas.
%prep
%setup -q -n warlock-%{version}
rm pytest.ini
%build
%python_build
@@ -52,8 +53,7 @@ Build self-validating python objects using JSON schemas
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# tests are not distributed by upstream and github does not
# use setuptools anymore
%pytest
%files %{python_files}
%doc README.md