./devel/py-cached-property, Cached-property for decorating methods in classes

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: py27-cached-property-1.2.0, Maintainer: pkgsrc-users

A cached-property for decorating methods in classes.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 90e395d497b372c03f81782407efe986dc6afbbb
RMD160: 275d90cd14187fef7ad6ba062710ef35594c4741
Filesize: 8.947 KB

Version history: (Expand)


CVS history: (Expand)


   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.
   2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578)
Log message:
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-08-28 12:26:40 by Thomas Klausner | Files touched by this commit (1)
Log message:
Mark as not-for-python-3.x.

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 561: \ 
ordinal not in range(128)
   2015-08-24 13:33:58 by Richard PALO | Files touched by this commit (4)
Log message:
Add py-cached property
A cached-property for decorating methods in classes.

History:
1.2.0 (2015-04-28)

    Overall code and test refactoring, thanks to @gsakkis
    Allow the del statement for resetting cached properties with ttl instead
    of del obj._cache[attr], thanks to @gsakkis.
    Uncovered a bug in PyPy, https://bitbucket.org/pypy/pypy/issue/2033/
    attributeerror-object-attribute-is-read, thanks to @gsakkis
    Fixed threaded_cached_property_with_ttl to actually be thread-safe, thanks
    to @gsakkis

1.1.0 (2015-04-04)

    Regression: As the cache was not always clearing, we've broken out the
    time to expire feature to its own set of specific tools, thanks to
    @pydanny
    Fixed typo in README, thanks to @zoidbergwill

1.0.0 (2015-02-13)

    Added timed to expire feature to cached_property decorator.
    Backwards incompatiblity: Changed del monopoly.boardwalk to del
    monopoly['boardwalk'] in order to support the new TTL feature.