Merge pull request #12744 from teh/p3boto

Fix boto3 build for Python 3 and 2.
This commit is contained in:
Frederik Rietdijk 2016-02-01 20:02:24 +01:00
commit 9dbe54afaf

View File

@ -2282,10 +2282,15 @@ in modules // {
};
propagatedBuildInputs = [ self.botocore
self.futures_2_2
self.jmespath
];
buildInputs = [ self.docutils ];
] ++ (if isPy3k then [] else [self.futures_2_2]);
buildInputs = [ self.docutils self.nose self.mock ];
# Tests are failing with `botocore.exceptions.NoCredentialsError:
# Unable to locate credentials`. There also seems to be some mock
# issues (`assert_called_once` doesn't exist in mock but boto
# seems to think it is?).
doCheck = false;
meta = {
homepage = https://github.com/boto3/boto;