89f7c37
%global pypi_name dicttoxml
89f7c37
89f7c37
Name:           python-%{pypi_name}
89f7c37
Version:        1.7.4
da64591
Release:        15%{?dist}
89f7c37
Summary:        Converts a Python dictionary or other native data type into a valid XML string
89f7c37
89f7c37
License:        GPLv2
89f7c37
URL:            https://github.com/quandyfactory/dicttoxml
89f7c37
Source0:        https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
89f7c37
BuildArch:      noarch
89f7c37
89f7c37
BuildRequires:  python3-devel
92b970a
BuildRequires:  python3-setuptools
89f7c37
89f7c37
%description
89f7c37
Converts a Python dictionary or other native data type into a valid XML string.
89f7c37
Details Supports item (int, float, long, decimal.Decimal, bool, str, unicode,
89f7c37
datetime, none and other number-like objects) and collection (list, set, tuple
89f7c37
and dict, as well as iterable and dict-like objects) data types, with arbitrary
89f7c37
nesting for the collections.
89f7c37
89f7c37
%package -n     python3-%{pypi_name}
89f7c37
Summary:        %{summary}
89f7c37
%{?python_provide:%python_provide python3-%{pypi_name}}
89f7c37
89f7c37
%description -n python3-%{pypi_name}
89f7c37
Converts a Python dictionary or other native data type into a valid XML string.
89f7c37
Details Supports item (int, float, long, decimal.Decimal, bool, str, unicode,
89f7c37
datetime, none and other number-like objects) and collection (list, set, tuple
89f7c37
and dict, as well as iterable and dict-like objects) data types, with arbitrary
89f7c37
nesting for the collections.
89f7c37
89f7c37
89f7c37
%prep
89f7c37
%autosetup -n %{pypi_name}-%{version}
89f7c37
89f7c37
%build
89f7c37
%py3_build
89f7c37
89f7c37
%install
89f7c37
%py3_install
89f7c37
89f7c37
%files -n python3-%{pypi_name}
89f7c37
%doc README.markdown
89f7c37
%license LICENCE.txt
89f7c37
%{python3_sitelib}/__pycache__/*
89f7c37
%{python3_sitelib}/%{pypi_name}.py
f085d83
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
89f7c37
89f7c37
%changelog
da64591
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.7.4-15
da64591
- Rebuilt for Python 3.13
da64591
8f22b04
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-14
8f22b04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
8f22b04
f4f0e60
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-13
f4f0e60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
f4f0e60
aa019ff
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-12
aa019ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
aa019ff
1b713f6
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.7.4-11
1b713f6
- Rebuilt for Python 3.12
1b713f6
62a7100
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-10
62a7100
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
62a7100
525a8eb
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-9
525a8eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
525a8eb
5eba19a
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.7.4-8
5eba19a
- Rebuilt for Python 3.11
5eba19a
53c320d
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-7
53c320d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
53c320d
b43c56e
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-6
b43c56e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
b43c56e
e16acf1
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.7.4-5
e16acf1
- Rebuilt for Python 3.10
e16acf1
aa2704e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-4
aa2704e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
aa2704e
fec4edc
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-3
fec4edc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fec4edc
3e8f26b
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 1.7.4-2
3e8f26b
- Rebuilt for Python 3.9
3e8f26b
89f7c37
* Tue Apr 21 2020 siddharthvipul1 <siddharthvipul1@gmail.com> - 1.7.4-1
89f7c37
- Initial package.