git: 76c1d8182e1b - main - textproc/py-linkify-it-py: Add py-linkify-it-py 2.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 10:33:44 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=76c1d8182e1b5878fc5f7a6e9e44ecc9f23bac35 commit 76c1d8182e1b5878fc5f7a6e9e44ecc9f23bac35 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-07-09 10:10:44 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-07-09 10:15:54 +0000 textproc/py-linkify-it-py: Add py-linkify-it-py 2.0.2 linkify-it-py is a Python port of linkify-it. It links recognition library with FULL unicode support. Focused on high quality link patterns detection in plain text. Why it's awesome: - Full unicode support, with astral characters! - International domains support. - Allows rules extension & custom normalizers. --- textproc/Makefile | 1 + textproc/py-linkify-it-py/Makefile | 23 +++++++++++++++++++++++ textproc/py-linkify-it-py/distinfo | 3 +++ textproc/py-linkify-it-py/pkg-descr | 8 ++++++++ 4 files changed, 35 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index df03061788f3..386b3ec005d8 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1400,6 +1400,7 @@ SUBDIR += py-libxml2 SUBDIR += py-license-expression SUBDIR += py-line-protocol-parser + SUBDIR += py-linkify-it-py SUBDIR += py-m2r SUBDIR += py-mako SUBDIR += py-markdown diff --git a/textproc/py-linkify-it-py/Makefile b/textproc/py-linkify-it-py/Makefile new file mode 100644 index 000000000000..9f55a348bd8c --- /dev/null +++ b/textproc/py-linkify-it-py/Makefile @@ -0,0 +1,23 @@ +PORTNAME= linkify-it-py +PORTVERSION= 2.0.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Links recognition library with FULL unicode support +WWW= https://github.com/tsutsu3/linkify-it-py + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uc-micro-py>=0:textproc/py-uc-micro-py@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-linkify-it-py/distinfo b/textproc/py-linkify-it-py/distinfo new file mode 100644 index 000000000000..fb526bd3b54d --- /dev/null +++ b/textproc/py-linkify-it-py/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688166034 +SHA256 (linkify-it-py-2.0.2.tar.gz) = 19f3060727842c254c808e99d465c80c49d2c7306788140987a1a7a29b0d6ad2 +SIZE (linkify-it-py-2.0.2.tar.gz) = 27825 diff --git a/textproc/py-linkify-it-py/pkg-descr b/textproc/py-linkify-it-py/pkg-descr new file mode 100644 index 000000000000..9c931b01037a --- /dev/null +++ b/textproc/py-linkify-it-py/pkg-descr @@ -0,0 +1,8 @@ +linkify-it-py is a Python port of linkify-it. It links recognition library with +FULL unicode support. Focused on high quality link patterns detection in plain +text. + +Why it's awesome: +- Full unicode support, with astral characters! +- International domains support. +- Allows rules extension & custom normalizers.