spyder: 2.3.8 -> 3.2.4

This commit is contained in:
Joerg Thalheim 2017-11-15 15:19:07 +00:00
parent d1d4f91754
commit 67092ffd43
2 changed files with 19 additions and 19 deletions

View File

@ -1,25 +1,27 @@
{ stdenv, fetchurl, unzip, buildPythonApplication, makeDesktopItem
{ stdenv, fetchPypi, unzip, buildPythonApplication, makeDesktopItem
# mandatory
, pyside
# recommended
, pyflakes ? null, rope ? null, sphinx ? null, numpy ? null, scipy ? null, matplotlib ? null
, qtpy, numpydoc, qtconsole, qtawesome, jedi, pycodestyle, psutil
, pyflakes, rope, sphinx, nbconvert, mccabe
# optional
, ipython ? null, pylint ? null, pep8 ? null
, numpy ? null, scipy ? null, matplotlib ? null
# optional
, pylint ? null
}:
buildPythonApplication rec {
name = "spyder-${version}";
version = "2.3.8";
pname = "spyder";
version = "3.2.4";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/s/spyder/${name}.zip";
sha256 = "99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e";
src = fetchPypi {
inherit pname version;
sha256 = "028hg71gfq2yrplwhhl7hl4rbwji1l0zxzghblwmb0i443ki10v3";
};
# NOTE: sphinx makes the build fail with: ValueError: ZIP does not support timestamps before 1980
propagatedBuildInputs =
[ pyside pyflakes rope numpy scipy matplotlib ipython pylint pep8 ];
propagatedBuildInputs = [
jedi pycodestyle psutil qtpy pyflakes rope numpy scipy matplotlib pylint
numpydoc qtconsole qtawesome nbconvert mccabe
];
# There is no test for spyder
doCheck = false;
@ -36,9 +38,9 @@ buildPythonApplication rec {
# Create desktop item
postInstall = ''
mkdir -p $out/share/{applications,icons}
cp $desktopItem/share/applications/* $out/share/applications/
cp spyderlib/images/spyder.svg $out/share/icons/
mkdir -p $out/share/icons
cp spyder/images/spyder.svg $out/share/icons
cp -r $desktopItem/share/applications/ $out/share
'';
meta = with stdenv.lib; {

View File

@ -19028,9 +19028,7 @@ in {
};
});
spyder = callPackage ../applications/science/spyder {
rope = if isPy3k then null else self.rope;
};
spyder = callPackage ../applications/science/spyder { };
sqlalchemy = callPackage ../development/python-modules/sqlalchemy { };