python3Packages.pywbem: 1.0.2 at 1.1.1
This commit is contained in:
parent
891863830d
commit
b8ba234c8c
|
@ -1,53 +1,44 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, libxml2
|
{ lib, buildPythonPackage, fetchPypi, libxml2
|
||||||
, m2crypto, ply, pyyaml, six, pbr, pythonOlder, isPy37
|
, m2crypto, ply, pyyaml, six, pbr, pythonOlder, isPy37
|
||||||
|
, nocasedict, nocaselist, yamlloader, requests-mock
|
||||||
, httpretty, lxml, mock, pytest, requests, decorator, unittest2
|
, httpretty, lxml, mock, pytest, requests, decorator, unittest2
|
||||||
|
, FormEncode, testfixtures, pytz
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pywbem";
|
pname = "pywbem";
|
||||||
version = "1.0.3";
|
version = "1.1.2";
|
||||||
|
|
||||||
# Support added in master https://github.com/pywbem/pywbem/commit/b2f2f1a151a30355bbc6652dca69a7b30bfe941e awaiting release
|
|
||||||
disabled = isPy37;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "a6c53d9426326e0e722a5b1af3a1d55810259cb3afa92ca5e4029a6d533cab37";
|
sha256 = "9GpxbgNsXZJj2M5MvosNnEe+9pY+Qz64RD/7ZIDqmII=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
mock
|
mock
|
||||||
|
nocasedict
|
||||||
|
nocaselist
|
||||||
pbr
|
pbr
|
||||||
ply
|
ply
|
||||||
pyyaml
|
pyyaml
|
||||||
six
|
six
|
||||||
|
yamlloader
|
||||||
] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ];
|
] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
decorator
|
decorator
|
||||||
|
FormEncode
|
||||||
httpretty
|
httpretty
|
||||||
libxml2
|
libxml2
|
||||||
lxml
|
lxml
|
||||||
pytest
|
pytest
|
||||||
|
pytz
|
||||||
requests
|
requests
|
||||||
|
requests-mock
|
||||||
|
testfixtures
|
||||||
unittest2
|
unittest2
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# Uses deprecated library yamlordereddictloader
|
|
||||||
rm testsuite/test_client.py
|
|
||||||
|
|
||||||
# Wants `wbemcli` in PATH
|
|
||||||
rm testsuite/test_wbemcli.py
|
|
||||||
|
|
||||||
# Disables tests that use testfixtures which is currently broken by nonbuilding zope_component
|
|
||||||
rm testsuite/{test_logging,test_recorder,test_wbemconnection_mock}.*
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest testsuite/
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Support for the WBEM standard for systems management";
|
description = "Support for the WBEM standard for systems management";
|
||||||
homepage = "https://pywbem.github.io";
|
homepage = "https://pywbem.github.io";
|
||||||
|
|
Loading…
Reference in a new issue