* Generic Python builder: support preCheck and postCheck.

svn path=/nixpkgs/branches/modular-python/; revision=26602
This commit is contained in:
Eelco Dolstra 2011-03-30 12:27:04 +00:00
parent cc456b13e5
commit 69b974bda6

View file

@ -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 ? ""