Files
macports-ports/python/py-mistune/Portfile
T
Mark Mentovai c5ac18baa5 py27-mistune: revert to 0.8.4
py-mistune is only used by py-m2r, and m2r requires mistune < 2. The
only py-m2r subport with any dependents is py27-m2r, which is used by
py27-automat, in turn only used by py27-twisted. This version downgrade
fixes py27-mistune for its only remaining dependency chain in
macports-ports, thus fixing py27-m2r, py27-automat, and py27-twisted as
well.

It is not likely that new users of py-m2r will materialize as m2r is
end-of-life. Futhermore, it is not likely that any new users of any py27
subport will apepar.
2026-01-02 06:57:17 +07:00

47 lines
1.4 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-mistune
version 3.1.4
revision 0
categories-append devel textproc
supported_archs noarch
platforms {darwin any}
license BSD
python.versions 27 39 310 311 312 313 314
maintainers {stromnov @stromnov} openmaintainer
description The fastest markdown parser in pure Python.
long_description {*}${description}
homepage https://github.com/lepture/mistune
checksums rmd160 230788ff345316c3a57bfcc5d6ae11bd9b5fc0bd \
sha256 b5a7f801d389f724ec702840c11d8fc48f2b33519102fc7ee739e8177b672164 \
size 94588
if {${name} ne ${subport}} {
if {${python.version} == 27} {
version 0.8.4
epoch 2
revision 0
checksums rmd160 b63b71998bac291a54fc94f11700aa806bccb92d \
sha256 59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e \
size 58322
depends_build-append \
port:py${python.version}-setuptools
} elseif {${python.version} < 311} {
depends_lib-append \
port:py${python.version}-typing_extensions
}
test.run yes
livecheck.type none
}