Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37766860
en ru br
ALT Linux repos
S:2.10.68-alt1

Group :: Development/Python
RPM: python3-module-construct

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: python3-module-construct
Version: 2.10.68
Release: alt1

Summary: A powerful declarative parser/builder for binary data
License: MIT
Group: Development/Python
Url: https://pypi.org/project/construct/

Source0: %name-%version-%release.tar

BuildArch: noarch
BuildRequires: rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3(pytest)
BuildRequires: python3(arrow)
BuildRequires: python3(cloudpickle)
BuildRequires: python3(lz4)
BuildRequires: python3(numpy)
BuildRequires: python3(ruamel)

%description
Construct is a powerful declarative parser (and builder) for binary
data.

Instead of writing imperative code to parse a piece of data, you
declaratively define a data structure that describes your data. As
this data structure is not code, you can use it in one direction to
parse data into Pythonic objects, and in the other direction, convert
(build) objects into binary data.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
py.test3 tests/ -k 'not benchmark' --showlocals --verbose

%files
%doc README.rst LICENSE
%python3_sitelibdir/construct
%python3_sitelibdir/construct-%version.dist-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin