Accepting request 998223 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/998223 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-furl?expand=0&rev=7
This commit is contained in:
commit
9bb6dd2df9
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 19 16:28:12 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Skip python2: Fixes 15.X build
|
||||||
|
- Remove flake8 test requirement: no code linting required for
|
||||||
|
packaging
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 17 10:41:58 UTC 2021 - pgajdos@suse.com
|
Mon May 17 10:41:58 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-furl
|
# spec file for package python-furl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-furl
|
Name: python-furl
|
||||||
Version: 2.1.2
|
Version: 2.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -28,12 +29,11 @@ Source: https://files.pythonhosted.org/packages/source/f/furl/furl-%{ver
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-orderedmultidict >= 1.0
|
Requires: python-orderedmultidict >= 1.0.1
|
||||||
Requires: python-six >= 1.8.0
|
Requires: python-six >= 1.8.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module flake8}
|
BuildRequires: %{python_module orderedmultidict >= 1.0.1}
|
||||||
BuildRequires: %{python_module orderedmultidict >= 1.0}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six >= 1.8.0}
|
BuildRequires: %{python_module six >= 1.8.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@ -44,18 +44,14 @@ furl is a Python library for parsing and manipulating URLs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n furl-%{version}
|
%autosetup -p1 -n furl-%{version}
|
||||||
|
chmod -x *.md furl.egg-info/*
|
||||||
chmod -x *.md
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%{python_expand #
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
chmod -x %{buildroot}%{$python_sitelib}/furl-%{version}*-info/*
|
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user