Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37732487
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-dicttoxml

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname dicttoxml

Name: python3-module-%oname
Version: 1.7.16
Release: alt1
Summary: Converts a Python dictionary or other native data type into a valid XML string
License: GPLv2
Group: Development/Python3
Url: https://pypi.python.org/pypi/dicttoxml

# https://github.com/quandyfactory/dicttoxml.git

Source0: %name-%version.tar
BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

%py3_provides %oname

%description
Converts a Python dictionary or other native data type into a valid XML
string.

Supports item (int, float, long, bool, str, unicode, datetime, none) and
collection (list, set, tuple and dict, as well as iterable and dict-like
objects) data types, with arbitrary nesting for the collections. Items
with a datetime type are converted to ISO format strings. Items with a
none type become empty XML elements.

The root object passed into the dicttoxml method can be any of the
supported data types.

%prep
%setup

rm -fR dist

%build
%pyproject_build

%install
%pyproject_install

%files
%doc *.md *.txt
%python3_sitelibdir/%oname.py
%python3_sitelibdir/__pycache__
%python3_sitelibdir/%oname-%version.dist-info

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin