14
0

Accepting request 824827 from home:mcalabkova:branches:devel:languages:python

- Update to 2.2.0
  * Loosen requirements and drop six
- Drop loosen-requirements.patch

OBS-URL: https://build.opensuse.org/request/show/824827
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypuppetdb?expand=0&rev=12
This commit is contained in:
Tomáš Chvátal
2020-08-07 13:12:04 +00:00
committed by Git OBS Bridge
parent f9b86f64ad
commit cd79a40f9b
5 changed files with 11 additions and 15 deletions

View File

@@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pypuppetdb
Version: 2.1.0
Version: 2.2.0
Release: 0
Summary: Library to work with PuppetDB's REST API
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/nedap/pypuppetdb
Source: https://github.com/voxpupuli/pypuppetdb/archive/v%{version}.tar.gz
# PATCH-FIX-OPENSUSE Fix requirements in generated egg-info
Patch0: loosen-requirements.patch
BuildRequires: %{python_module httpretty >= 0.9.6}
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module pytest >= 3.0.1}
@@ -46,7 +44,6 @@ More information: https://github.com/nedap/pypuppetdb
%prep
%setup -q -n pypuppetdb-%{version}
%patch0 -p1
%build
%python_build