# -*- 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 trentm python-markdown2 2.4.0 revision 0 name py-markdown2 categories-append textproc supported_archs noarch platforms {darwin any} license MIT maintainers nomaintainer description A fast and complete implementation of Markdown in Python long_description {*}${description}. Markdown2 comes with a number of extensions \ for things like syntax coloring, tables, header-ids. checksums rmd160 20f4b789ec3d2942f0a7ec598ed727595c6e5ca8 \ sha256 7390432aa051a674a3cb77cd1748c9bc4d0ffab3ce358331fe92a6727d245448 \ size 1065930 python.versions 38 39 310 311 312 if {${name} ne ${subport}} { # Required for code highlighting and tests to pass # See https://github.com/trentm/python-markdown2/issues/388#issuecomment-769236400 depends_run-append \ port:py${python.version}-pygments post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} TODO.txt README.md \ LICENSE.txt CONTRIBUTORS.txt CHANGES.md \ ${destroot}${docdir} } test.run yes python.test_framework test.dir ${build.dir}/test test.cmd ${python.bin} test.args test.py -- -knownfailure }