forked from pool/python-schema
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-schema?expand=0&rev=16
This commit is contained in:
@@ -45,19 +45,20 @@ parsing, converted from JSON/YAML (or something else) to Python data-types.
|
|||||||
%autosetup -p1 -n schema-%{version}
|
%autosetup -p1 -n schema-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest test_schema.py
|
%pytest test_schema.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE-MIT
|
%license LICENSE-MIT
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/schema.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/schema*
|
||||||
|
%{python_sitelib}/schema-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user