diff --git a/pypuppetdb-0.3.3.tar.gz b/pypuppetdb-0.3.3.tar.gz deleted file mode 100644 index 5b98a83..0000000 --- a/pypuppetdb-0.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:793666aba36ac86f73ec13facb936b6abeae703751fdc32f0228e5b1f2a11d32 -size 38321 diff --git a/python-pypuppetdb.changes b/python-pypuppetdb.changes index 0d1ae3c..e4606a8 100644 --- a/python-pypuppetdb.changes +++ b/python-pypuppetdb.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Aug 27 15:12:27 UTC 2019 - Marketa Calabkova + +- update to version 1.0.0 + * QueryBuilder: Added support for FromOperator, arrays and FromOperator + * New endpoint: status + * POST query in request body + ------------------------------------------------------------------- Thu Feb 14 00:57:25 UTC 2019 - Jan Engelhardt diff --git a/python-pypuppetdb.spec b/python-pypuppetdb.spec index 67a1dd7..4508564 100644 --- a/python-pypuppetdb.spec +++ b/python-pypuppetdb.spec @@ -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 diff --git a/v1.0.0.tar.gz b/v1.0.0.tar.gz new file mode 100644 index 0000000..ad3ecd8 --- /dev/null +++ b/v1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6f04ded4a189714fe204434b43c8fefd0fe3e273c173e1989a91697c6b2d9d0 +size 48645