diff --git a/.python-influxdb-client.metadata b/.python-influxdb-client.metadata new file mode 100644 index 0000000..d5df2b2 --- /dev/null +++ b/.python-influxdb-client.metadata @@ -0,0 +1 @@ +5e584c6b7e666b4431b56177d4f75d16cf8b7fb9 SOURCES/influxdb-client-python-1.36.1.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-influxdb-client.spec b/SPECS/python-influxdb-client.spec new file mode 100644 index 0000000..732d642 --- /dev/null +++ b/SPECS/python-influxdb-client.spec @@ -0,0 +1,73 @@ +%global forgeurl https://github.com/influxdata/influxdb-client-python + +Name: python-influxdb-client +Version: 1.36.1 +%forgemeta +Release: 5%{dist} +Summary: Python client library for the InfluxDB 2.0 and 1.8+ + +License: MIT +URL: %{forgeurl} +Source: %{forgesource} + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-pandas + +%global _description\ +Use this client library with InfluxDB 2.x and InfluxDB 1.8+. For connecting\ +to InfluxDB 1.7 or earlier instances, use the python-influxdb package.\ + +%description %_description + +%package -n python3-influxdb-client +Summary: %{summary} + +%description -n python3-influxdb-client %_description + + +%prep +%forgesetup + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files influxdb_client + + +%check +# The upstream test suite needs to run InfluxDB2 on local +# machine using docker which is hard for distros to run +# in buildroot. For now, we'll just check that the module is +# importable. +# we ignore async files as CloudKitty only uses sync mode. +%pyproject_check_import -e *async* + + +%files -n python3-influxdb-client -f %{pyproject_files} +%doc README.rst + + +%changelog +* Fri Jan 26 2024 Fedora Release Engineering - 1.36.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.36.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.36.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Python Maint - 1.36.1-2 +- Rebuilt for Python 3.12 + +* Sat Mar 25 2023 Steve Traylen - 1.36.1-1 +- First Fedora Package #2117384 +