Blame python-hass-data-detective.spec

740b557
# Created by pyp2rpm-3.3.4
740b557
%global pypi_name HASS-data-detective
740b557
%global pkg_name hass-data-detective
740b557
740b557
Name:           python-%{pkg_name}
740b557
Version:        2.1
740b557
Release:        1%{?dist}
740b557
Summary:        Tools for studying Home Assistant data
740b557
740b557
License:        MIT
740b557
URL:            https://github.com/robmarkcole/HASS-data-detective
740b557
Source0:        %{pypi_source}
740b557
BuildArch:      noarch
740b557
740b557
%description
740b557
This package provides a set of convenience functions and classes to analyze the
740b557
data in your Home Assistant database.
740b557
740b557
%package -n     python3-%{pkg_name}
740b557
Summary:        %{summary}
740b557
740b557
BuildRequires:  python3-devel
740b557
BuildRequires:  python3-pandas
740b557
BuildRequires:  python3-pytz
740b557
BuildRequires:  python3-ruamel-yaml
740b557
BuildRequires:  python3-setuptools
740b557
BuildRequires:  python3-sqlalchemy
740b557
BuildRequires:  python3-pytest-timeout
740b557
BuildRequires:  python3-pytest
740b557
%{?python_provide:%python_provide python3-%{pkg_name}}
740b557
740b557
%description -n python3-%{pkg_name}
740b557
This package provides a set of convenience functions and classes to analyze the
740b557
data in your Home Assistant database.
740b557
740b557
%prep
740b557
%autosetup -n %{pypi_name}-%{version}
740b557
rm -rf %{pypi_name}.egg-info
740b557
740b557
%build
740b557
%py3_build
740b557
740b557
%install
740b557
%py3_install
740b557
740b557
%check
740b557
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
740b557
740b557
%files -n python3-%{pkg_name}
740b557
%license LICENSE
740b557
%doc README.md
740b557
%{python3_sitelib}/detective/
740b557
%{python3_sitelib}/HASS_data_detective-%{version}-py%{python3_version}.egg-info
740b557
740b557
%changelog
740b557
* Tue Jun 09 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.1-1
740b557
- Initial package for Fedora