14
0

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

- update to version 1.0.0
  * QueryBuilder: Added support for FromOperator, arrays and FromOperator
  * New endpoint: status
  * POST query in request body

OBS-URL: https://build.opensuse.org/request/show/726529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypuppetdb?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-08-27 23:40:48 +00:00
committed by Git OBS Bridge
parent 0e2efdbd63
commit 30efd18fef
4 changed files with 25 additions and 5 deletions

View File

@@ -18,16 +18,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pypuppetdb
Version: 0.3.3
Version: 1.0.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://files.pythonhosted.org/packages/source/p/pypuppetdb/pypuppetdb-%{version}.tar.gz
Source: https://github.com/voxpupuli/pypuppetdb/archive/v%{version}.tar.gz
BuildRequires: %{python_module httpretty >= 0.9.6}
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module pytest >= 3.0.1}
BuildRequires: %{python_module pytest-cov >= 2.2.1}
BuildRequires: %{python_module requests >= 2.22.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.12.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-httpretty >= 0.9.6
Requires: python-requests >= 2.22.0
Requires: python-six >= 1.12.0
BuildArch: noarch
%python_subpackages
@@ -45,6 +54,9 @@ More information: https://github.com/nedap/pypuppetdb
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst CHANGELOG.rst
%license LICENSE