14
0

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:
Tomáš Chvátal
2019-03-29 13:08:38 +00:00
committed by Git OBS Bridge
parent b58a810585
commit 1f7255d826
4 changed files with 15 additions and 11 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 29 11:29:07 UTC 2019 - pgajdos@suse.com
- version update to 0.5.2
* Use black for code formatting
* Add 3.7 support thanks to @rooterkyberian
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:56:02 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:56:02 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-whichcraft # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-whichcraft Name: python-whichcraft
Version: 0.4.1 Version: 0.5.2
Release: 0 Release: 0
Summary: Cross-python shutil.which functionality Summary: Cross-python shutil.which functionality
License: BSD-3-Clause License: BSD-3-Clause
@@ -30,9 +29,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
%if %{with test} # SECTION test requirements
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
%endif # /SECTION
%python_subpackages %python_subpackages
%description %description
@@ -51,10 +50,8 @@ Python 3 code that was extracted from source.
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check %check
%python_exec test_whichcraft.py %pytest
%endif
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE

View File

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

3
whichcraft-0.5.2.tar.gz Normal file
View File

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