move checkPhase after fixupPhase for python packages
authored by: chaoflow, goibhniu svn path=/nixpkgs/branches/stdenv-updates/; revision=32625
This commit is contained in:
parent
9e646d4689
commit
d16a15c0a5
|
@ -0,0 +1,9 @@
|
||||||
|
source $stdenv/setup
|
||||||
|
|
||||||
|
# move checkPhase from after buildPhase to after fixupPhase
|
||||||
|
phases="$prePhases unpackPhase patchPhase $preConfigurePhases \
|
||||||
|
configurePhase $preBuildPhases buildPhase \
|
||||||
|
$preInstallPhases installPhase fixupPhase checkPhase \
|
||||||
|
$preDistPhases distPhase $postPhases";
|
||||||
|
|
||||||
|
genericBuild
|
|
@ -54,6 +54,7 @@
|
||||||
|
|
||||||
, doCheck ? true
|
, doCheck ? true
|
||||||
|
|
||||||
|
# run after fixupPhase
|
||||||
, checkPhase ?
|
, checkPhase ?
|
||||||
''
|
''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
@ -69,6 +70,9 @@
|
||||||
python.stdenv.mkDerivation (attrs // {
|
python.stdenv.mkDerivation (attrs // {
|
||||||
inherit doCheck buildPhase checkPhase;
|
inherit doCheck buildPhase checkPhase;
|
||||||
|
|
||||||
|
# moves checkPhase from after buildPhase to after fixupPhase
|
||||||
|
builder = ./builder.sh;
|
||||||
|
|
||||||
name = namePrefix + name;
|
name = namePrefix + name;
|
||||||
|
|
||||||
buildInputs = [ python wrapPython setuptools unzip ] ++ buildInputs ++ pythonPath;
|
buildInputs = [ python wrapPython setuptools unzip ] ++ buildInputs ++ pythonPath;
|
||||||
|
|
Loading…
Reference in New Issue