diff options
Diffstat (limited to 'textproc/py-mf2py')
| -rw-r--r-- | textproc/py-mf2py/Makefile | 24 | ||||
| -rw-r--r-- | textproc/py-mf2py/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-mf2py/pkg-descr | 5 |
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/py-mf2py/Makefile b/textproc/py-mf2py/Makefile new file mode 100644 index 000000000000..1aa63bcd009d --- /dev/null +++ b/textproc/py-mf2py/Makefile @@ -0,0 +1,24 @@ +PORTNAME= mf2py +DISTVERSION= 2.0.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Microformats parser +WWW= https://github.com/microformats/mf2py + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=1.1:www/py-html5lib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.28.2:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.11.1:www/py-beautifulsoup@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-mf2py/distinfo b/textproc/py-mf2py/distinfo new file mode 100644 index 000000000000..13f71e0bb0c5 --- /dev/null +++ b/textproc/py-mf2py/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1760676217 +SHA256 (mf2py-2.0.1.tar.gz) = 1380924633413b8d72e704b5c86b4382c4b1371699edecc907b01cd21138d7cd +SIZE (mf2py-2.0.1.tar.gz) = 21843 diff --git a/textproc/py-mf2py/pkg-descr b/textproc/py-mf2py/pkg-descr new file mode 100644 index 000000000000..c2fb6a0add0d --- /dev/null +++ b/textproc/py-mf2py/pkg-descr @@ -0,0 +1,5 @@ +mf2py is a Python library for parsing microformats2, +microformats1, and experimental metaformats from HTML documents. +It provides a robust and flexible way to extract structured data +from web pages, enabling applications to understand and utilize +semantic information embedded in web content. |
