treewide: structured-attrs fixes
This commit is contained in:
parent
c9c03c00de
commit
318e1ee4ab
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "01d71vya2x87f3kl9x0s8xp0n7wixn6ksrd054y7idq3n1mjaxzh";
|
sha256 = "01d71vya2x87f3kl9x0s8xp0n7wixn6ksrd054y7idq3n1mjaxzh";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ aenum ] ++ stdenv.lib.optional (pythonOlder "3.4") [ enum34 ];
|
propagatedBuildInputs = [ aenum ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;
|
||||||
|
|
||||||
doCheck = !isPy3k;
|
doCheck = !isPy3k;
|
||||||
# tests are not yet ported.
|
# tests are not yet ported.
|
||||||
|
@ -79,7 +79,7 @@ buildPythonPackage rec {
|
|||||||
simplejson
|
simplejson
|
||||||
traits
|
traits
|
||||||
xvfbwrapper
|
xvfbwrapper
|
||||||
] ++ stdenv.lib.optional (!isPy3k) [
|
] ++ stdenv.lib.optionals (!isPy3k) [
|
||||||
configparser
|
configparser
|
||||||
futures
|
futures
|
||||||
pathlib2 # darwin doesn't receive this transitively, but it is in install_requires
|
pathlib2 # darwin doesn't receive this transitively, but it is in install_requires
|
||||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1hslzzinpwc1zqhbpllqh3sllmiyk69pcycl7ahr0rz3micgwczj";
|
sha256 = "1hslzzinpwc1zqhbpllqh3sllmiyk69pcycl7ahr0rz3micgwczj";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pytest py-cpuinfo ] ++ lib.optional (pythonOlder "3.4") [ pathlib statistics ];
|
propagatedBuildInputs = [ pytest py-cpuinfo ] ++ lib.optionals (pythonOlder "3.4") [ pathlib statistics ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Py.test fixture for benchmarking code";
|
description = "Py.test fixture for benchmarking code";
|
||||||
|
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||||||
python-dateutil
|
python-dateutil
|
||||||
six
|
six
|
||||||
more-itertools
|
more-itertools
|
||||||
] ++ lib.optional (!isPy3k) [
|
] ++ lib.optionals (!isPy3k) [
|
||||||
pyOpenSSL
|
pyOpenSSL
|
||||||
ndg-httpsclient
|
ndg-httpsclient
|
||||||
pyasn1
|
pyasn1
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy ]
|
propagatedBuildInputs = [ numpy ]
|
||||||
++ lib.optional isPy27 [ futures enum34 pathlib ];
|
++ lib.optionals isPy27 [ futures enum34 pathlib ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Read and write image data from and to TIFF files.";
|
description = "Read and write image data from and to TIFF files.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user