devel/py-cachier: New port: Persistent/stale-free/local/cross-machine caching for Python functions

This commit is contained in:
Yuri Victorovich 2024-12-19 17:42:11 -08:00
parent b1aca3bc5c
commit bb2fd97c74
4 changed files with 35 additions and 0 deletions

View File

@ -4600,6 +4600,7 @@
SUBDIR += py-cachetools
SUBDIR += py-cachey
SUBDIR += py-cacheyou
SUBDIR += py-cachier
SUBDIR += py-cachy
SUBDIR += py-cadquery-pywrap
SUBDIR += py-calver

29
devel/py-cachier/Makefile Normal file
View File

@ -0,0 +1,29 @@
PORTNAME= cachier
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.2
CATEGORIES= devel python
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Persistent/stale-free/local/cross-machine caching for Python functions
WWW= https://github.com/python-cachier/cachier
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}portalocker>=2.3.2:devel/py-portalocker@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}watchdog>=2.3.1:devel/py-watchdog@${PY_FLAVOR}
# TEST_DEPENDS has 2 not-yet-ported dependencies: birch, pymongo-inmemory
USES= python
USE_PYTHON= pep517 autoplist
USE_GITHUB= yes
GH_ACCOUNT= python-cachier
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1734658381
SHA256 (python-cachier-cachier-v3.1.2_GH0.tar.gz) = 1ae8888287d6861788e81163b72a0b4a28e144a5943b94d2ff27668d423fc444
SIZE (python-cachier-cachier-v3.1.2_GH0.tar.gz) = 32120

View File

@ -0,0 +1,2 @@
Cachier is a Python package that provides persistent, stale-free, local
and cross-machine caching for Python functions.