|
|
fabebfa |
Name: home-assistant-cli
|
|
|
dfefd1a |
Version: 0.9.6
|
|
|
0508e29 |
Release: 9%{?dist}
|
|
|
fabebfa |
Summary: Command-line tool for Home Assistant
|
|
|
fabebfa |
|
|
|
0de77b0 |
License: Apache-2.0
|
|
|
fabebfa |
URL: https://github.com/home-assistant/home-assistant-cli
|
|
|
fabebfa |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
fabebfa |
BuildArch: noarch
|
|
|
fabebfa |
|
|
|
9fea9bb |
# Allow later dateparser
|
|
|
9fea9bb |
# https://github.com/home-assistant-ecosystem/home-assistant-cli/pull/403
|
|
|
e22e745 |
Patch0: %{url}/pull/403.patch
|
|
|
e22e745 |
|
|
|
e22e745 |
# Allow later ruamel
|
|
|
e22e745 |
# https://github.com/home-assistant-ecosystem/home-assistant-cli/pull/412
|
|
|
e22e745 |
Patch1: %{url}/pull/412.patch
|
|
|
9fea9bb |
|
|
|
fabebfa |
BuildRequires: python3-devel
|
|
|
0472c12 |
BuildRequires: python3-setuptools
|
|
|
fabebfa |
BuildRequires: python3-ruamel-yaml
|
|
|
fabebfa |
BuildRequires: python3-aiohttp
|
|
|
fabebfa |
BuildRequires: python3-regex
|
|
|
fabebfa |
BuildRequires: python3-mypy
|
|
|
fabebfa |
BuildRequires: python3-pytest-cov
|
|
|
fabebfa |
BuildRequires: python3-pytest-sugar
|
|
|
fabebfa |
BuildRequires: python3-pytest-timeout
|
|
|
fabebfa |
BuildRequires: python3-pytest
|
|
|
fabebfa |
BuildRequires: python3-requests-mock
|
|
|
fabebfa |
BuildRequires: python3-dateparser
|
|
|
fabebfa |
BuildRequires: python3-click-log
|
|
|
fabebfa |
BuildRequires: python3-click
|
|
|
fabebfa |
BuildRequires: python3-netdisco
|
|
|
fabebfa |
BuildRequires: python3-tabulate
|
|
|
feee531 |
BuildRequires: python3-jsonpath-ng
|
|
|
fabebfa |
|
|
|
fabebfa |
%description
|
|
|
fabebfa |
The Home Assistant Command-line interface (hass-cli) allows one to work with
|
|
|
fabebfa |
a local or a remote Home Assistant instance directly from the command-line.
|
|
|
fabebfa |
|
|
|
fabebfa |
%prep
|
|
|
9fea9bb |
%autosetup -n %{name}-%{version} -p1
|
|
|
26e728c |
sed -i "/>=0.3.2,<0.4/d" setup.py
|
|
|
fabebfa |
|
|
|
fabebfa |
%build
|
|
|
fabebfa |
%py3_build
|
|
|
fabebfa |
|
|
|
fabebfa |
%install
|
|
|
fabebfa |
%py3_install
|
|
|
fabebfa |
|
|
|
fabebfa |
%check
|
|
|
fabebfa |
PYTHONPATH=%{buildroot}/%{python3_sitelib}/ pytest-%{python3_version} -v tests \
|
|
|
fabebfa |
-k "not test_commands_loads[template]"
|
|
|
fabebfa |
|
|
|
fabebfa |
%files
|
|
|
fabebfa |
%doc README.rst
|
|
|
fabebfa |
%license LICENSE.md
|
|
|
fabebfa |
%{_bindir}/hass-cli
|
|
|
fabebfa |
%{python3_sitelib}/homeassistant_cli/
|
|
|
fabebfa |
%{python3_sitelib}/homeassistant_cli*.egg-info/
|
|
|
fabebfa |
|
|
|
fabebfa |
%changelog
|
|
|
0508e29 |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-9
|
|
|
0508e29 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
0508e29 |
|
|
|
c3b42cd |
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-8
|
|
|
c3b42cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
c3b42cd |
|
|
|
0de77b0 |
* Sat Dec 30 2023 Daniel Milnes <daniel@daniel-milnes.uk> - 0.9.6-7
|
|
|
0de77b0 |
- Migrate license to SPDX
|
|
|
0de77b0 |
|
|
|
956a190 |
* Sat Dec 30 2023 Daniel Milnes <daniel@daniel-milnes.uk> - 0.9.6-6
|
|
|
4d1d655 |
- Allow newer ruamel (closes rhbz#2246610)
|
|
|
956a190 |
|
|
|
9559f10 |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-5
|
|
|
9559f10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
9559f10 |
|
|
|
18c6a4e |
* Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 0.9.6-4
|
|
|
18c6a4e |
- Rebuilt for Python 3.12
|
|
|
18c6a4e |
|
|
|
9fea9bb |
* Sat Mar 11 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.9.6-3
|
|
|
9fea9bb |
- Allow later dateparser
|
|
|
9fea9bb |
|
|
|
9f65e37 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-2
|
|
|
9f65e37 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
9f65e37 |
|
|
|
dfefd1a |
* Mon Oct 24 2022 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.6-1
|
|
|
dfefd1a |
- Update to latest upstream release 0.9.6
|
|
|
dfefd1a |
|
|
|
26e728c |
* Sat Oct 01 2022 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.5-1
|
|
|
10771ef |
- Update to latest upstream release 0.9.5 (closes rhbz#2058155)
|
|
|
26e728c |
|
|
|
1aaf925 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-4
|
|
|
1aaf925 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
1aaf925 |
|
|
|
dd15017 |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 0.9.4-3
|
|
|
dd15017 |
- Rebuilt for Python 3.11
|
|
|
dd15017 |
|
|
|
bfdf0ce |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-2
|
|
|
bfdf0ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
bfdf0ce |
|
|
|
feee531 |
* Fri Sep 03 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.4-1
|
|
|
feee531 |
- Update to latest upstream release 0.9.4 (closes rhbz#1946226)
|
|
|
feee531 |
|
|
|
b0f11e6 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-7
|
|
|
b0f11e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b0f11e6 |
|
|
|
ecfb190 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.1-6
|
|
|
ecfb190 |
- Rebuilt for Python 3.10
|
|
|
ecfb190 |
|
|
|
7cb19d5 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-5
|
|
|
7cb19d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7cb19d5 |
|
|
|
3e0a9a2 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-4
|
|
|
3e0a9a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3e0a9a2 |
|
|
|
0472c12 |
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-3
|
|
|
0472c12 |
- Add python3-setuptools as BR
|
|
|
0472c12 |
|
|
|
f7b6c9b |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.9.1-2
|
|
|
f7b6c9b |
- Rebuilt for Python 3.9
|
|
|
f7b6c9b |
|
|
|
726dc39 |
* Wed Apr 22 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-1
|
|
|
726dc39 |
- Update to latest upstream release 0.9.1
|
|
|
726dc39 |
|
|
|
2cd1795 |
* Mon Apr 13 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.0-1
|
|
|
2cd1795 |
- Update to latest upstream release 0.9.0
|
|
|
2cd1795 |
|
|
|
fabebfa |
* Tue Mar 24 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-2
|
|
|
fabebfa |
- Add missing BR
|
|
|
fabebfa |
|
|
|
fabebfa |
* Sun Nov 17 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-1
|
|
|
fabebfa |
- Update to latest upstream release 0.8.0
|
|
|
fabebfa |
|
|
|
fabebfa |
* Mon Jun 10 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.0-1
|
|
|
fabebfa |
- Initial package for Fedora
|