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:
commit
48a90f167c
@ -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
BIN
0.4.27.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user