···
url = "https://bitbucket.org/edgimar/crecord/get/${builtins.substring 0 12 rev}.tar.gz";
sha256 = "02003fa5620ec40a5ad0d7cede2e65c2cb398a7fe4e1ee26bd3396a87d63ad35";
# crecord comes as just a bare directory
buildPhase = "${python.executable} -m compileall crecord";
···
description = "Mercurial extension for selecting graphically which files/hunk/lines to commit";
homepage = https://bitbucket.org/edgimar/crecord;
···
description = "A load testing tool";
llvmlite = buildPythonPackage rec {
name = "llvmlite-${version}";
8108
-
src = pkgs.fetchurl {
8108
+
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/l/llvmlite/${name}.tar.gz";
sha256 = "6d780980da05d2d82465991bce42c1b4625018d67feae17c672c6a9d5ad0bb1a";
propagatedBuildInputs = with self; [ llvm ] ++ optional (!isPy34) enum34;
···
${self.python.executable} runtests.py
description = "A lightweight LLVM python binding for writing JIT compilers";
homepage = "http://llvmlite.pydata.org/";
···
maintainers = with maintainers; [ fridh ];
lockfile = buildPythonPackage rec {
···
9316
-
# Test does not work on Py3k because it calls 'python'.
9317
-
# https://github.com/nipy/nibabel/issues/341
9319
-
# Test fails with numpy 1.10.1: ERROR: nibabel.tests.test_proxy_api.TestPARRECAPI.test_proxy_slicing
9320
-
# See https://github.com/nipy/nibabel/pull/358
9321
-
# and https://github.com/numpy/numpy/issues/6491
9317
+
# Test does not work on Py3k because it calls 'python'.
9318
+
# https://github.com/nipy/nibabel/issues/341
rm nisext/tests/test_testers.py
9320
+
# Test fails with numpy 1.10.1: ERROR: nibabel.tests.test_proxy_api.TestPARRECAPI.test_proxy_slicing
9321
+
# See https://github.com/nipy/nibabel/pull/358
9322
+
# and https://github.com/numpy/numpy/issues/6491
rm nibabel/tests/test_proxy_api.py
9324
+
# https://github.com/nipy/nibabel/issues/366
9325
+
rm nisext/tests/test_doctest_markup.py
···
# Uses python 2 print. Master seems to be Py3 compatible.
url = "http://pypi.python.org/packages/source/n/nipype/${name}.tar.gz";
md5 = "480013709633a6d292e2ef668443e0c9";
···
9391
+
nose-exclude = buildPythonPackage rec {
9392
+
name = "nose-exclude-${version}";
9393
+
version = "0.4.1";
9395
+
src = pkgs.fetchurl {
9396
+
url = "https://pypi.python.org/packages/source/n/nose-exclude/${name}.tar.gz";
9397
+
sha256 = "44466a9bcb56d2e568750f91504d1278c74eabb259a305b06e975b87b51635da";
9400
+
propagatedBuildInputs = with self; [ nose ];
9403
+
license = licenses.lgpl21;
9404
+
description = "Exclude specific directories from nosetests runs";
9405
+
homepage = https://github.com/kgrandis/nose-exclude;
9406
+
maintainers = with maintainers; [ fridh ];
nose-selecttests = buildPythonPackage rec {
name = "nose-selecttests-${version}";
···
numba = buildPythonPackage rec {
name = "numba-${version}";
url = "https://pypi.python.org/packages/source/n/numba/${name}.tar.gz";
sha256 = "1806d2f6ad49ad891e9ac6fed0cc0b0489cbfcd9ba2dc81081c1c30091e77604";
propagatedBuildInputs = with self; [numpy llvmlite argparse] ++ optional (!isPy3k) funcsigs ++ optional (isPy27 || isPy33) singledispatch;
# Future work: add Cuda support.
#propagatedBuildInputs = with self; [numpy llvmlite argparse pkgs.cudatoolkit6];
···
maintainers = with maintainers; [ fridh ];
numexpr = buildPythonPackage rec {
name = "numexpr-${version}";
···
inherit (pkgs.stdenv.lib) optional optionalString;
inherit (pkgs.stdenv) isDarwin;
in buildPythonPackage rec {
10041
-
name = "pandas-0.16.2";
10062
+
name = "pandas-${version}";
10063
+
version = "0.17.0";
url = "https://pypi.python.org/packages/source/p/pandas/${name}.tar.gz";
10045
-
sha256 = "10agmrkps8bi5948vwpipfxds5kj1d076m9i0nhaxwqiw7gm6670";
10067
+
sha256 = "320d4fdf734b82adebc8fde9d8ca4b05fe155a72b6f7aa95d76242da8748d6a4";
10048
-
buildInputs = [ self.nose ] ++ optional isDarwin pkgs.libcxx;
10070
+
buildInputs = with self; [ nose ] ++ optional isDarwin pkgs.libcxx;
propagatedBuildInputs = with self; [
···
"['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
10075
-
# Broken test, probably https://github.com/pydata/pandas/issues/10312:
10076
-
rm pandas/io/tests/test_html.py
10078
-
# Hitting https://github.com/pydata/pandas/pull/7362 on python
10079
-
# 3.3 and 3.4, not sure why:
10080
-
rm pandas/tseries/tests/test_daterange.py
10082
-
# Need to skip this test; insert a line here... hacky but oh well.
10083
-
badtest=pandas/tseries/tests/test_timezones.py
10084
-
fixed=$TMPDIR/fixed_test_timezones.py
10086
-
head -n 602 $badtest > $fixed
10087
-
echo ' raise nose.SkipTest("Not working")' >> $fixed
10088
-
tail -n +603 $badtest >> $fixed
10089
-
mv $fixed $badtest
10096
+
# The flag `-A 'not network'` will disable tests that use internet.
10097
+
# The `-e` flag disables a few problematic tests.
10098
+
# https://github.com/pydata/pandas/issues/11169
10099
+
# https://github.com/pydata/pandas/issues/11287
# The flag `-A 'not network'` will disable tests that use internet.
# The `-e` flag disables a few problematic tests.
${python.executable} setup.py nosetests -A 'not network' --stop \
10098
-
-e 'test_clipboard|test_series' --verbosity=3
10105
+
-e 'test_data|test_excel|test_html|test_json|test_frequencies|test_frame' --verbosity=3
···
homepage = http://scikit-learn.org;
maintainers = with maintainers; [ fridh ];
scripttest = buildPythonPackage rec {
···
xray = buildPythonPackage rec {
name = "xray-${version}";
16162
-
version = "0.6.0";
16169
+
version = "0.6.1";
url = "https://pypi.python.org/packages/source/x/xray/${name}.tar.gz";
16166
-
sha256 = "c8c4aadb0d39662a81c259bd609f42708ff31c90012a9dd0a1f9ee56a798196f";
16173
+
sha256 = "bfbc307203d5433b4da31c210773c8474c237ff97350874b6e436d452fb9dfc8";
buildInputs = with self; [nose];
···
name = "networkx-${version}";
18293
-
# Currently broken on PyPy.
18300
+
# Currently broken on PyPy.
# https://github.com/networkx/networkx/pull/1361
url = "https://pypi.python.org/packages/source/n/networkx/${name}.tar.gz";
sha256 = "ced4095ab83b7451cec1172183eff419ed32e21397ea4e1971d92a5808ed6fb8";