14
0

- 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:
2022-10-10 08:56:10 +00:00
committed by Git OBS Bridge
parent 9bfe278c0f
commit d10a03299b
4 changed files with 14 additions and 5 deletions

View File

@@ -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