Merge pull request #71792 from FRidh/twisted
python.pkgs.twisted: move twisted cache generation to postFixup
This commit is contained in:
commit
a2aeec6c35
@ -39,7 +39,9 @@ buildPythonPackage rec {
|
|||||||
# http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
|
# http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
|
||||||
# and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for
|
# and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for
|
||||||
# details.
|
# details.
|
||||||
postInstall = "$out/bin/twistd --help > /dev/null";
|
postFixup = ''
|
||||||
|
$out/bin/twistd --help > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} -m unittest discover -s twisted/test
|
${python.interpreter} -m unittest discover -s twisted/test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user