Merge #22873: updates of various python packages
This commit is contained in:
@@ -1,17 +1,17 @@
|
|||||||
{ stdenv, fetchurl, python, buildPythonPackage
|
{ stdenv, fetchurl, python, buildPythonPackage
|
||||||
, cython, bzip2, lzo, numpy, numexpr, hdf5 }:
|
, cython, bzip2, lzo, numpy, numexpr, hdf5, six }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "3.2.2";
|
version = "3.3.0";
|
||||||
name = "tables-${version}";
|
name = "tables-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://pypi/t/tables/${name}.tar.gz";
|
url = "mirror://pypi/t/tables/${name}.tar.gz";
|
||||||
sha256 = "3564b351a71ec1737b503b001eb7ceae1f65d5d6e3ffe1ea75aafba10f37fa84";
|
sha256 = "0b4211s0zzdmh74k49ss0m9lc2ql2iazq2aa95ams6h45vqcr0w3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ hdf5 cython bzip2 lzo ];
|
buildInputs = [ hdf5 cython bzip2 lzo ];
|
||||||
propagatedBuildInputs = [ numpy numexpr ];
|
propagatedBuildInputs = [ numpy numexpr six ];
|
||||||
|
|
||||||
# The setup script complains about missing run-paths, but they are
|
# The setup script complains about missing run-paths, but they are
|
||||||
# actually set.
|
# actually set.
|
||||||
|
|||||||
@@ -466,15 +466,19 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
altair = buildPythonPackage rec {
|
altair = buildPythonPackage rec {
|
||||||
name = "altair-1.0.0";
|
name = "altair-1.2.0";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/a/altair/${name}.tar.gz";
|
url = "mirror://pypi/a/altair/${name}.tar.gz";
|
||||||
sha256 = "024drhmiw8w3dl7dbal0pvnlfd3sv4n1rqywv2jb488b3fzm704r";
|
sha256 = "05c47dm20p7m0017p2h38il721rxag1q0457dj7whp0k8rc7qd1n";
|
||||||
};
|
};
|
||||||
|
buildInputs = [ self.pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
py.test altair --doctest-modules
|
||||||
|
'';
|
||||||
propagatedBuildInputs = with self; [ vega pandas ipython traitlets ];
|
propagatedBuildInputs = with self; [ vega pandas ipython traitlets ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A declarative statistical visualization library for Python.";
|
description = "A declarative statistical visualization library for Python.";
|
||||||
homepage = https://github.com/altair-viz/altair;
|
homepage = https://github.com/altair-viz/altair;
|
||||||
@@ -491,6 +495,7 @@ in {
|
|||||||
sha256 = "08k92afnk0bivm07h1l5nh26xl2rfp7qn03aq17q1hr3fs5r6cdm";
|
sha256 = "08k92afnk0bivm07h1l5nh26xl2rfp7qn03aq17q1hr3fs5r6cdm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ self.pytest ];
|
||||||
propagatedBuildInputs = with self; [ jupyter_core pandas ];
|
propagatedBuildInputs = with self; [ jupyter_core pandas ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@@ -29038,14 +29043,14 @@ EOF
|
|||||||
|
|
||||||
Logbook = buildPythonPackage rec {
|
Logbook = buildPythonPackage rec {
|
||||||
name = "Logbook-${version}";
|
name = "Logbook-${version}";
|
||||||
version = "0.11.3";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/L/Logbook/${name}.tar.gz";
|
url = "mirror://pypi/L/Logbook/${name}.tar.gz";
|
||||||
sha256 = "0bchn00jj0y4dmrmqsm29ffcx37g79jcxjihadmgz2aj0z6dbsrc";
|
sha256 = "0whqbx5p0zkf7gmb5ssnsnhm4kn4drd4x7fbhdi8dnxklqajbnl7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ self.pytest ];
|
buildInputs = [ self.pytest ] ++ optionals (!isPy3k) [ self.mock ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
find tests -name \*.pyc -delete
|
find tests -name \*.pyc -delete
|
||||||
|
|||||||
Reference in New Issue
Block a user