17
0

osc copypac from project:devel:languages:python:misc package:python-python-consul revision:2, using expand

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-consul?expand=0&rev=1
This commit is contained in:
2019-11-05 11:54:42 +00:00
committed by Git OBS Bridge
commit 94844fa325
5 changed files with 134 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:168f1fa53948047effe4f14d53fc1dab50192e2a2cf7855703f126f469ea11f4
size 25686

View File

@@ -0,0 +1,36 @@
-------------------------------------------------------------------
Tue Nov 5 11:49:40 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
- update to 1.1.0
* add support for nodemeta to catalog and health end points
* update Check.script to use args, as Consul 1.1 has dropped the script
parameter
* Support for Python 3.4 dropped
* Add support for Consul 1.0.0
* Expose all 400 errors and add tests for common callback handler
* Add header parameter to http check
* Add basic Transaction HTTP API support
* Fix invalid url error when specifying credentials via host (Issue #167)
* Add a common base client for shared functionality between different HTTP clients
* Fix request quoting issue
* Fix installation issue due to aiohttp only being available for Python>=3.4.2
* Added support for current release of aiohttp
* Improved Tornado example
* Add and use ACL token in Event.fire
* Add client side cert support
* Add token params to catalog registe
* Add support for DeregisterCriticalServiceAfter
* Improve reliability of test suite
* Update CI: Add py35 and py36 to tests
-------------------------------------------------------------------
Sat Mar 3 18:40:40 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* don't use python_module for Requires
-------------------------------------------------------------------
Tue Jul 11 06:02:21 UTC 2017 - tbechtold@suse.com
- Initial package (version 0.7.0)

71
python-python-consul.spec Normal file
View File

@@ -0,0 +1,71 @@
#
# spec file for package python-python-consul
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-python-consul
Version: 1.1.0
Release: 0
Summary: Python client for Consul (http://www.consulio/)
License: MIT
Group: Development/Languages/Python
Url: https://github.com/cablehead/python-consul
Source: https://files.pythonhosted.org/packages/source/p/python-consul/python-consul-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module requests >= 2.0}
BuildRequires: %{python_module six >= 1.4}
%endif
# SECTION test requirements
%if %{with test}
BuildRequires: %{python_module pytest-twisted}
BuildRequires: %{python_module pytest}
%endif
# /SECTION
Requires: python-requests >= 2.0
Requires: python-six >= 1.4
Suggests: python-aiohttp
Suggests: python-tornado
Suggests: python-twisted
Suggests: python-treq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
Python client for `Consul.io <http://www.consul.io/>`_
%prep
%setup -q -n python-consul-%{version}
%build
%python_build
%install
%python_install
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGELOG.rst LICENSE README.rst
%{python_sitelib}/*
%changelog