Package: pyopenssl
Version: 16.2.0-1
Severity: normal

The testsuite of the package isn't run; if you check the buildlog [0] you
see:
|for py in 2.7 3.5; do  \
|    LIB=$(python$py -c "from distutils.command.build import build ; from 
distutils.core import Distribution ; b = build(Distribution()) ; 
b.finalize_options() ; print(b.build_purelib)") ; \
|    PYTHONPATH=$LIB py.test-$py ;\
|done
|/bin/sh: 3: py.test-2.7: not found
|/bin/sh: 3: py.test-3.5: not found
|debian/rules:23: recipe for target 'override_dh_auto_test' failed

You need invoke py.test for python2 and py.test-3 for python3. With this
change the testsuite is invoked and fails a few times due to NON_ASC
characters which are added. I stripped them for my testing and testsuite
passed. I don't know if it fails for a valid reason or if there is just
a missing library or something.

What I tried to figure out is why this package depends on libssl-dev and
my conclusion is that it is not required. That package builds fine
without incl. the testsuite is passed. All openssl/libssl functionality
is used from python-cryptography.

Please drop the libssl-dev from B-D.

[0] 
https://breakpoint.cc/openssl-rebuild/2017-02-16-rebuild-sid-openssl1.1.0e/successful/pyopenssl_16.2.0-1_amd64-2017-02-16T21%3A33%3A26Z

Sebastian

Reply via email to