forked from pool/python-extratools
- Update to 0.8.2.1:
* no upstream changelog OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extratools?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
8393849c1c
commit
f3219caa5f
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-extratools
|
||||
#
|
||||
# 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
|
||||
@@ -19,17 +19,22 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-extratools
|
||||
Version: 0.8
|
||||
Version: 0.8.2.1
|
||||
Release: 0
|
||||
Summary: 145+ extra higher-level functional tools
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/chuanconggao/extratools
|
||||
URL: https://github.com/chuanconggao/extratools
|
||||
Source: https://files.pythonhosted.org/packages/source/e/extratools/extratools-%{version}.tar.gz
|
||||
Source10: https://raw.githubusercontent.com/chuanconggao/extratools/%{version}/LICENSE
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-RegexOrder >= 0.2
|
||||
Requires: python-TagStats >= 0.1.2
|
||||
Requires: python-sh >= 1.12.13
|
||||
Requires: python-sortedcontainers >= 1.5.10
|
||||
Requires: python-toolz >= 0.9.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module RegexOrder >= 0.2}
|
||||
BuildRequires: %{python_module TagStats >= 0.1.2}
|
||||
@@ -37,19 +42,13 @@ BuildRequires: %{python_module sh >= 1.12.13}
|
||||
BuildRequires: %{python_module sortedcontainers >= 1.5.10}
|
||||
BuildRequires: %{python_module toolz >= 0.9.0}
|
||||
# /SECTION
|
||||
Requires: python-RegexOrder >= 0.2
|
||||
Requires: python-TagStats >= 0.1.2
|
||||
Requires: python-sh >= 1.12.13
|
||||
Requires: python-sortedcontainers >= 1.5.10
|
||||
Requires: python-toolz >= 0.9.0
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
145+ extra higher-level functional tools that go beyond standard
|
||||
library's itertools, functools, etc. and popular third-party
|
||||
libraries like toolz, funcy, and more-itertools.
|
||||
|
||||
%prep
|
||||
%setup -q -n extratools-%{version}
|
||||
sed -i -e '/^#!\s*\//, 1d' extratools/*.py
|
||||
@@ -58,7 +57,6 @@ chmod a-x extratools/*/*.js
|
||||
|
||||
%build
|
||||
%python_build
|
||||
cp %{SOURCE10} .
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
||||
Reference in New Issue
Block a user