From 1f6e696607293fda2116a730d19862595585840ef14680a686f700e4c96e2111 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 25 Nov 2017 07:42:09 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + influxdb-5.0.0.tar.gz | 3 ++ python-influxdb.changes | 28 +++++++++++++++++ python-influxdb.spec | 69 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 influxdb-5.0.0.tar.gz create mode 100644 python-influxdb.changes create mode 100644 python-influxdb.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/influxdb-5.0.0.tar.gz b/influxdb-5.0.0.tar.gz new file mode 100644 index 0000000..5848e11 --- /dev/null +++ b/influxdb-5.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6adba2ddfd5781a06b5204339e679d66645bf6cc2b7f493eb9d7c8986d714e80 +size 56396 diff --git a/python-influxdb.changes b/python-influxdb.changes new file mode 100644 index 0000000..5a085f6 --- /dev/null +++ b/python-influxdb.changes @@ -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) + diff --git a/python-influxdb.spec b/python-influxdb.spec new file mode 100644 index 0000000..d897cbb --- /dev/null +++ b/python-influxdb.spec @@ -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