Skip to content

Commit

Permalink
python-gnupg: 0.3.8 -> 0.4.0 and disable tests
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
primeos committed Mar 27, 2017
1 parent 0c3138e commit 6ce0af2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 6ce0af2

Please sign in to comment.