devel/py-propcache 0.4.1 MidnightBSD
Accelerated property cache
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
2bca5e4df4- License
- Apache-2.0
- Categories
- devel, python
Description
propcache provides a fast implementation of cached properties for Python.
The API is designed to be nearly identical to the built-in functools.cached_property class, except for the additional under_cached_property class which uses self._cache instead of self.__dict__ to store the cached values and prevents __set__ from being called.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-propcache | 0.4.1 |
| FreeBSD | devel/py-propcache | 0.5.4 |
| OpenBSD | devel/py-propcache | 0.5.4 |
| NetBSD | devel/py-propcache | 0.5.2 |
| DragonFly | devel/py-propcache | 0.3.0 |
| HardenedBSD | devel/py-propcache | 0.5.4 |
| GhostBSD | devel/py-propcache | 0.5.4 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}propcache
From mports:
cd /usr/mports/devel/py-propcache && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}propcache>0:devel/py-propcache
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}expandvars>=0: devel/py-expandvars${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 3
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| propcache-0.4.1.tar.gz | 46442 | f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d |
Master sites 1
- PYPI