From nobody Wed Oct 13 05:49:13 2021 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 2C76C18090AE; Wed, 13 Oct 2021 05:49:14 +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 4HThRs6T5dz4clb; Wed, 13 Oct 2021 05:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9AA6A22058; Wed, 13 Oct 2021 05:49:13 +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 19D5nDoc073604; Wed, 13 Oct 2021 05:49:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19D5nDui073603; Wed, 13 Oct 2021 05:49:13 GMT (envelope-from git) Date: Wed, 13 Oct 2021 05:49:13 GMT Message-Id: <202110130549.19D5nDui073603@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: 54e8cf9f32cd - main - devel/py-backports.cached-property: Add py-backports.cached-property 1.0.1 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 54e8cf9f32cd0efa97305bd7fcfc6db59149dd5d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=54e8cf9f32cd0efa97305bd7fcfc6db59149dd5d commit 54e8cf9f32cd0efa97305bd7fcfc6db59149dd5d Author: Po-Chuan Hsieh AuthorDate: 2021-10-13 05:33:57 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-10-13 05:33:57 +0000 devel/py-backports.cached-property: Add py-backports.cached-property 1.0.1 Python 3.8 adds great descriptor to functools: cached_property. Technically all required APIs was available since python 3.6, but it is what it is. This package is a backport of this functionality for python 3.6 and 3.7. WWW: https://github.com/penguinolog/backports.cached_property --- devel/Makefile | 1 + devel/py-backports.cached-property/Makefile | 22 ++++++++++++++++++++++ devel/py-backports.cached-property/distinfo | 3 +++ .../files/patch-setup.py | 10 ++++++++++ devel/py-backports.cached-property/pkg-descr | 6 ++++++ 5 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a31d132aec7f..62711ad1cbc7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4248,6 +4248,7 @@ SUBDIR += py-babi_grammars SUBDIR += py-backcall SUBDIR += py-backports + SUBDIR += py-backports.cached-property SUBDIR += py-backports.csv SUBDIR += py-backports.entry-points-selectable SUBDIR += py-backports.zoneinfo diff --git a/devel/py-backports.cached-property/Makefile b/devel/py-backports.cached-property/Makefile new file mode 100644 index 000000000000..b451dad21996 --- /dev/null +++ b/devel/py-backports.cached-property/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= backports.cached-property +PORTVERSION= 1.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= cached_property() - computed once per instance, cached as attribute + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-backports.cached-property/distinfo b/devel/py-backports.cached-property/distinfo new file mode 100644 index 000000000000..38a81aa838b5 --- /dev/null +++ b/devel/py-backports.cached-property/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632773602 +SHA256 (backports.cached-property-1.0.1.tar.gz) = 1a5ef1e750f8bc7d0204c807aae8e0f450c655be0cf4b30407a35fd4bb27186c +SIZE (backports.cached-property-1.0.1.tar.gz) = 7430 diff --git a/devel/py-backports.cached-property/files/patch-setup.py b/devel/py-backports.cached-property/files/patch-setup.py new file mode 100644 index 000000000000..e5697f8eeff7 --- /dev/null +++ b/devel/py-backports.cached-property/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2021-02-04 08:47:57 UTC ++++ setup.py +@@ -65,7 +65,6 @@ setuptools.setup( + "setuptools >= 21.0.0,!=24.0.0," + "!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2," + "!=36.2.0", +- "wheel", + "setuptools_scm[toml]>=3.4", + ], + install_requires=REQUIRED, diff --git a/devel/py-backports.cached-property/pkg-descr b/devel/py-backports.cached-property/pkg-descr new file mode 100644 index 000000000000..8f77b541edc7 --- /dev/null +++ b/devel/py-backports.cached-property/pkg-descr @@ -0,0 +1,6 @@ +Python 3.8 adds great descriptor to functools: cached_property. Technically all +required APIs was available since python 3.6, but it is what it is. + +This package is a backport of this functionality for python 3.6 and 3.7. + +WWW: https://github.com/penguinolog/backports.cached_property