Skip to content

Commit

Permalink
Merge pull request #29158 from nlewo/ofxclient
Browse files Browse the repository at this point in the history
pythonPackages.ofxclient and pythonPackages.osprofiler: remove argparse from requirements

(cherry picked from commit 6521a83)
  • Loading branch information
FRidh committed Sep 10, 2017
1 parent 4075187 commit 45e518d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -15026,14 +15026,15 @@ in {
};

propagatedBuildInputs = with self; [
pbr argparse six webob
pbr six webob
];
buildInputs = with self; [
oslosphinx coverage mock subunit testrepository testtools
];

patchPhase = ''
sed -i 's@python@${python.interpreter}@' .testr.conf
substituteInPlace requirements.txt --replace "argparse" ""
'';
};

Expand Down Expand Up @@ -25589,10 +25590,14 @@ EOF
sha256 = "99ab03bffdb30d9ec98724898f428f8e73129483417d5892799a0f0d2249f233";
};

patchPhase = ''
substituteInPlace setup.py --replace '"argparse",' ""
'';

# ImportError: No module named tests
doCheck = false;

propagatedBuildInputs = with self; [ ofxhome ofxparse beautifulsoup keyring argparse ];
propagatedBuildInputs = with self; [ ofxhome ofxparse beautifulsoup keyring ];
};

ofxhome = buildPythonPackage rec {
Expand Down

0 comments on commit 45e518d

Please sign in to comment.