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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname bencode.py
%define modulename bencodepy

Name: python3-module-bencode
Version: 4.0.0
Release: alt1

Summary: The BitTorrent bencode module as light-weight, standalone package

Group: Development/Python
License: LGPLv2+
Url: http://pypi.python.org/pypi/bencode.py

# 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

%py3_use pbr >= 1.9

Provides: python3-module-%oname = %EVR
Provides: python3-module-%modulename = %EVR

%description
This package simply re-packages the existing bencoding and bdecoding
implemention from the 'official' BitTorrent client as a separate,
leight-weight package for re-using them without having the entire
BitTorrent software as a dependency.

Forked from the bencode package by Thomas Rampelberg.


%prep
%setup

%build
%python3_build

%install
%python3_install

%files
%python3_sitelibdir/bencode/
%python3_sitelibdir/%modulename/
%python3_sitelibdir/%{oname}*.egg-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