BitTorrent 4.20.x python2.4 packages on Debian

BitTorrent is a peer-to-peer (P2P) file distribution file sharing tool written by programmer Bram Cohen. His reference implementation is written in Python and is available for download on bittorrent.com

The current stable BitTorrent version 4.20.4 debian package for Python2.4 depends on python (>= 2.4).


Package: bittorrent Version: 4.20.4 Section: net Priority: optional Architecture: all Depends: python (>= 2.4), python-wxgtk2.6, python-twisted (>= 2.0), python-cryp
to (>= 2.0), python-psyco, python-zopeinterface Conflicts: bittorrent (<< 4.20.4), bittorrent-gui (<< 4.20.4)

......

Maintainer: BitTorrent, Inc. <bugs@bittorrent.com> Source: bittorrent Description: Scatter-gather network file transfer BitTorrent is a tool for distributing files. It's extremely easy to use - downloads are started by clicking on hyperlinks. Whenever more than one person is downloading at once they send pieces of the file(s) to each other, thus relieving the central server's bandwidth burden. Even with many simultaneous downloads, the upload burden on the central server remains quite small, since each new downloader introduces new upload capacity. . Homepage: http://bittorrent.com/


The policy on my debian/sid system is still points to 2.3.5-11.

$ apt-cache policy python
python: Installed: 2.3.5-11 Candidate: 2.3.5-11 Version table: *** 2.3.5-11 0 990 ftp://ftp.jp.debian.org unstable/main Packages 100 /var/lib/dpkg/status

The workaround until debian packages moves over python2.4 as its default version is download the source the source and build your own debian package.

Uncompress the source

$ tar zxvf BitTorrent-4.20.4.tar.gz

Edit the BitTorrent-4.20.4/debian/control file depends line.

Depends: python2.4 (>= PYTHONVERSION)

Build and install the debian package.

$ sh build_nix_pkg.sh deb

$ dpkg -i BitTorrent-4.20.4/dist/bittorrent_4.20.4_python2.4.deb

No comments:

Post a Comment

You can leave a comment here using your Google account, OpenID or as an anonymous user.