From nobody Sat Aug 27 10:30:49 2022 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 4MFCf15KWSz4b4dj; Sat, 27 Aug 2022 10:30:49 +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 4MFCf14pr2z3x51; Sat, 27 Aug 2022 10:30:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596249; 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=n1n1fvRQvO+5+9RvZj9GIDYIlxGY2IuKvb6R+P2AJ94=; b=xEB3+fZ+iXPIq5JS+VfrCZbwQHJIWVUM3kCS4Dr4CGosaDRmlXguVaakvqlR6wrUwJAEeF GWebaagA5nFlrpPMORE6fgimQPyGgBbt9YyLCkO3OoxSzsj6TNhg18BmYqBwbHPlaLWhjL hfrK7c3G45aMr51q6h25/9uwImdpWXrJ0ypwSNWIhvQYO97ddlcnCAnFJ+5zLA/CA+t75p nOeUJJr2tFTyT+NIGV4ELBDNQuEa8hVJI5KpapxTLr5AdlDrnPggHyPg4edtA/F/8bFQlL BlJcHXbLosQAFlOMDmHI8yULasyH1/hdTiKrWMEMhlB/m8G2wd1CM6IkK1WXTw== 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 4MFCf13tbbzjyg; Sat, 27 Aug 2022 10:30:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27RAUndu047271; Sat, 27 Aug 2022 10:30:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAUnqC047270; Sat, 27 Aug 2022 10:30:49 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:30:49 GMT Message-Id: <202208271030.27RAUnqC047270@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: e79182aa84d1 - main - textproc/py-untangle: Add py-untangle 1.2.1 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e79182aa84d1daa9b27c4acb6790add737577654 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596249; 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=n1n1fvRQvO+5+9RvZj9GIDYIlxGY2IuKvb6R+P2AJ94=; b=RvAfCXKapGAgFroSy/b5PLPRqgIMhUCsuHwT1hcg8Z71hiW0Cc7XOmKrrJn89twoqBwPhl z/nzRZjywc7xFHTj4guBHRwzcJTwupLmxbf+weHYH+d/VbEG3r4aiab6/nzstHEs+GZ66k xy/smo/GO53ydIIyEWu/0275776juTZUY3I9gHsI778xfTXRJ3QyMH6QUhNrbVMk3BdpFf M1tH6Se0msiFZrFI9+NX0f53h/E+ixz+pX19JZCNLssYIkMk0AU9SahFT8jJRY8yNl1EEM WSDSMVwdp1aqkZOYajt0Kyi+C8S5v63pGo4lrV3B1e7crXygZQVwfnxxL15iSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596249; a=rsa-sha256; cv=none; b=dcPFixTxZMuNkRPTUJyrmzP6jnOD+HX7Pdud1A6qbUZ0oABC+gx3TKoaZvaaZpNjk3Jl9J hmHMl6/8YXPGPm3mOniR9dWEr+N0KbmyeQpUGI/vIOuC3DGUhe43ltY6yIa1ozMfonNdg3 eWBNYJNxY4Evf5ye/vJVsOKipipw0Pc4wOQ1gYwO/Iz4umy2T33be1dS9Od0/YBcvLA1SX GWyGJExXowNrePG3+LBGvndxTzL735jhdmsYBK67o9WE9rZG7w/r/YuH+RHIcgVWaH6Mx6 EYP/XvcegEMTOqoFMdVlG5ZbMTlalhy4myJfN3WVYagV9j/YUFHjpa45Hf2nQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e79182aa84d1daa9b27c4acb6790add737577654 commit e79182aa84d1daa9b27c4acb6790add737577654 Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:10:36 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:10:36 +0000 textproc/py-untangle: Add py-untangle 1.2.1 untangle is a tiny Python library which converts an XML document to a Python object. Features: - Siblings with similar names are grouped into a list. - Children can be accessed with parent.child, attributes with element['attribute']. - You can call the parse() method with a filename, an URL or an XML string. - Substitutes -, . and : with _ can be accessed with foobar.foo_bar, can be accessed with foo_bar_baz and can be accessed with foo_bar.foo_baz WWW: https://github.com/stchris/untangle --- textproc/Makefile | 1 + textproc/py-untangle/Makefile | 20 ++++++++++++++++++++ textproc/py-untangle/distinfo | 3 +++ textproc/py-untangle/pkg-descr | 13 +++++++++++++ 4 files changed, 37 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 84007e05cff9..25be53921f8d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1555,6 +1555,7 @@ SUBDIR += py-typogrify SUBDIR += py-ucl SUBDIR += py-ufal.udpipe + SUBDIR += py-untangle SUBDIR += py-wcmatch SUBDIR += py-whatthepatch SUBDIR += py-whoosh diff --git a/textproc/py-untangle/Makefile b/textproc/py-untangle/Makefile new file mode 100644 index 000000000000..be7ac2448f1b --- /dev/null +++ b/textproc/py-untangle/Makefile @@ -0,0 +1,20 @@ +PORTNAME= untangle +PORTVERSION= 1.2.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Convert XML to Python objects + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8.0:devel/py-defusedxml@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-untangle/distinfo b/textproc/py-untangle/distinfo new file mode 100644 index 000000000000..f016024af5a9 --- /dev/null +++ b/textproc/py-untangle/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576696 +SHA256 (untangle-1.2.1.tar.gz) = ae76522472722b31b303d5100c3c6f8b7dd4952b7b6c9d31e6d7b4a56f1a6d30 +SIZE (untangle-1.2.1.tar.gz) = 4809 diff --git a/textproc/py-untangle/pkg-descr b/textproc/py-untangle/pkg-descr new file mode 100644 index 000000000000..11c451b507b3 --- /dev/null +++ b/textproc/py-untangle/pkg-descr @@ -0,0 +1,13 @@ +untangle is a tiny Python library which converts an XML document to a Python +object. + +Features: +- Siblings with similar names are grouped into a list. +- Children can be accessed with parent.child, attributes with + element['attribute']. +- You can call the parse() method with a filename, an URL or an XML string. +- Substitutes -, . and : with _ can be accessed with + foobar.foo_bar, can be accessed with foo_bar_baz and + can be accessed with foo_bar.foo_baz + +WWW: https://github.com/stchris/untangle