Accepting request 1009307 from devel:languages:python

- 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/request/show/1009307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-magic?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2022-10-12 16:23:30 +00:00 committed by Git OBS Bridge
commit 48a90f167c
4 changed files with 14 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c1f483995067ffff268103f8bb6860d2f42aa3a5a9b906eaf34bcce1de36329
size 864121

BIN
0.4.27.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Oct 10 08:53:37 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 16 17:32:56 UTC 2022 - Matej Cepl <mcepl@suse.com> Wed Feb 16 17:32:56 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -19,13 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python %define oldpython python
Name: python-python-magic Name: python-python-magic
Version: 0.4.25 Version: 0.4.27
Release: 0 Release: 0
Summary: File type identification using libmagic Summary: File type identification using libmagic
License: Python-2.0 License: Python-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/ahupp/python-magic URL: https://github.com/ahupp/python-magic
Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml} BuildRequires: %{python_module xml}
BuildRequires: fdupes BuildRequires: fdupes
@ -56,7 +57,7 @@ supports both textual and MIME-type output.
%check %check
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
%pyunittest -v test.test %pytest
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE