OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastjsonschema?expand=0&rev=12
This commit is contained in:
parent
d2027c602a
commit
2a7df49fde
@ -26,9 +26,10 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/horejsek/python-fastjsonschema
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-benchmark}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-json-spec
|
||||
@ -44,19 +45,19 @@ Fastest Python implementation of JSON schema
|
||||
%autosetup -p1 -n fastjsonschema-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/fastjsonschema
|
||||
%{python_sitelib}/fastjsonschema-%{version}*-info
|
||||
%{python_sitelib}/fastjsonschema-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user