Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37739089
en ru br
ALT Linux repos
S:21.3.1-alt2

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname autobahn

Name: python3-module-%oname
Version: 21.3.1
Release: alt2

Summary: WebSocket & WAMP for Python/Twisted
License: Apache License 2.0
Group: Development/Python3
Url: https://github.com/tavendo/AutobahnPython

# https://github.com/tavendo/AutobahnPython.git

Source: %name-%version.tar

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

#py3_requires twisted.internet twisted.web twisted.words


%description
Autobahn WebSockets for Python provides an implementation of the
WebSockets protocol which can be used to build WebSockets clients and
servers.

%prep
%setup

%build
%python3_build_debug

%install
%python3_install
%python3_prune

%if "%_libexecdir" != "%_libdir"
mv %buildroot%_libexecdir %buildroot%_libdir
%endif

# drop xbr protocol support

rm -r %buildroot/%python3_sitelibdir/autobahn/xbr
rm -r %buildroot/%python3_sitelibdir/autobahn/asyncio/xbr
rm -r %buildroot/%python3_sitelibdir/autobahn/twisted/xbr

# not all tests are removed. remove remaining ones

rm -rf  %buildroot%python3_sitelibdir/autobahn/twisted/testing || exit 1

%files
%doc *.md *.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