Files
2020-12-08 15:13:04 -05:00

46 lines
1.5 KiB
Tcl

# -*- 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
name py-commonmark
version 0.9.1
revision 1
platforms darwin
license BSD
supported_archs noarch
maintainers {@harens gmail.com:harensdeveloper} \
openmaintainer
description Python CommonMark parser
long_description commonmark.py is a pure Python port of jgm's commonmark.js, \
a Markdown parser and renderer for the CommonMark specification, \
using only native modules
homepage https://commonmarkpy.readthedocs.io/en/latest/
checksums rmd160 87a980080d252986c782720cbb3e834ca4ede9da \
sha256 452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60 \
size 95764
python.versions 38 39
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-setuptools
depends_test-append \
port:py${python.version}-flake8 \
port:py${python.version}-hypothesis
test.run yes
test.target test
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
notes-append "The CLI tool can be used by running cmark-${python.branch}"
}