Package: magic-wormhole
Severity: wishlist

I find this software to be clearly useful and it should be available
in stable.

I have looked into making this possible - of course, it would need to
first migrate to testing, but there are other considerations to be
mentionned here first.

Here are the dependencies and the status of backporting possibilities:

* python3-autobahn: hard, depends on python3-snappy, which depends on
  python 3.5
* python3-click: trivial
* python3-cffi: backported (missing from debian/control)
* python3-hkdf: trivial
* python3-nacl: hard, depends on python 3.5 (missing from debian/control)
* python3-six: trivial (missing from debian/control)
* python3-spake2: trivial
* python3-tqdm: trivial
* python3-twisted: backported (missing from debian/control)
* python3-txaoi: backported, but too old (missing from debian/control)
* python3-twisted: in stable

Some definitions:

* trivial: not in stable, can be installed directly from
  testing without change
* hard: not in stable, cannot be installed directly from stretch, and
  includes dependencies that need backporting themselves
* backported: already present in backports
* in stable: already present with a good enough version in stable

Note that the two hard backports can still be installed with pip or
easy-install, so maybe those packages can just be changed to *not*
depend on Python 3.5. Discussions with those maintainers should be
made to clarify this situation.

In other words, with properly setup sources.list and preferences
files, I can install wormhole with only limited non-Debian
packages. The install steps on Jessie, for me, currently are:

echo 'deb http://http.debian.net/debian jessie-backports main' | sudo tee 
/etc/apt/sources.list.d/jessie-backports.list
echo 'deb http://http.debian.net/debian stretch main' | sudo tee 
/etc/apt/sources.list.d/stretch.list
sudo tee /etc/apt/preferences.d/stretch.pref <<EOF
Package: *
Pin: release n=stretch
Pin-Priority: 1
EOF
sudo apt install python3-click python3-hkdf python3-six python3-spake2
python3-tqdm python3-twisted
sudo apt install -t jessie-backports python3-cffi python3-twisted
debcheckout magic-wormhole
cd magic-wormhole
python3 setup.py install

The last three lines can also be replaced with just "pip install
magic-wormhole".

This installs, in /usr/local, magic-wormhole, autobahn-0.15,
PyNaCl-1.0.1 and txaoi-2.5.1.

Thanks for packaging magic-wormhole!

A.

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to