%global pypi_name pygatt %{?python_disable_dependency_generator} Name: python-pygatt Version: 5.0.0 Release: 1%{?dist} Summary: A Python Module for Bluetooth LE Generic Attribute Profile License: Apache-2.0 URL: https://github.com/peplin/pygatt Source0: https://github.com/peplin/pygatt/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %description This Module allows reading and writing to GATT descriptors on devices such as fitness trackers, sensors, and anything implementing standard GATT Descriptor behavior. pygatt wraps BlueZ's 'gatttool' command-line utility with a Pythonic API. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-pexpect BuildRequires: python3-mock BuildRequires: python3-pyserial Requires: bluez Requires: python3-pyserial Requires: python3-pexpect %description -n python3-%{pypi_name} This Module allows reading and writing to GATT descriptors on devices such as fitness trackers, sensors, and anything implementing standard GATT Descriptor behavior. pygatt wraps BlueZ's 'gatttool' command-line utility with a Pythonic API. %prep %autosetup -n %{pypi_name}-%{version} sed -i "/setup_requires/d" setup.py %generate_buildrequires %pyproject_buildrequires -R %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Sun Sep 29 2024 Fabian Affolter - 0.13.1-1 - Update to latest upstream release (closes rhbz#2296187) * Wed Jul 24 2024 Miroslav Suchý - 4.0.5-18 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 4.0.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 4.0.5-16 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.0.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.0.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.0.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 4.0.5-12 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 4.0.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 4.0.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 4.0.5-9 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 4.0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 4.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 4.0.5-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 4.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 4.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 4.0.5-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 4.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 11 2019 Fabian Affolter - 4.0.5-1 - Update to latest upstream release 4.0.5 (rhbz#1751057) * Mon Aug 19 2019 Miro Hrončok - 4.0.3-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 4.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 09 2019 Fabian Affolter - 4.0.3-2 - Disable dependency generator (rhbz#1720235) - Update source URL * Thu May 09 2019 Fabian Affolter - 4.0.3-1 - Update to latest upstream release 4.0.3 (rhbz#1694397) * Sat Feb 02 2019 Fedora Release Engineering - 3.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek - 3.2.0-6 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 3.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 3.2.0-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Iryna Shcherbina - 3.2.0-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Sep 17 2017 Fabian Affolter - 3.2.0-1 - Update to latest upstream release 3.2.0 * Thu Jul 27 2017 Fedora Release Engineering - 3.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Apr 18 2017 Fabian Affolter - 3.1.1-2 - Fix requirement * Mon Apr 03 2017 Fabian Affolter - 3.1.1-1 - Update to latest upstream release 3.1.1 - Update BR * Sat Feb 11 2017 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 23 2017 Fabian Affolter - 3.0.0-3 - Fix BR * Tue Jan 17 2017 Fabian Affolter - 3.0.0-2 - Change source URL - Update requirements * Thu Nov 17 2016 Fabian Affolter - 3.0.0-1 - Update to latest Python guidelines * Fri Sep 16 2016 Fabian Affolter - 2.1.0-1 - Update to latest upstream release 2.1.0 * Tue Mar 22 2016 Fabian Affolter - 2.0.1-1 - Update py3 - Update to latest upstream release 2.0.1 * Wed Jun 03 2015 Fabian Affolter - 1.0.1-1 - Update to latest upstream release 1.0.1 * Thu Mar 12 2015 Fabian Affolter - 1.0.0-1 - Initial spec