Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 05:50:44 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361024 - in head/devel: . py-lazy
Message-ID:  <201407070550.s675oiZ5063156@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Jul  7 05:50:44 2014
New Revision: 361024
URL: http://svnweb.freebsd.org/changeset/ports/361024
QAT: https://qat.redports.org/buildarchive/r361024/

Log:
  [NEW] devel/py-lazy: Lazy attributes for Python objects
  
  The lazy module provides a decorator to create lazy attributes. A lazy
  attribute is a computed attribute that is evaluated only once, the first
  time it is used. Subsequent uses return the results of the first call.
  
  WWW: https://pypi.python.org/pypi/lazy

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jul  7 05:35:49 2014	(r361023)
+++ head/devel/Makefile	Mon Jul  7 05:50:44 2014	(r361024)
@@ -3704,6 +3704,7 @@
     SUBDIR += py-kjbuckets
     SUBDIR += py-kqueue
     SUBDIR += py-krosspython
+    SUBDIR += py-lazy
     SUBDIR += py-levenshtein
     SUBDIR += py-liblarch
     SUBDIR += py-libplist

Added: head/devel/py-lazy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-lazy/Makefile	Mon Jul  7 05:50:44 2014	(r361024)
@@ -0,0 +1,21 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	lazy
+PORTVERSION=	1.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Lazy attributes for Python objects
+
+USES=			zip
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
+.include <bsd.port.mk>

Added: head/devel/py-lazy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-lazy/distinfo	Mon Jul  7 05:50:44 2014	(r361024)
@@ -0,0 +1,2 @@
+SHA256 (lazy-1.2.zip) = 127ea610418057b953f0d102bed83f2c367be13b59f8d0ddf3b8a86c7d31b970
+SIZE (lazy-1.2.zip) = 14380

Added: head/devel/py-lazy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-lazy/pkg-descr	Mon Jul  7 05:50:44 2014	(r361024)
@@ -0,0 +1,5 @@
+The lazy module provides a decorator to create lazy attributes. A lazy
+attribute is a computed attribute that is evaluated only once, the first
+time it is used. Subsequent uses return the results of the first call.
+
+WWW: https://pypi.python.org/pypi/lazy



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