From nobody Wed Jun 14 12:32:36 2023 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 4Qh4ZD4Y0kz4dV7V; Wed, 14 Jun 2023 12:32:36 +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 4Qh4ZD44FNz3m42; Wed, 14 Jun 2023 12:32:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686745956; 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=iaFab7rrpLpNRXli6mbKBLXv4pu82iDWIpIQ6fHm+Ns=; b=UaaU8T2Zr4+MFrlY7sNXoDoSPuJmz7cJingVALme7i2TrX7AtVowTyxuHAA2ZC7Gu+vFHI 9zYqzkTZcc0beUatE/cedGt0KKJZSETT4sQq7W+PxveY+Z0v4tk4sKkpqzpaMQwwH5X09H 3OkN3FuJuZMUHSV/sNIUSPa+bAwS8FFQG2TUM0IGT5Tntu7tXYBZaB2LqT34ut5Eka4b5g iR7nvdqiL8KJsudmg22gDIYDlGM/+5V6gjhD4rnKYJ06y0E03atLrkl5aGQQTbv8kG+0yh q74YP5TUJzpDUKKopsjwfijSp6/WPC9xfHHMgb3IrauN27PO86OnzCQQJ53gRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686745956; 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=iaFab7rrpLpNRXli6mbKBLXv4pu82iDWIpIQ6fHm+Ns=; b=RPFYBpg/swft3goU8Ct6vXAlxesEBxcWalPaKmmZ/Ujodrtax5YQzeFg5QGpHI/1WiYjKc q1w2y0m+tsyqwivOm6EK2lj7JyBE/ScRrA3ouSyTlgXIJkfbicjTC/i9TTNsaQmDtegY4/ maYxz97Cduj9Y4qNDH2M1oirYVf+1BbSuan/0X4rw0uQ8nc+ZP5CRM8M7UWkrgfHUCpyOY 7JD9YnO3Et840NuAATgiqKVjdctKH2XaNP0YQAZXOkFfbbbcDNJdLLGgTtPYSXHmdKyOVK lecisZXqLJO/5ZK31+r4oz3wCiOYUwwsGcIrewRGPcAcofdrahoJDexGo22UAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686745956; a=rsa-sha256; cv=none; b=Eb0xICXphKbRRZWU2RI1B1OxpowmXwzw0AnC6rUKLaCz8M5kDgHkLFjTEMEzFKa+Bwfik5 gGjPy6ScKvs69AL5w87Fz3cWRAJYpfaWP5xr1DaOcAcVPhGosYIcjPtBCEt45Fa1JkY8nv OhkuJQc51GN9PAtRkZcnTJ5XIQ0AKfLi/N15JwNVMTQgWsIffC6Hzxsp7VG+O22HcgmvIC gkuh1EEQPk2+eDeTUCHuQdhX73QPM40dfMF8f69aXxPRyLMLd9ow90L1BsaxDpKnFWs6eY keZUg7RaWN0HafKkjTBiiEfMO/jQG7oF7jSA4tkyd3j21eJ80vm4aZcZSLi6/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 4Qh4ZD37bhz13xx; Wed, 14 Jun 2023 12:32:36 +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 35ECWass015673; Wed, 14 Jun 2023 12:32:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35ECWaEZ015672; Wed, 14 Jun 2023 12:32:36 GMT (envelope-from git) Date: Wed, 14 Jun 2023 12:32:36 GMT Message-Id: <202306141232.35ECWaEZ015672@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 8f711d52639e - main - devel/py-jaraco.collections: Add new port 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: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f711d52639ed7c63335d501a9ac08f3d0b05f3d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f711d52639ed7c63335d501a9ac08f3d0b05f3d commit 8f711d52639ed7c63335d501a9ac08f3d0b05f3d Author: Nicola Vitale AuthorDate: 2023-06-14 12:30:44 +0000 Commit: Nicola Vitale CommitDate: 2023-06-14 12:30:44 +0000 devel/py-jaraco.collections: Add new port Python models and classes to supplement the stdlib 'collections' module. https://github.com/jaraco/jaraco.collections --- devel/Makefile | 1 + devel/py-jaraco.collections/Makefile | 25 +++++++++++++++++++++++++ devel/py-jaraco.collections/distinfo | 3 +++ devel/py-jaraco.collections/pkg-descr | 22 ++++++++++++++++++++++ 4 files changed, 51 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b4b2f268cb54..6c686c5f7665 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4803,6 +4803,7 @@ SUBDIR += py-janus SUBDIR += py-jaraco SUBDIR += py-jaraco.classes + SUBDIR += py-jaraco.collections SUBDIR += py-jaraco.context SUBDIR += py-jaraco.env SUBDIR += py-jaraco.functools diff --git a/devel/py-jaraco.collections/Makefile b/devel/py-jaraco.collections/Makefile new file mode 100644 index 000000000000..a3ce276808ea --- /dev/null +++ b/devel/py-jaraco.collections/Makefile @@ -0,0 +1,25 @@ +PORTNAME= jaraco.collections +DISTVERSION= 4.2.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Python models and classes to supplement the stdlib ‘collections’ +WWW= https://github.com/jaraco/jaraco.collections + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaraco.text>=3.11.1:devel/py-jaraco.text@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaraco.text>=3.11.1:devel/py-jaraco.text@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 pytest + +NO_ARCH= yes + +.include diff --git a/devel/py-jaraco.collections/distinfo b/devel/py-jaraco.collections/distinfo new file mode 100644 index 000000000000..4436ef06765f --- /dev/null +++ b/devel/py-jaraco.collections/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1686684851 +SHA256 (jaraco.collections-4.2.0.tar.gz) = d91461bbfa4e1257e1d94cc2d0a4bd1e261229dda371f7bfa3683c64d32cd31e +SIZE (jaraco.collections-4.2.0.tar.gz) = 17623 diff --git a/devel/py-jaraco.collections/pkg-descr b/devel/py-jaraco.collections/pkg-descr new file mode 100644 index 000000000000..642df20eaaf4 --- /dev/null +++ b/devel/py-jaraco.collections/pkg-descr @@ -0,0 +1,22 @@ +Models and classes to supplement the stdlib 'collections' module. + +Highlights include: + + * RangeMap: A mapping that accepts a range of values for keys. + * Projection: A subset over an existing mapping. + * KeyTransformingDict: Generalized mapping with keys transformed by a + function. + * FoldedCaseKeyedDict: A dict whose string keys are case-insensitive. + * BijectiveMap: A map where keys map to values and values back to their keys. + * ItemsAsAttributes: A mapping mix-in exposing items as attributes. + * IdentityOverrideMap: A map whose keys map by default to themselves unless + overridden. + * FrozenDict: A hashable, immutable map. + * Enumeration: An object whose keys are enumerated. + * Everything: A container that contains all things. + * Least, Greatest: Objects that are always less than or greater than any + other. + * pop_all: Return all items from the mutable sequence and remove them from + that sequence. + * DictStack: A stack of dicts, great for sharing scopes. + * WeightedLookup: A specialized RangeMap for selecting an item by weights.