File python-influxdb.spec of Package python-influxdb
#
# 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/
#
Name: python-influxdb
Version: 4.0.0
Release: 0
Summary: InfluxDB client
License: MIT
Group: Development/Languages/Python
Url: https://github.com/influxdb/influxdb-python
Source: https://pypi.io/packages/source/i/influxdb-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-python-dateutil >= 2.0.0
BuildRequires: python-pytz
BuildRequires: python-requests >= 1.0.3
BuildRequires: python-setuptools
BuildRequires: python-six >= 1.9.0
# test requirements
BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-requests-mock
Requires: python-python-dateutil >= 2.0.0
Requires: python-pytz
Requires: python-requests >= 1.0.3
Requires: python-six >= 1.9.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%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 setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
#python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python_sitelib}/*
%changelog