forked from pool/python-python-magic
- update to 0.4.27:
- remove spurious pyproject.toml that breaks source builds - Use tox for all multi-version testing - Fix use of pytest, use it via tox OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=21
This commit is contained in:
@@ -19,13 +19,14 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-python-magic
|
||||
Version: 0.4.25
|
||||
Version: 0.4.27
|
||||
Release: 0
|
||||
Summary: File type identification using libmagic
|
||||
License: Python-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/ahupp/python-magic
|
||||
Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: fdupes
|
||||
@@ -56,7 +57,7 @@ supports both textual and MIME-type output.
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.UTF-8
|
||||
%pyunittest -v test.test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user