e0815d2
%global srcname json2table
e0815d2
e0815d2
%{?python_enable_dependency_generator}
e0815d2
e0815d2
Name:           python-%{srcname}
e0815d2
Version:        1.1.5
ffb0a17
Release:        9%{?dist}
b5e1bcb
Summary:        Python module to convert JSON to an HTML table
e0815d2
e0815d2
License:        MIT
e0815d2
URL:            https://github.com/latture/json2table
e0815d2
Source0:        %{pypi_source}
e0815d2
BuildArch:      noarch
e0815d2
e0815d2
%description
e0815d2
This is a simple Python package that allows a JSON object to be converted
e0815d2
to HTML. It provides a convert function that accepts a dict instance and
e0815d2
returns a string of converted HTML.
e0815d2
e0815d2
%package -n python3-%{srcname}
e0815d2
Summary:        %{summary}
e0815d2
%{?python_provide:%python_provide python3-%{srcname}}
e0815d2
BuildRequires:  python3-devel
e0815d2
BuildRequires:  python3-setuptools
e0815d2
Requires:       python3-beautifulsoup4
e0815d2
e0815d2
%description -n python3-%{srcname}
e0815d2
This is a simple Python package that allows a JSON object to be converted
e0815d2
to HTML. It provides a convert function that accepts a dict instance and
e0815d2
returns a string of converted HTML.
e0815d2
e0815d2
%prep
e0815d2
%autosetup -n %{srcname}-%{version}
e0815d2
e0815d2
%build
e0815d2
%py3_build
e0815d2
e0815d2
%install
e0815d2
%py3_install
e0815d2
e0815d2
%files -n python3-%{srcname}
e0815d2
%doc README.rst
e0815d2
%license LICENSE.txt
e0815d2
%{python3_sitelib}/%{srcname}-*.egg-info/
e0815d2
%{python3_sitelib}/%{srcname}/
e0815d2
e0815d2
%changelog
ffb0a17
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-9
ffb0a17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ffb0a17
3a3354b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.5-8
3a3354b
- Rebuilt for Python 3.9
3a3354b
76e52cb
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-7
76e52cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
76e52cb
a9aa6f8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.5-6
a9aa6f8
- Rebuilt for Python 3.8.0rc1 (#1748018)
a9aa6f8
6d44bd0
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.5-5
6d44bd0
- Rebuilt for Python 3.8
6d44bd0
c590c39
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-4
c590c39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c590c39
b5e1bcb
* Thu Apr 25 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.5-3
b5e1bcb
- Fix typos (rhbz#1708273)
b5e1bcb
e0815d2
* Thu Apr 25 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.5-2
e0815d2
- Add missing license file
e0815d2
e0815d2
* Sun Apr 21 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.5-1
e0815d2
- Initial package for Fedora