devel/py-cachey: New port: Caching mindful of computation/storage costs
This commit is contained in:
parent
b38d38c770
commit
8ab7d67491
@ -4582,6 +4582,7 @@
|
|||||||
SUBDIR += py-cabby
|
SUBDIR += py-cabby
|
||||||
SUBDIR += py-cached-property
|
SUBDIR += py-cached-property
|
||||||
SUBDIR += py-cachetools
|
SUBDIR += py-cachetools
|
||||||
|
SUBDIR += py-cachey
|
||||||
SUBDIR += py-cacheyou
|
SUBDIR += py-cacheyou
|
||||||
SUBDIR += py-cachy
|
SUBDIR += py-cachy
|
||||||
SUBDIR += py-cadquery-pywrap
|
SUBDIR += py-cadquery-pywrap
|
||||||
|
|||||||
21
devel/py-cachey/Makefile
Normal file
21
devel/py-cachey/Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
PORTNAME= cachey
|
||||||
|
DISTVERSION= 0.2.1
|
||||||
|
CATEGORIES= devel python
|
||||||
|
MASTER_SITES= PYPI
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
MAINTAINER= yuri@FreeBSD.org
|
||||||
|
COMMENT= Caching mindful of computation/storage costs
|
||||||
|
WWW= https://github.com/dask/cachey/
|
||||||
|
|
||||||
|
LICENSE= BSD3CLAUSE
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}heapdict>0:devel/py-heapdict@${PY_FLAVOR}
|
||||||
|
|
||||||
|
USES= python
|
||||||
|
USE_PYTHON= distutils autoplist pytest
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
||||||
3
devel/py-cachey/distinfo
Normal file
3
devel/py-cachey/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
TIMESTAMP = 1733949081
|
||||||
|
SHA256 (cachey-0.2.1.tar.gz) = 0310ba8afe52729fa7626325c8d8356a8421c434bf887ac851e58dcf7cf056a6
|
||||||
|
SIZE (cachey-0.2.1.tar.gz) = 6461
|
||||||
7
devel/py-cachey/pkg-descr
Normal file
7
devel/py-cachey/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
cachey implements caching based on computation time and storage space.
|
||||||
|
|
||||||
|
Cachey tries to hold on to values that have the following characteristics:
|
||||||
|
* Expensive to recompute (in seconds)
|
||||||
|
* Cheap to store (in bytes)
|
||||||
|
* Frequently used
|
||||||
|
* Recenty used
|
||||||
Loading…
x
Reference in New Issue
Block a user