From nobody Mon Jul 03 05:49:52 2023 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 4QvZkm6dM0z4lT0g; Mon, 3 Jul 2023 05:49:52 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QvZkm6By2z4ZWl; Mon, 3 Jul 2023 05:49:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688363392; 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=C95IopohlgcTkxz563GjV85Sxa37V5nuXk+WUoYAMeE=; b=XBdk/Qy30zVXX9pHHJ0JzsoQKO47QEEB1NrE3TllkQ5TuVg4rxrWUwN2+w4c2V9rQaSkgM VBddSBY6N+H2OlwhExOH4Qw+OtjfPv7wqrkyD81DP6gdTn6fIyh3s+DVvbebJ8pSA/obH6 L0AWYm0N8kYZLWIvhxB0UXHZDNVyd8R3ngjvkf+JUgDWFkfhkRIAf5YmXEhOftglCGGa0m Yhpqg6iFS/zkedbfXjcI7sWdGNw9dn6cuZ/YHkNZ+bmKJkybe96A80s3QrhzNgejhNNOUL ffaUUqvAGFxVAYnZP0DBr1/gJNYqo0vUyGExmetqkwsqZRRgpNihFAQqcx86RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688363392; 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=C95IopohlgcTkxz563GjV85Sxa37V5nuXk+WUoYAMeE=; b=IO2JFDdxP3A6l7aDjqq5JxePjICey0UU+vF0INiK7CPMjBnZ7KyUpX7COB1DjFvhhmsQ8Z 25dAPKE8Bppxu2e24mSY3LcO1+vdiohBEsoLnrOsjZiyO4XTB2cCaXZJuIeVG9D4Y+dlBZ 61kuhOQUq1pqOXuJkdjxQLAVNnFeswl0gQy3RatqCerQQa9EKgm5RFNOp6s5SacatYfq9X OpaPD9gko7Hhg9HMiqQGmKD6eWTpPfBYaJxuYCMTBA9X0AmBnMxvjf1zoEtg5Q/vozYI98 +kkCowC1o4l5Om/Z/2FgFNtsWDTq1QNkvora4HDSj2hTqP6GCVePIVzPII6hUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688363392; a=rsa-sha256; cv=none; b=VQlwJY4R57DKRLKgzs2J73l9ZWs5yCSnSXoyV3Yhf+WNmME4GmFj3mzwEMvFIOWRaD3be8 ZvIUCIrl8wBxI9T5p24yLn6ltkvPkj4TioZryibHgX8dLFQrjdVBvGZwLrJhVS2m4ZGXV2 J2gz/t8m1mICjyZf6Zqop4wVfgS2Lc6XWkmHDfPzlX0YbezqLCKX85fCZZXN2BVeDRk6W9 qidT8Kirm14eY6cNgFeEtl4OanzHujlPvVjVIjPlRUOPpt/ovUR7KdJ7LtKU8zI4WdFq/0 W/wZBwX5xcY2wMPhaaabVBHGEmHgxp3CN19VwgIkVCAxLiy1kNUy0Iq+Ud7V/w== 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 4QvZkm5GkPzdm7; Mon, 3 Jul 2023 05:49:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3635nqfh076456; Mon, 3 Jul 2023 05:49:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3635nqXg076455; Mon, 3 Jul 2023 05:49:52 GMT (envelope-from git) Date: Mon, 3 Jul 2023 05:49:52 GMT Message-Id: <202307030549.3635nqXg076455@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b391a577c3ee - main - textproc/py-html2json: New port: Parse HTML to JSON 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b391a577c3ee9876b553344db224431c9de2c424 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b391a577c3ee9876b553344db224431c9de2c424 commit b391a577c3ee9876b553344db224431c9de2c424 Author: Yuri Victorovich AuthorDate: 2023-07-03 02:23:08 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-03 05:49:49 +0000 textproc/py-html2json: New port: Parse HTML to JSON --- textproc/Makefile | 1 + textproc/py-html2json/Makefile | 22 ++++++++++++++++++++++ textproc/py-html2json/distinfo | 3 +++ textproc/py-html2json/pkg-descr | 1 + 4 files changed, 27 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 41f06452aa98..a29ea6b042b4 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1370,6 +1370,7 @@ SUBDIR += py-hexdump SUBDIR += py-hieroglyph SUBDIR += py-hjson + SUBDIR += py-html2json SUBDIR += py-html2text SUBDIR += py-html2text2018 SUBDIR += py-humanfriendly diff --git a/textproc/py-html2json/Makefile b/textproc/py-html2json/Makefile new file mode 100644 index 000000000000..aba819692077 --- /dev/null +++ b/textproc/py-html2json/Makefile @@ -0,0 +1,22 @@ +PORTNAME= html2json +DISTVERSION= 0.2.4.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Parse HTML to JSON +WWW= https://github.com/chuanconggao/html2json + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0.16.0:devel/py-future@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyquery>=1.4.0:devel/py-pyquery@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include diff --git a/textproc/py-html2json/distinfo b/textproc/py-html2json/distinfo new file mode 100644 index 000000000000..36c3e783eeb8 --- /dev/null +++ b/textproc/py-html2json/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688350287 +SHA256 (html2json-0.2.4.1.tar.gz) = e35ab1e7a62938c990f59933a295066f4083be4404091259d9e06d493bc79a31 +SIZE (html2json-0.2.4.1.tar.gz) = 4042 diff --git a/textproc/py-html2json/pkg-descr b/textproc/py-html2json/pkg-descr new file mode 100644 index 000000000000..41794b8cca23 --- /dev/null +++ b/textproc/py-html2json/pkg-descr @@ -0,0 +1 @@ +Convert a HTML webpage to JSON data using a template defined in JSON.