# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 github.setup computationalmodelling nbval 0.9.6 revision 0 checksums rmd160 05f3f40c43465cb1f4f6d3d7962b9c6945c0e4cb \ sha256 c1a60b00cad32aef9f101484057c2d1a415abfc73d65606e297a810247864d41 \ size 62154 name py-${github.project} categories-append science supported_archs noarch platforms {darwin any} license BSD maintainers nomaintainer description A py.test plugin to validate Jupyter notebooks long_description The plugin adds functionality to py.test to\ recognise and collect Jupyter notebooks. The\ intended purpose of the tests is to determine\ whether execution of the stored inputs match the\ stored outputs of the .ipynb file. Whilst also\ ensuring that the notebooks are running without\ errors. python.versions 38 39 310 if {${name} ne ${subport}} { depends_run-append \ port:py${python.version}-coverage \ port:py${python.version}-ipykernel \ port:py${python.version}-jupyter_client \ port:py${python.version}-nbformat \ port:py${python.version}-pytest \ port:py${python.version}-six depends_test-append \ port:py${python.version}-matplotlib \ port:py${python.version}-sympy post-patch { reinplace "s|\"py.test\"|\"py.test-${python.branch}\"|g" \ ${worksrcpath}/tests/test_unit_tests_in_notebooks.py } test.run yes }