* Generic Python builder: support preCheck and postCheck.
svn path=/nixpkgs/branches/modular-python/; revision=26602
This commit is contained in:
parent
cc456b13e5
commit
69b974bda6
1 changed files with 8 additions and 1 deletions
|
@ -24,7 +24,14 @@
|
|||
|
||||
, buildPhase ? "true"
|
||||
|
||||
, doCheck ? true, checkPhase ? "python setup.py test"
|
||||
, doCheck ? true
|
||||
|
||||
, checkPhase ?
|
||||
''
|
||||
runHook preCheck
|
||||
python setup.py test
|
||||
runHook postCheck
|
||||
''
|
||||
|
||||
, postInstall ? ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue