From nobody Mon Dec 26 21:00:31 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 4Ngqtm1S0Fz1HxSr; Mon, 26 Dec 2022 21:00:32 +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 4Ngqtm123Dz44wY; Mon, 26 Dec 2022 21:00:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672088432; 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=z4RUId7P0X7AOoKMQbLBypaC9Cb+QvEbcDeNmPERa4E=; b=a3NAcsbwjCfIQckyxunSd7EPjp5fjGRmWESYbDzaAuoluxqof5iArHk52jvnil1HULeEKg K4gyqM+/Cug/Wtfyjt5Y/obAEARAThtABj6/FGGjshA5vz1qaIeRpbci+GbcQee/7nTvKY oE7ON353Nuq44gtMPiCSgyAqfoVcyjziihZ1GeuEJ2wqlJnNpNZkbtpAgC/YJ55Sp9r+el VMv5j2d8qNR3D8I4re8JionsaxCn3FDH+QW9yty/uPIyxD77h8tNNqjXLE43YBshRZGqL4 Ks9wqTz4SAp/lrvRmaAjfdRGSeBImVd12LYuTzTsEGS8wIvspBsfDpUbMwHomA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672088432; 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=z4RUId7P0X7AOoKMQbLBypaC9Cb+QvEbcDeNmPERa4E=; b=DKS6CvKv1QLQozl67B10CUGqRyWBvvPBotgEE/ZUF4uMvaikYSz/gY0WZm/tL/+v6sWrmt 03Lalp48iyq04plXD5m0coIxE5nTOuRJuQSB6Qx1Z6htei6TIoGLK3ASC4pz2i7n3eT7Ou MYkvPBdCOl5U8K24igj10C7w8g35zxShFyWkEZE8kbcS76MYgWq6a3Zm6WE6YMZsmItVE/ wiV5W4JdLTlq40t814DACWg6uQIgjntiAFO42XrR1LM7KWqghehWlFf0igt3ITbcWNk4m9 uyFf+dPN1criB49Do0lTqNjV9tq9VaX6Ssz2TMco9oHX0pNCqs/UzvC+drbAyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672088432; a=rsa-sha256; cv=none; b=M3YgblcBdnSmZT//WhtQ17SoLMtDqUDl9ifvewK7dZeLC7IRfAxPIz5HZKD3V0tUNBnS+A +FpWH2tVRDms0wRYDVUsP5BHyD+7vdBCI2EY+lak6mVvsaDRyozmPL+lP1mxImFSuvEPxH aRmCyilviaimy+aTQqzkE+Wi+QbShrPkCZnfjbvDO2Yci7cWCGTzOVxuS0lbmXwF7TTqhV T/FUindj+fJTtTTr5JOV8pEDISFE+NareD9jA807YbmhOrcXlqsZWf1GNg3oQMkEEFKcoF LqKaReHiafPKaCLsRWdwgV68ffj6oeDA23us/kxgKBecVvtFB2YkbB9PGPq9pQ== 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 4Ngqtl73KHzl9b; Mon, 26 Dec 2022 21:00:31 +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 2BQL0VRL063381; Mon, 26 Dec 2022 21:00:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BQL0VjR063380; Mon, 26 Dec 2022 21:00:31 GMT (envelope-from git) Date: Mon, 26 Dec 2022 21:00:31 GMT Message-Id: <202212262100.2BQL0VjR063380@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: e9c2fa18e8f8 - main - devel/py-property-cached: New port: Decorator for caching properties in classes 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: e9c2fa18e8f804503eea9bedb519df96510e8a9a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9c2fa18e8f804503eea9bedb519df96510e8a9a commit e9c2fa18e8f804503eea9bedb519df96510e8a9a Author: Yuri Victorovich AuthorDate: 2022-12-26 20:28:30 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-26 21:00:28 +0000 devel/py-property-cached: New port: Decorator for caching properties in classes --- devel/Makefile | 1 + devel/py-property-cached/Makefile | 19 +++++++++++++++++++ devel/py-property-cached/distinfo | 3 +++ devel/py-property-cached/pkg-descr | 4 ++++ 4 files changed, 27 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 78e3fcc4e59b..f4644e63f951 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5032,6 +5032,7 @@ SUBDIR += py-prompt-toolkit SUBDIR += py-prompt-toolkit1 SUBDIR += py-prompt-toolkit2 + SUBDIR += py-property-cached SUBDIR += py-proselint SUBDIR += py-proto-plus SUBDIR += py-protobuf diff --git a/devel/py-property-cached/Makefile b/devel/py-property-cached/Makefile new file mode 100644 index 000000000000..5b7029ef3980 --- /dev/null +++ b/devel/py-property-cached/Makefile @@ -0,0 +1,19 @@ +PORTNAME= property-cached +PORTVERSION= 1.6.4 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Decorator for caching properties in classes +WWW= https://github.com/althonos/property-cached/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.5+ zip +USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/pydanny/cached-property/pull/294 + +NO_ARCH= yes + +.include diff --git a/devel/py-property-cached/distinfo b/devel/py-property-cached/distinfo new file mode 100644 index 000000000000..cf5174887e4b --- /dev/null +++ b/devel/py-property-cached/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672086239 +SHA256 (property-cached-1.6.4.zip) = 3e9c4ef1ed3653909147510481d7df62a3cfb483461a6986a6f1dcd09b2ebb73 +SIZE (property-cached-1.6.4.zip) = 23539 diff --git a/devel/py-property-cached/pkg-descr b/devel/py-property-cached/pkg-descr new file mode 100644 index 000000000000..e331904c03f0 --- /dev/null +++ b/devel/py-property-cached/pkg-descr @@ -0,0 +1,4 @@ +cached-property is a decorator for caching properties in classes. It makes +caching of time or computational expensive properties quick and easy. + +cached-property is forked from cached-property.