Accepting request 998228 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/998228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyquery?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2022-08-22 09:04:50 +00:00 committed by Git OBS Bridge
commit fbf94becac
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 19 11:41:24 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Remove coverage from build requirements -- not relevant for rpm
package
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 30 08:07:39 UTC 2022 - Dirk Müller <dmueller@suse.com> Wed Mar 30 08:07:39 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -16,7 +16,8 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@ -33,7 +34,6 @@ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/pyquery URL: https://pypi.python.org/pypi/pyquery
Source: https://files.pythonhosted.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module cssselect > 0.7.9} BuildRequires: %{python_module cssselect > 0.7.9}
BuildRequires: %{python_module lxml >= 2.1} BuildRequires: %{python_module lxml >= 2.1}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@ -78,7 +78,7 @@ XML and HTML manipulation.
%license LICENSE.txt %license LICENSE.txt
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%{python_sitelib}/pyquery/ %{python_sitelib}/pyquery/
%{python_sitelib}/pyquery-%{version}-py*.egg-info %{python_sitelib}/pyquery-%{version}*-info
%endif %endif
%changelog %changelog