Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2024 11:05:02 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d93cb003e35f - main - textproc/py-markdownify: new port had been added (+)
Message-ID:  <202412181105.4BIB52SR021453@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d93cb003e35fbab67d8a0620c4f7d142b283b6ba

commit d93cb003e35fbab67d8a0620c4f7d142b283b6ba
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-12-18 11:03:46 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-12-18 11:03:46 +0000

    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
---
 textproc/Makefile                 |  1 +
 textproc/py-markdownify/Makefile  | 25 +++++++++++++++++++++++++
 textproc/py-markdownify/distinfo  |  3 +++
 textproc/py-markdownify/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 0be0d8d304fe..2d0e59ee205b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1451,6 +1451,7 @@
     SUBDIR += py-markdown-include
     SUBDIR += py-markdown-it-py
     SUBDIR += py-markdown2
+    SUBDIR += py-markdownify
     SUBDIR += py-marko
     SUBDIR += py-markuppy
     SUBDIR += py-markups
diff --git a/textproc/py-markdownify/Makefile b/textproc/py-markdownify/Makefile
new file mode 100644
index 000000000000..c2530763e0be
--- /dev/null
+++ b/textproc/py-markdownify/Makefile
@@ -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>
diff --git a/textproc/py-markdownify/distinfo b/textproc/py-markdownify/distinfo
new file mode 100644
index 000000000000..f081a058b6c4
--- /dev/null
+++ b/textproc/py-markdownify/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1732486112
+SHA256 (markdownify-0.14.1.tar.gz) = a62a7a216947ed0b8dafb95b99b2ef4a0edd1e18d5653c656f68f03db2bfb2f1
+SIZE (markdownify-0.14.1.tar.gz) = 14332
diff --git a/textproc/py-markdownify/pkg-descr b/textproc/py-markdownify/pkg-descr
new file mode 100644
index 000000000000..1fccf027ef47
--- /dev/null
+++ b/textproc/py-markdownify/pkg-descr
@@ -0,0 +1,2 @@
+Python utility and library to convert HTML to Markdown, supporting
+variety of options, BeautifulSoup objects, and custom converters.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412181105.4BIB52SR021453>