Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4833d90e96d4
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: becbe4dbe16c
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 4, 2018

  1. python27Packages.rootpy: fix build (tests)

    run tests properly, skip problematic tests
    
    (cherry picked from commit 837dd2e)
    xeji authored and Robert Schütz committed Apr 4, 2018
    Copy the full SHA
    becbe4d View commit details
Showing with 9 additions and 1 deletion.
  1. +9 −1 pkgs/development/python-modules/rootpy/default.nix
10 changes: 9 additions & 1 deletion pkgs/development/python-modules/rootpy/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, matplotlib, root, root_numpy, tables }:
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, matplotlib, root, root_numpy, tables, pytest }:

buildPythonPackage rec {
pname = "rootpy";
@@ -14,6 +14,14 @@ buildPythonPackage rec {

propagatedBuildInputs = [ matplotlib numpy root root_numpy tables ];

checkInputs = [ pytest ];
checkPhase = ''
# tests fail with /homeless-shelter
export HOME=$PWD
# skip problematic tests
py.test rootpy -k "not test_stl and not test_cpp and not test_xrootd_glob_single and not test_xrootd_glob_multiple"
'';

meta = with lib; {
homepage = http://www.rootpy.org;
license = licenses.bsd3;