textproc/py-markdownify: new port had been added (+)

Python utility and library to convert HTML to Markdown, supporting
variety of options, BeautifulSoup objects, and custom converters.

WWW: https://github.com/matthewwithanm/python-markdownify
This commit is contained in:
Alexey Dokuchaev 2024-12-18 11:03:46 +00:00
parent 8c0c37c079
commit d93cb003e3
4 changed files with 31 additions and 0 deletions

View file

@ -1451,6 +1451,7 @@
SUBDIR += py-markdown-include SUBDIR += py-markdown-include
SUBDIR += py-markdown-it-py SUBDIR += py-markdown-it-py
SUBDIR += py-markdown2 SUBDIR += py-markdown2
SUBDIR += py-markdownify
SUBDIR += py-marko SUBDIR += py-marko
SUBDIR += py-markuppy SUBDIR += py-markuppy
SUBDIR += py-markups SUBDIR += py-markups

View file

@ -0,0 +1,25 @@
PORTNAME= markdownify
PORTVERSION= 0.14.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Utility and library to convert HTML to Markdown
WWW= https://github.com/matthewwithanm/python-markdownify
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.9:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.15:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1732486112
SHA256 (markdownify-0.14.1.tar.gz) = a62a7a216947ed0b8dafb95b99b2ef4a0edd1e18d5653c656f68f03db2bfb2f1
SIZE (markdownify-0.14.1.tar.gz) = 14332

View file

@ -0,0 +1,2 @@
Python utility and library to convert HTML to Markdown, supporting
variety of options, BeautifulSoup objects, and custom converters.