1
0

Accepting request 544468 from devel:languages:python

python influxdb client

OBS-URL: https://build.opensuse.org/request/show/544468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-influxdb?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2017-11-25 07:42:09 +00:00 committed by Git OBS Bridge
commit 1f6e696607
5 changed files with 124 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

3
influxdb-5.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6adba2ddfd5781a06b5204339e679d66645bf6cc2b7f493eb9d7c8986d714e80
size 56396

28
python-influxdb.changes Normal file
View File

@ -0,0 +1,28 @@
-------------------------------------------------------------------
Wed Nov 22 18:32:54 UTC 2017 - mimi.vx@gmail.com
- convert to singlespec
-------------------------------------------------------------------
Tue Nov 21 17:56:20 UTC 2017 - ncutler@suse.com
- spec file
+ "hostname" build dependency only for Leap 15 and above
-------------------------------------------------------------------
Tue Nov 21 17:05:52 UTC 2017 - ncutler@suse.com
- update to 5.0.0
for detailed change log, see https://github.com/influxdata/influxdb-python/commits/b59fe97
- add "hostname" build dependency
-------------------------------------------------------------------
Mon Apr 10 09:37:39 UTC 2017 - dmueller@suse.com
- remove unnecessary build requires
-------------------------------------------------------------------
Mon Jan 16 12:37:01 UTC 2017 - dmueller@suse.com
- Initial packaging (4.0.0)

69
python-influxdb.spec Normal file
View File

@ -0,0 +1,69 @@
#
# spec file for package python-influxdb
#
# Copyright (c) 2017 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-%{**}}
Name: python-influxdb
Version: 5.0.0
Release: 0
Summary: InfluxDB client
License: MIT
Group: Development/Languages/Python
Url: https://github.com/influxdb/influxdb-python
Source: https://files.pythonhosted.org/packages/source/i/influxdb/influxdb-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module python-dateutil >= 2.0.0}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests >= 1.0.3}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# test requirements
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module requests-mock}
%if 0%{?suse_version} >= 1500
BuildRequires: hostname
%endif
Requires: python-python-dateutil >= 2.0.0
Requires: python-pytz
Requires: python-requests >= 1.0.3
Requires: python-six >= 1.9.0
BuildArch: noarch
%python_subpackages
%description
InfluxDB-Python is a client for interacting with InfluxDB_. Maintained by @aviau (https://github.com/aviau).
%prep
%setup -q -n influxdb-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog