14
0
forked from pool/python-pyudev

Accepting request 960810 from home:dimstar:Factory

Update to 0.23.2 plus a few git commits; does not fix build in F, but is a better base to work on

OBS-URL: https://build.opensuse.org/request/show/960810
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=49
This commit is contained in:
2022-03-10 23:07:17 +00:00
committed by Git OBS Bridge
parent fd8135d9ae
commit 9abcfd5abd
9 changed files with 98 additions and 54 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyudev
Version: 0.22.0+git.1642212208.d5630bf
Version: 0.23.2+14
Release: 0
Summary: Udev bindings for Python
License: LGPL-2.1-or-later
@@ -32,20 +32,17 @@ Patch0: pytest_register_mark.patch
# tests timeout on OBS
Patch2: hypothesis_settings.patch
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(udev)
Requires: libudev1
Requires: python-six
BuildArch: noarch
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module yapf}
%if 0%{?suse_version} < 1550
BuildRequires: python-mock
@@ -66,7 +63,6 @@ in modern linux systems.
# Disable intersphinx and issuetracker, we don't want to access the web during doc build:
sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py
sed -i -e 's/tag_date = true/tag_date = false/' setup.cfg
%build
%python_build