forked from pool/python-identify
Accepting request 895695 from home:pgajdos:python
setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895695 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=15
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d5d5b8ec3763492106c8f985322aa2a98bbb1f240df759afa38fd85c8e205408
|
||||
size 99227
|
||||
3
identify-2.2.6.tar.gz
Normal file
3
identify-2.2.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ffc0d3a1fd6f9622da2a547e2fb25a75d50b0a16f22b4d752df2659f56bde95
|
||||
size 101016
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 26 10:19:37 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- version update to 2.2.6
|
||||
* lot of changes, no upstream changelog found
|
||||
https://github.com/pre-commit/identify/compare/v1.4.14...v2.2.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 26 06:36:52 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pytest macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 10:59:23 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-identify
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,21 +18,21 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-identify
|
||||
Version: 1.4.14
|
||||
Version: 2.2.6
|
||||
Release: 0
|
||||
Summary: File identification library for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/chriskuehl/identify
|
||||
Source: https://github.com/chriskuehl/identify/archive/v%{version}.tar.gz#/identify-%{version}.tar.gz
|
||||
BuildRequires: %{python_module editdistance}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module editdistance-s}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Suggests: python-editdistance
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -52,7 +52,7 @@ File identification library for Python, including license file SPDX identifier.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py pytest
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative identify-cli
|
||||
|
||||
Reference in New Issue
Block a user