d6c4747
%global pypi_name aioflo
d6c4747
d6c4747
Name:           python-%{pypi_name}
b8c9819
Version:        0.4.2
2210ff0
Release:        13%{?dist}
d6c4747
Summary:        Python library for Flo by Moen Smart Water Detectors
d6c4747
d6c4747
License:        MIT
d6c4747
URL:            https://github.com/bachya/aioflo
d6c4747
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
d6c4747
BuildArch:      noarch
d6c4747
d6c4747
%description
d6c4747
An asyncio-friendly Python library for Flo Smart Water Detectors.
d6c4747
d6c4747
%package -n     python3-%{pypi_name}
d6c4747
Summary:        %{summary}
d6c4747
d6c4747
BuildRequires:  python3-devel
d6c4747
BuildRequires:  pyproject-rpm-macros
2e1e48f
BuildRequires:  python3dist(poetry-core)
d6c4747
BuildRequires:  python3dist(pytest)
d6c4747
BuildRequires:  python3dist(aiohttp)
d6c4747
BuildRequires:  python3dist(aresponses)
d6c4747
BuildRequires:  python3dist(pytest-aiohttp)
d6c4747
BuildRequires:  python3dist(pytest-cov)
d6c4747
%{?python_provide:%python_provide python3-%{pypi_name}}
d6c4747
d6c4747
%description -n python3-%{pypi_name}
d6c4747
An asyncio-friendly Python library for Flo Smart Water Detectors.
d6c4747
d6c4747
%prep
d6c4747
%autosetup -n %{pypi_name}-%{version}
d6c4747
d6c4747
%generate_buildrequires
d6c4747
%pyproject_buildrequires -r
d6c4747
d6c4747
%build
d6c4747
%pyproject_wheel
d6c4747
d6c4747
%install
d6c4747
%pyproject_install
d6c4747
%pyproject_save_files %{pypi_name}
d6c4747
d6c4747
%check
d6c4747
%pytest -v tests
d6c4747
d6c4747
%files -n python3-%{pypi_name} -f %{pyproject_files}
d6c4747
%license LICENSE
d6c4747
%doc AUTHORS.md README.md
d6c4747
d6c4747
%changelog
2210ff0
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 0.4.2-13
2210ff0
- Rebuilt for Python 3.13
2210ff0
88f2d11
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-12
88f2d11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
88f2d11
21f8cb2
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-11
21f8cb2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
21f8cb2
b8d4009
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-10
b8d4009
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
b8d4009
11da130
* Sun Jul 02 2023 Python Maint <python-maint@redhat.com> - 0.4.2-9
11da130
- Rebuilt for Python 3.12
11da130
1d45cd0
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-8
1d45cd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
1d45cd0
8f469b3
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-7
8f469b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8f469b3
d4bbaac
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 0.4.2-6
d4bbaac
- Rebuilt for Python 3.11
d4bbaac
f6e6773
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-5
f6e6773
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f6e6773
59b812b
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-4
59b812b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
59b812b
442114e
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.4.2-3
442114e
- Rebuilt for Python 3.10
442114e
82d4bdc
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
82d4bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
82d4bdc
b8c9819
* Tue Jan 19 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-1
b8c9819
- Update to latest upstream release 0.4.2
b8c9819
d6c4747
* Tue Sep 15 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.1-2
d6c4747
- Switch to GitHub as source
d6c4747
- Switch to pyproject-rpm-macros
d6c4747
- Enable tests (rhbz#1875868)
d6c4747
d6c4747
* Fri Sep 04 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.1-1
d6c4747
- Initial package for Fedora