forked from pool/python-whichcraft
Accepting request 689830 from home:pgajdos
- version update to 0.5.2 * Use black for code formatting * Add 3.7 support thanks to @rooterkyberian OBS-URL: https://build.opensuse.org/request/show/689830 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whichcraft?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
b58a810585
commit
1f7255d826
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-whichcraft
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,9 +17,8 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-whichcraft
|
||||
Version: 0.4.1
|
||||
Version: 0.5.2
|
||||
Release: 0
|
||||
Summary: Cross-python shutil.which functionality
|
||||
License: BSD-3-Clause
|
||||
@@ -30,9 +29,9 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -51,10 +50,8 @@ Python 3 code that was extracted from source.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec test_whichcraft.py
|
||||
%endif
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user