14
0

- Add patch to not depend on pep8 linter, also reported upstream

to fix properly:
  * shortuuid-no-pep8.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shortuuid?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2018-09-26 09:14:33 +00:00
committed by Git OBS Bridge
parent 4aac4e7b2b
commit 7da448d55b
3 changed files with 52 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,17 +23,14 @@ Release: 0
Summary: A generator library for concise, unambiguous and URL-safe UUIDs
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/stochastic-technologies/shortuuid/
URL: https://github.com/stochastic-technologies/shortuuid/
Source: https://files.pythonhosted.org/packages/source/s/shortuuid/shortuuid-%{version}.tar.gz
BuildRequires: %{python_module devel}
# https://github.com/skorokithakis/shortuuid/issues/38
Patch0: shortuuid-no-pep8.patch
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pep8}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -43,6 +40,7 @@ similar-looking letters and numbers.
%prep
%setup -q -n shortuuid-%{version}
%patch0 -p1
%build
%python_build