Blame SPECS/python-influxdb-client.spec

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