File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ python3Packages ,
3+ keystoneauth1 ,
4+ oslo-i18n ,
5+ oslo-serialization ,
6+ oslo-utils ,
7+ openssl ,
8+ } :
9+ let
10+ inherit ( python3Packages )
11+ ddt
12+ iso8601
13+ pbr
14+ prettytable
15+ pythonOlder
16+ requests-mock
17+ stestr
18+ stevedore
19+ testscenarios
20+ ;
21+ in
22+ python3Packages . buildPythonPackage rec {
23+ pname = "python-novaclient" ;
24+ version = "18.7.0" ;
25+ pyproject = true ;
26+
27+ disabled = pythonOlder "3.9" ;
28+
29+ src = python3Packages . fetchPypi {
30+ inherit pname version ;
31+ hash = "sha256-lMrQ8PTBYc7VKl7NhdE0/Wc7mX2nGUoDHAymk0Q0Cw0=" ;
32+ } ;
33+
34+ build-system = [
35+ python3Packages . pbr
36+ python3Packages . setuptools
37+ ] ;
38+
39+ nativeBuildInputs = [
40+ pbr
41+ ] ;
42+
43+ dependencies = [
44+ iso8601
45+ keystoneauth1
46+ oslo-i18n
47+ oslo-serialization
48+ oslo-utils
49+ pbr
50+ prettytable
51+ stevedore
52+ ] ;
53+
54+ nativeCheckInputs = [
55+ ddt
56+ openssl
57+ requests-mock
58+ stestr
59+ testscenarios
60+ ] ;
61+
62+ checkPhase = ''
63+ runHook preCheck
64+ stestr run -e <(echo "
65+ novaclient.tests.unit.test_shell.ParserTest.test_ambiguous_option
66+ novaclient.tests.unit.test_shell.ParserTest.test_not_really_ambiguous_option
67+ novaclient.tests.unit.test_shell.ShellTest.test_osprofiler
68+ novaclient.tests.unit.test_shell.ShellTestKeystoneV3.test_osprofiler
69+ ")
70+ runHook postCheck
71+ '' ;
72+
73+ pythonImportsCheck = [ "novaclient" ] ;
74+ }
You can’t perform that action at this time.
0 commit comments