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}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest test_schema.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE-MIT
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/schema.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/schema*
|
||||
%{python_sitelib}/schema-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user