From nobody Wed Oct 30 12:13:45 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XdmHt0glLz5bFSK; Wed, 30 Oct 2024 12:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdmHt090qz4YWS; Wed, 30 Oct 2024 12:13:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730290426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wIoziCG8U1uAgnwoCvzd10RA7eDGd0ghMcYQPbLYso0=; b=CF9XwUzytIA+DeDaFCexXq2B+ljJ9xi3lMcPeWx7Lb12SToP1eiSwb6hYhAcyAf4M5+aCo JslctBlb7cd5/fmGoRHHfcCmUwK4hOZ7Pha1vOAy8mw1HUxwWuGx73zJr/pG28rU6MdGK+ BCDSkwf1PoqQwKurYHxUK1AuGyRrCNxEK5PjX08UpyWl7CrTYBD7NmriZljWuPr4FS5CG/ WztWOQ+sBlf+pd2bwSZ65vjxDZjU/rNP3HM0HXGaK2fBfSNtn2n8WPtI/vlZif65XMzLj2 xWaLqQlRMPqMjXFBIHv92llzoLtOOioABhY/1QY3Raag0yq3xGE6wKdZQ69fRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730290426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wIoziCG8U1uAgnwoCvzd10RA7eDGd0ghMcYQPbLYso0=; b=J+asBpUba3hh1oHbbmSDtP60Hoee8T+yyRU9Pzidi76U0rX4W7L6LYxjYdQQJE5Ma1gPI6 f29OuOC2GJdB8f9FLN8Vn1Dut9mRzciZp+1tOIfdzi/2FbVpZ7RPpVTHqSwNTP1/Zof8UF 5XjAdapnvNGADpB2AL2z0Oww4zSa7j26eQEgMNV5LBdfsBTDTopBj1gVQUU4tyDzex+x9u 6F/5D23MeerUwqmMQ1zNu03DAjAbtWqevgRJ+OG2g19iefwbdbHtrEXND6zrtJuukbdng1 IC8643yDNBe1fPUdEY34BclC2uOrHLvdhcKyaAOImBXc9ybZi0mxl+pTaj7Xgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730290426; a=rsa-sha256; cv=none; b=e4o78MblebWXrGUSqHxWt/D+qfHEucc4rRjSWtcYqfBsp+1qcSs9bzdCJglCk3G12H2qox xKDgfA9p77AzuNeWboxZ1rQj+ikHWxjEUuE8H6nirS/ZzuzRQK73xne5BXbf+1ah8+S0Ug 9/gCjlVasKqI0/wgdBp4CRBcj/h3VSE6m2gF/tzGvkUv9YVqarlXNLqAgL1GkMEB5lD3cm RT9upwoh130ghnKVGLXeLm2XzQBbPRLh5OzSTwMO4rQXuXCRtowRyC0omDpa11QZcNwpQ/ hAElLIrVwIGoW++PW1eSRqm8Ls77KlohobOd+w+9K6tVDsE9iSrZmc8xcKcJpQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XdmHs6ZQfz16Tm; Wed, 30 Oct 2024 12:13:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49UCDjVV063901; Wed, 30 Oct 2024 12:13:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49UCDjB9063898; Wed, 30 Oct 2024 12:13:45 GMT (envelope-from git) Date: Wed, 30 Oct 2024 12:13:45 GMT Message-Id: <202410301213.49UCDjB9063898@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f76a2c95f2d0 - main - www/py-html5rdf: Add py-html5rdf 1.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f76a2c95f2d0814694ae7ccbda04a9b15a796e1e Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f76a2c95f2d0814694ae7ccbda04a9b15a796e1e commit f76a2c95f2d0814694ae7ccbda04a9b15a796e1e Author: Po-Chuan Hsieh AuthorDate: 2024-10-30 12:10:46 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-10-30 12:10:46 +0000 www/py-html5rdf: Add py-html5rdf 1.2 html5rdf is a pure-python library for parsing HTML to DOMFragment objects for the use in RDFLib. html5rdf is a fork of html5lib-modern. It is designed to conform to the WHATWG HTML specification, as is implemented by all major web browsers. htm5lib-modern is designed as a drop-in replacement for html5lib that exposes a new html5lib module without Python 2 support and without the legacy dependencies on six, and webencodings. --- www/Makefile | 1 + www/py-html5rdf/Makefile | 22 ++++++++++++++++++++++ www/py-html5rdf/distinfo | 3 +++ www/py-html5rdf/pkg-descr | 9 +++++++++ 4 files changed, 35 insertions(+) diff --git a/www/Makefile b/www/Makefile index 1f168ea7cc72..3c0241e6d88a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1732,6 +1732,7 @@ SUBDIR += py-html5-parser SUBDIR += py-html5lib SUBDIR += py-html5lib-modern + SUBDIR += py-html5rdf SUBDIR += py-htmldate SUBDIR += py-httmock SUBDIR += py-http-parser diff --git a/www/py-html5rdf/Makefile b/www/py-html5rdf/Makefile new file mode 100644 index 000000000000..33710e4825f2 --- /dev/null +++ b/www/py-html5rdf/Makefile @@ -0,0 +1,22 @@ +PORTNAME= html5rdf +PORTVERSION= 1.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= HTML parser based on the WHATWG HTML specification +WWW= https://github.com/RDFLib/html5rdf + +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} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/www/py-html5rdf/distinfo b/www/py-html5rdf/distinfo new file mode 100644 index 000000000000..238f47af7093 --- /dev/null +++ b/www/py-html5rdf/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730257749 +SHA256 (html5rdf-1.2.tar.gz) = 08378cbbbb63993ba7bb5eb1eac44bf9ca7b1a23dbee3d2afef5376597fb00a5 +SIZE (html5rdf-1.2.tar.gz) = 112826 diff --git a/www/py-html5rdf/pkg-descr b/www/py-html5rdf/pkg-descr new file mode 100644 index 000000000000..773450797c96 --- /dev/null +++ b/www/py-html5rdf/pkg-descr @@ -0,0 +1,9 @@ +html5rdf is a pure-python library for parsing HTML to DOMFragment objects for +the use in RDFLib. html5rdf is a fork of html5lib-modern. + +It is designed to conform to the WHATWG HTML specification, as is implemented by +all major web browsers. + +htm5lib-modern is designed as a drop-in replacement for html5lib that exposes a +new html5lib module without Python 2 support and without the legacy dependencies +on six, and webencodings.