# -*- 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 select 1.0 name py-html2text version 2024.2.26 revision 0 categories-append textproc platforms {darwin any} license GPL-3+ supported_archs noarch maintainers {khindenburg @kurthindenburg} openmaintainer description Script to turn HTML into equivalent Markdown-structured text. long_description \ html2text is a Python script that converts a page of HTML into clean, \ easy-to-read plain ASCII text. Better yet, that ASCII also happens to be \ valid Markdown (a text-to-HTML format). homepage https://pypi.python.org/pypi/${python.rootname} checksums rmd160 dea5f1a189c5a50c115d4e9d95fc53aa2bcb051c \ sha256 05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32 \ size 56527 python.versions 38 39 310 311 312 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-setuptools depends_run-append port:py-html2text_select select.group py-html2text select.file ${filespath}/py${python.version}-html2text test.run yes notes " To make the Python ${python.branch} version of py-html2text the one that is run\ when you execute the commands without a version suffix, e.g. 'html2text', run: port select --set ${select.group} [file tail ${select.file}] " }