Blame SPECS/python-influxdb-client.spec

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