python3Packages.spherogram: add checkPhase
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
python,
|
||||
buildPythonPackage,
|
||||
|
||||
# build-time dependencies
|
||||
setuptools,
|
||||
cython,
|
||||
networkx,
|
||||
|
||||
# runtime dependencies
|
||||
decorator,
|
||||
knot-floer-homology,
|
||||
snappy-manifolds,
|
||||
networkx,
|
||||
snappy-15-knots,
|
||||
snappy-manifolds,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -39,6 +44,12 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "spherogram" ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} -m spherogram.test
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Spherical diagrams for 3-manifold topology";
|
||||
homepage = "https://snappy.computop.org/spherogram.html";
|
||||
|
||||
Reference in New Issue
Block a user