From nobody Wed Aug 10 16:07:04 2022 X-Original-To: dev-commits-ports-main@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 4M2vvr5VhGz4Y8Jq; Wed, 10 Aug 2022 16:07:04 +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 4M2vvr501fz4Dr2; Wed, 10 Aug 2022 16:07:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660147624; 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=IaapBs/jXOW93OSbOFc+pIt6bEJ8/jVkJcr3uFnrl4Y=; b=l3nk+EfRY7SyGkvGhDXof4q/uxiUveI2As37G+4ShQfIb/KQ3f/R27OR/hIPUVu5D03kvG 1/F1p2Ezer80Y8Ij9roc84/bxtJ/SA2/1TmnXZuj1/0wAmZ6D5rVza5F2c7+go/iQlNUKq 8yKZA03zrC9r8vhBBp1Z0OClxvF5aJ8BWBIzkZD7CNSk83xHMu9PtJFmmhaniL4WS2TMWl AyNy3shAhl5xeV+Yo/3tz7TQ3n+BfvZQmrL592jedfNiR5csZ2sN4qJ5rhwU5VpTd9ixMq 9kkBKbDHXSzEBlavLNSdVt9Rp/UHDzUUS84jdJ+Jksv/i6zaJBE+DOIflUh4xw== 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 4M2vvr42NJzHn1; Wed, 10 Aug 2022 16:07:04 +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 27AG740l072351; Wed, 10 Aug 2022 16:07:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27AG74dX072350; Wed, 10 Aug 2022 16:07:04 GMT (envelope-from git) Date: Wed, 10 Aug 2022 16:07:04 GMT Message-Id: <202208101607.27AG74dX072350@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: fc1eb31d26ee - main - textproc/py-dict2xml: Small utility to convert a python dictionary into an XML string List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fc1eb31d26ee40ebc6ae437a192f072b240be01e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660147624; 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=IaapBs/jXOW93OSbOFc+pIt6bEJ8/jVkJcr3uFnrl4Y=; b=jPX4cpPqi9gQ8/gPGbrblmBmKnSfJThipUeSJKP0+TdMB1knFoiQuszxbbNJUV2QL1Oozg Ja0Tcgn7scYyxmlrG6VCzeyCs+X+vE1rjeUL9IxeItgspHwrU/K2NMHASExLoNB2rclL/D dEUCVDqEp0zzHqQVGCRFjs6zwJbRRynPJpy9NTAxcTKbFqY/boqvrzcwVGluf7cVBbooQS ftkEpMNGEkgQzC5qdsR/8KKDYCgA9dSqxAdVNNILtIDXUsPOKac3p0PGI8I90E6/cCjDJP Thmc0s2t99b113FxCvJMB4OJKlEMkkf9LGBl+AwTYwqt940O8isRdDO/73TrWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660147624; a=rsa-sha256; cv=none; b=QMuL05Ed9l7juv/7uP5GpYkq88W0ChgknJu2/2a69yYUxSH3gKXkdXj8PQmYDXTN7tFlcd 6Jawm9Xg0qscL4K5YxPF1GXWm7O/wrAmJiDk7iUa6KUBRmbGpjns5OJ5XRdVzoXj9qE++S 2p6paM388WXRiBrQQ2CbWpJ5pRyIrpCf+wimXdy6p9zKZlnS+oi3uQ6fl2riFC32JMnFGE bet9QXv2NiuToQaylOpLnk7qjiAPLLAFKSiPndMs5WTTODowytcC9mhv7fHPmTtMrzqJeI EtCdhHGFoHWeXa/y3eZzo2j3D9KKStk10KgLDGnMobl6VzRkoKmu3N36OjX/fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc1eb31d26ee40ebc6ae437a192f072b240be01e commit fc1eb31d26ee40ebc6ae437a192f072b240be01e Author: Kubilay Kocak AuthorDate: 2022-08-09 15:59:40 +0000 Commit: Gleb Popov CommitDate: 2022-08-10 16:06:38 +0000 textproc/py-dict2xml: Small utility to convert a python dictionary into an XML string --- textproc/Makefile | 1 + textproc/py-dict2xml/Makefile | 27 +++++++++++++++++++++++++++ textproc/py-dict2xml/distinfo | 3 +++ textproc/py-dict2xml/pkg-descr | 3 +++ 4 files changed, 34 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index efe9747ab30a..ddf5e0ab1f5a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1297,6 +1297,7 @@ SUBDIR += py-csvkit SUBDIR += py-custom_inherit SUBDIR += py-dbfread + SUBDIR += py-dict2xml SUBDIR += py-diff-match-patch SUBDIR += py-docrepr SUBDIR += py-docstring-parser diff --git a/textproc/py-dict2xml/Makefile b/textproc/py-dict2xml/Makefile new file mode 100644 index 000000000000..1e655169facc --- /dev/null +++ b/textproc/py-dict2xml/Makefile @@ -0,0 +1,27 @@ +PORTNAME= dict2xml +DISTVERSIONPREFIX=release- +DISTVERSION= 1.7.1 +CATEGORIES= textproc devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Small utility to convert a python dictionary into an XML string + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}noseofyeti>0:devel/py-noseofyeti@${PY_FLAVOR} + +USES= python:3.5+ +#doesnt ship tests in sdist +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +GH_ACCOUNT= delfick +GH_PROJECT= python-dict2xml + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= + +.include diff --git a/textproc/py-dict2xml/distinfo b/textproc/py-dict2xml/distinfo new file mode 100644 index 000000000000..d6bd331d3a6d --- /dev/null +++ b/textproc/py-dict2xml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660008780 +SHA256 (delfick-python-dict2xml-release-1.7.1_GH0.tar.gz) = aded290785a8e19feaeaa93229fbbaa112afa156b020ac2405efcb42def53bcc +SIZE (delfick-python-dict2xml-release-1.7.1_GH0.tar.gz) = 13092 diff --git a/textproc/py-dict2xml/pkg-descr b/textproc/py-dict2xml/pkg-descr new file mode 100644 index 000000000000..c9bb98ae7469 --- /dev/null +++ b/textproc/py-dict2xml/pkg-descr @@ -0,0 +1,3 @@ +Super Simple utility to convert a python dictionary into an xml string. + +WWW: https://github.com/delfick/python-dict2xml