|
|
d521899 |
%global pypi_name py-smart-gardena
|
|
|
d521899 |
%global pkg_name smart-gardena
|
|
|
d521899 |
|
|
|
d521899 |
Name: python-%{pkg_name}
|
|
|
d521899 |
Version: 0.7.10
|
|
|
daa1ab2 |
Release: 5%{?dist}
|
|
|
d521899 |
Summary: Python client to communicate with Gardena systems
|
|
|
d521899 |
|
|
|
d521899 |
License: MIT
|
|
|
d521899 |
URL: https://github.com/py-smart-gardena/py-smart-gardena
|
|
|
d521899 |
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
d521899 |
BuildArch: noarch
|
|
|
d521899 |
|
|
|
d521899 |
%description
|
|
|
d521899 |
The py-smart-gardena library aims to provide python way to communicate
|
|
|
d521899 |
with Gardena smart systems and all Gardena smart equipment.
|
|
|
d521899 |
|
|
|
d521899 |
%package -n python3-%{pkg_name}
|
|
|
d521899 |
Summary: %{summary}
|
|
|
d521899 |
|
|
|
d521899 |
BuildRequires: python3-devel
|
|
|
d521899 |
BuildRequires: python3dist(coverage)
|
|
|
d521899 |
BuildRequires: python3dist(oauthlib)
|
|
|
d521899 |
BuildRequires: python3dist(pytest)
|
|
|
d521899 |
BuildRequires: python3dist(pytest-cov)
|
|
|
d521899 |
BuildRequires: python3dist(pytest-runner)
|
|
|
d521899 |
BuildRequires: python3dist(requests)
|
|
|
d521899 |
BuildRequires: python3dist(requests-mock)
|
|
|
d521899 |
BuildRequires: python3dist(requests-oauthlib)
|
|
|
d521899 |
BuildRequires: python3dist(setuptools)
|
|
|
d521899 |
BuildRequires: python3dist(websocket-client)
|
|
|
d521899 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
d521899 |
|
|
|
d521899 |
%description -n python3-%{pkg_name}
|
|
|
d521899 |
The py-smart-gardena library aims to provide python way to communicate
|
|
|
d521899 |
with Gardena smart systems and all Gardena smart equipment.
|
|
|
d521899 |
|
|
|
d521899 |
%prep
|
|
|
d521899 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
d521899 |
rm -rf %{pypi_name}.egg-info
|
|
|
d521899 |
# Superfluous file
|
|
|
d521899 |
rm -rf src/__init__.py
|
|
|
d521899 |
|
|
|
d521899 |
%build
|
|
|
d521899 |
%py3_build
|
|
|
d521899 |
|
|
|
d521899 |
%install
|
|
|
d521899 |
%py3_install
|
|
|
d521899 |
|
|
|
d521899 |
%check
|
|
|
d521899 |
%pytest -v tests
|
|
|
d521899 |
|
|
|
d521899 |
%files -n python3-%{pkg_name}
|
|
|
d521899 |
%doc README.md
|
|
|
d521899 |
%license LICENSE
|
|
|
d521899 |
%{python3_sitelib}/gardena/
|
|
|
d521899 |
%{python3_sitelib}/py_smart_gardena-%{version}-py%{python3_version}.egg-info/
|
|
|
d521899 |
|
|
|
d521899 |
%changelog
|
|
|
daa1ab2 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.10-5
|
|
|
daa1ab2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
daa1ab2 |
|
|
|
26023e9 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.10-4
|
|
|
26023e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
26023e9 |
|
|
|
490781a |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.10-3
|
|
|
490781a |
- Rebuilt for Python 3.10
|
|
|
490781a |
|
|
|
cf30601 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.10-2
|
|
|
cf30601 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
cf30601 |
|
|
|
d521899 |
* Sat Sep 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.10-1
|
|
|
d521899 |
- Shebang issue was fixed upstream
|
|
|
d521899 |
- Update to latest upstream release 0.7.10
|
|
|
d521899 |
|
|
|
d521899 |
* Fri Sep 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.9-1
|
|
|
d521899 |
- Initial package for Fedora
|