2afd84
%global pypi_name anymarkup
2afd84
53d3fc
Name:           python-%{pypi_name}
53d3fc
Version:        0.8.1
0fe162
Release:        2%{?dist}
2afd84
Summary:        Parse or serialize any markup in Python
2afd84
2afd84
License:        BSD
2afd84
URL:            https://github.com/bkabrda/anymarkup
53d3fc
Source0:        https://github.com/bkabrda/anymarkup/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
2afd84
BuildArch:      noarch
2afd84
2afd84
%description
53d3fc
Parse or serialize any markup. Currently supports ini, json, json5, toml,
53d3fc
xml and yaml.
2afd84
53d3fc
%package -n python3-%{pypi_name}
2afd84
Summary: %{summary}
2afd84
2b7517
BuildRequires: python3-devel
2b7517
BuildRequires: python3-setuptools
2b7517
BuildRequires: python3-pytest
2afd84
BuildRequires: python3-configobj
7b1428
BuildRequires: python3-anymarkup-core >= 0.8.0
2afd84
BuildRequires: python3-xmltodict
2afd84
BuildRequires: python3-PyYAML
53d3fc
BuildRequires: python3-toml
53d3fc
BuildRequires: python3-json5
7b1428
BuildRequires: python3-click
53d3fc
%{?python_provide:%python_provide python3-%{pypi_name}}
2afd84
53d3fc
%description -n python3-%{pypi_name}
53d3fc
arse or serialize any markup. Currently supports ini, json, json5, toml,
53d3fc
xml and yaml.
2afd84
2afd84
%prep
53d3fc
%autosetup -n %{pypi_name}-%{version}
2afd84
2afd84
%build
2b7517
%py3_build
2afd84
2afd84
%install
2b7517
%py3_install
2afd84
2afd84
%check
2afd84
%{__python3} -m pytest
2afd84
53d3fc
%files -n python3-%{pypi_name}
2afd84
%doc README.rst
53d3fc
%license LICENSE
7b1428
%{_bindir}/%{pypi_name}
53d3fc
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
53d3fc
%{python3_sitelib}/%{pypi_name}/
2afd84
2afd84
%changelog
0fe162
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
0fe162
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0fe162
53d3fc
* Tue Sep 10 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.1-1
53d3fc
- Update to latest upstream release 0.8.1 (rhbz#1333989))
53d3fc
- Update spec file
53d3fc
4fd25b
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 0.5.0-15
4fd25b
- Rebuilt for Python 3.8
4fd25b
e0b7c3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-14
e0b7c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e0b7c3
2b7517
* Tue Mar 12 2019 Miro Hron훾ok <mhroncok@redhat.com> - 0.5.0-13
2b7517
- Subpackage python2-anymarkup has been removed
2b7517
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
2b7517
488d30
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-12
488d30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
488d30
efb917
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-11
efb917
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
efb917
d64fc1
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 0.5.0-10
d64fc1
- Rebuilt for Python 3.7
d64fc1
958581
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.0-9
958581
- Update Python 2 dependency declarations to new packaging standards
958581
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
958581
4b8340
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-8
4b8340
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4b8340
551e51
* Mon Jul 03 2017 Petr Viktorin <pviktori@redhat.com> - 0.5.0-7
551e51
- Rename the python-anymarkup subpackage to python2-anymarkup
551e51
- Change available python- Requires to python2-
551e51
da29cc
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
da29cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
da29cc
0b8ed0
* Mon Dec 19 2016 Miro Hron훾ok <mhroncok@redhat.com> - 0.5.0-5
0b8ed0
- Rebuild for Python 3.6
0b8ed0
ccee8e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4
ccee8e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ccee8e
e56e79
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
e56e79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e56e79
1c7406
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
1c7406
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
1c7406
8cce39
* Tue Oct 20 2015 jchaloup <jchaloup@redhat.com> - 0.5.0-1
53d3fc
- Update to 0.5.0 (rhbz#1273011)
8cce39
36f812
* Mon Jul 27 2015 jchaloup <jchaloup@redhat.com> - 0.4.3-2
53d3fc
- Tests are not shipped in rpm => no need for pytest as a runtime dependency (rhbz#1247079)
36f812
13b792
* Wed Jun 17 2015 jchaloup <jchaloup@redhat.com> - 0.4.3-1
53d3fc
- Update to 0.4.3 (rhbz#1232519)
13b792
2afd84
* Thu May 21 2015 jchaloup <jchaloup@redhat.com> - 0.4.2-1
53d3fc
- Initial package (rhbz#1223843)