python-gnupg: 0.3.8 -> 0.4.0 and disable tests

All 20 tests did fail because no gpg binary was found. With gnupg1 as
build input they never finish. Deactivating them might be the best
option for now (and it improves the current situation since they never
actually succeeded anyway -> build was failing, I noticed this while
running nox-review for #24390).
This commit is contained in:
Michael Weiss 2017-03-28 00:40:25 +02:00
parent 0c3138e602
commit 6ce0af295d

View File

@ -816,19 +816,23 @@ in {
python-gnupg = buildPythonPackage rec {
name = "python-gnupg-${version}";
version = "0.3.8";
version = "0.4.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/python-gnupg/${name}.tar.gz";
sha256 = "0nkbs9c8f30lra7ca39kg91x8cyxn0jb61vih4qky839gpbwwwiq";
sha256 = "1yd88acafs9nwk6gzpbxjzpx0zd04qrvc6hmwhj1i89ghm2g7ap6";
};
propagatedBuildInputs = [ pkgs.gnupg1 ];
# Let's make the library default to our gpg binary
patchPhase = ''
substituteInPlace gnupg.py \
--replace "gpgbinary='gpg'" "gpgbinary='${pkgs.gnupg1}/bin/gpg'"
'';
doCheck = false;
meta = {
description = "A wrapper for the Gnu Privacy Guard";
homepage = "https://pypi.python.org/pypi/python-gnupg";