Blame mozilla-iot-gateway-addon-python.spec

395c23
%global pypi_name gateway_addon
395c23
%global addon_name gateway-addon-python
395c23
395c23
%{?python_enable_dependency_generator}
395c23
395c23
Name:           mozilla-iot-gateway-addon-python
395c23
Summary:        Python bindings for Mozilla IoT Gateway
702bbe
Version:        0.8.0
21dfc7
Release:        4%{?dist}
395c23
License:        MPLv2.0
395c23
URL:            https://github.com/mozilla-iot/gateway-addon-python
395c23
Source0:        https://github.com/mozilla-iot/%{addon_name}/archive/v%{version}.tar.gz
87e72b
Requires:       python3-pip
395c23
BuildRequires:  python3-devel
395c23
BuildRequires:  python3dist(setuptools)
395c23
BuildRequires:  python3-jsonschema
395c23
BuildRequires:  python3-nnpy
395c23
BuildArch:      noarch
395c23
%{?python_provide:%python_provide python3-%{pypi_name}}
395c23
395c23
%description
395c23
Python bindings for Python add-ons for Mozilla IoT Gateway.
395c23
395c23
395c23
%prep
395c23
%autosetup -n %{addon_name}-%{version}
395c23
395c23
395c23
%build
395c23
%py3_build
395c23
395c23
395c23
%install
395c23
%py3_install
395c23
395c23
395c23
%files
395c23
%license LICENSE.txt
395c23
%doc README.rst
395c23
%{python3_sitelib}/%{pypi_name}/
395c23
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info/
395c23
395c23
%changelog
21dfc7
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
21dfc7
- Rebuilt for Python 3.8
21dfc7
153d66
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
153d66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
153d66
87e72b
* Fri May 31 2019 Troy Dawson <tdawson@redhat.com> - 0.8.0-2
429a97
- Requires python3-pip for python addons to work
87e72b
702bbe
* Thu Apr 25 2019 Troy Dawson <tdawson@redhat.com> - 0.8.0-1
702bbe
- Update to 0.8.0
702bbe
395c23
* Wed Feb 20 2019 Troy Dawson <tdawson@redhat.com> - 0.4.0-1
395c23
- Initial package