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

Group :: Development/Python3
RPM: python3-module-anyio

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname anyio

Name: python3-module-anyio
Version: 3.6.2
Release: alt1

Summary: High level compatibility layer for multiple asynchronous event loop implementations

License: MIT
Group: Development/Python3
Url: https://github.com/agronholm/anyio

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: %__pypi_url %oname

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm

# either asyncio or trio

%add_python3_req_skip trio.from_thread trio.socket trio.to_thread


%description
AnyIO is an asynchronous networking and concurrency library
that works on top of either asyncio or trio.
It implements trio-like structured concurrency (SC) on top of asyncio,
and works in harmony with the native SC of trio itself.

Applications and libraries written against AnyIO's API will run
unmodified on either asyncio or trio.
AnyIO can also be adopted into a library or application incrementally -
bit by bit, no full refactoring necessary.
It will blend in with native libraries of your chosen backend.

%prep
%setup

%build
%python3_build

%install
%python3_install
%python3_prune

%files
%doc README.rst
%python3_sitelibdir/*

%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