Группа :: Development/Python3
Пакет: python3-module-serpent
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname serpent
Name: python3-module-%oname
Version: 1.41
Release: alt1
Summary: Serializer for literal Python expressions
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/serpent
# https://github.com/irmen/Serpent.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3-module-attrs
BuildRequires: python3-module-flake8
BuildRequires: python3-module-pytz
%description
Serpent is a simple serialization library based on ast.literal_eval.
Because it only serializes literals and recreates the objects using
ast.literal_eval(), the serialized data is safe to transport to other
machines (over the network for instance) and de-serialize it there.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
python3 setup.py test
%files
%doc README.md
%python3_sitelibdir/%oname.py
%python3_sitelibdir/__pycache__/serpent.cpython-*.pyc
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Полный changelog можно просмотреть здесь
Name: python3-module-%oname
Version: 1.41
Release: alt1
Summary: Serializer for literal Python expressions
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/serpent
# https://github.com/irmen/Serpent.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3-module-attrs
BuildRequires: python3-module-flake8
BuildRequires: python3-module-pytz
%description
Serpent is a simple serialization library based on ast.literal_eval.
Because it only serializes literals and recreates the objects using
ast.literal_eval(), the serialized data is safe to transport to other
machines (over the network for instance) and de-serialize it there.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
python3 setup.py test
%files
%doc README.md
%python3_sitelibdir/%oname.py
%python3_sitelibdir/__pycache__/serpent.cpython-*.pyc
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Полный changelog можно просмотреть здесь