Merge pull request #113710 from SuperSandro2000/launchpadlib

pythonPackages.launchpadlib: fix tests by using pytestCheckHook
This commit is contained in:
Sandro 2021-02-21 03:24:18 +01:00 committed by GitHub
commit 11cbba51b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@
, six
, testresources
, wadllib
, pytestCheckHook
}:
buildPythonPackage rec {
@ -32,6 +33,8 @@ buildPythonPackage rec {
wadllib
];
checkInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$TMPDIR
'';
@ -41,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Script Launchpad through its web services interfaces. Officially supported";
homepage = "https://help.launchpad.net/API/launchpadlib";
license = licenses.lgpl3;
license = licenses.lgpl3Only;
maintainers = [ maintainers.marsam ];
};
}