Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2017 22:50:14 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438216 - in head/devel: . py-cached-property
Message-ID:  <201704102250.v3AMoEKU087792@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lifanov
Date: Mon Apr 10 22:50:14 2017
New Revision: 438216
URL: https://svnweb.freebsd.org/changeset/ports/438216

Log:
  add devel/py-cached-property: decorator for caching properties in classes

Added:
  head/devel/py-cached-property/
  head/devel/py-cached-property/Makefile   (contents, props changed)
  head/devel/py-cached-property/distinfo   (contents, props changed)
  head/devel/py-cached-property/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Apr 10 22:44:02 2017	(r438215)
+++ head/devel/Makefile	Mon Apr 10 22:50:14 2017	(r438216)
@@ -4157,6 +4157,7 @@
     SUBDIR += py-bluelet
     SUBDIR += py-boto
     SUBDIR += py-botocore
+    SUBDIR += py-cached-property
     SUBDIR += py-cachetools
     SUBDIR += py-calendar
     SUBDIR += py-canonicaljson

Added: head/devel/py-cached-property/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cached-property/Makefile	Mon Apr 10 22:50:14 2017	(r438216)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME=	cached-property
+PORTVERSION=	1.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	lifanov@FreeBSD.org
+COMMENT=	Decorator for caching properties in classes
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/devel/py-cached-property/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cached-property/distinfo	Mon Apr 10 22:50:14 2017	(r438216)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491864520
+SHA256 (cached-property-1.3.0.tar.gz) = 458e78b1c7286ece887d92c9bee829da85717994c5e3ddd253a40467f488bc81
+SIZE (cached-property-1.3.0.tar.gz) = 9320

Added: head/devel/py-cached-property/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cached-property/pkg-descr	Mon Apr 10 22:50:14 2017	(r438216)
@@ -0,0 +1,5 @@
+A decorator for caching properties in classes.
+
+Makes caching of time or computational expensive properties quick and easy.
+
+WWW: https://github.com/pydanny/cached-property



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704102250.v3AMoEKU087792>