forked from pool/python-multipledispatch
Accepting request 694223 from home:pgajdos
- version update to 0.6.0 * no upstream changelog - turn testsuite on - deleted sources - LICENSE.txt (not needed) OBS-URL: https://build.opensuse.org/request/show/694223 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multipledispatch?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
1cbb97f676
commit
d694abe597
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-multipledispatch
|
||||
#
|
||||
# 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
|
||||
@@ -18,14 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-multipledispatch
|
||||
Version: 0.5.0
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: Multiple dispatch in Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/mrocklin/multipledispatch/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/multipledispatch/multipledispatch-%{version}.tar.gz
|
||||
Source10: https://raw.githubusercontent.com/mrocklin/multipledispatch/%{version}/LICENSE.txt
|
||||
Source: https://github.com/mrocklin/multipledispatch/archive/0.6.0.tar.gz
|
||||
BuildRequires: %{python_module pytest-benchmark}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -42,7 +43,7 @@ support.
|
||||
|
||||
%prep
|
||||
%setup -q -n multipledispatch-%{version}
|
||||
cp %{SOURCE10} .
|
||||
rm multipledispatch/tests/test_dispatcher_3only.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -51,6 +52,9 @@ cp %{SOURCE10} .
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user