diff options
Diffstat (limited to 'databases/py-valkey')
-rw-r--r-- | databases/py-valkey/Makefile | 34 | ||||
-rw-r--r-- | databases/py-valkey/distinfo | 3 | ||||
-rw-r--r-- | databases/py-valkey/pkg-descr | 4 |
3 files changed, 41 insertions, 0 deletions
diff --git a/databases/py-valkey/Makefile b/databases/py-valkey/Makefile new file mode 100644 index 000000000000..b0a332244565 --- /dev/null +++ b/databases/py-valkey/Makefile @@ -0,0 +1,34 @@ +PORTNAME= valkey +DISTVERSION= 6.1.1 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dtxdf@FreeBSD.org +COMMENT= Python client for Valkey forked from redis-py +WWW= https://github.com/valkey-io/valkey-py + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +OPTIONS_DEFINE= LIBVALKEY OCSP +OPTIONS_DEFAULT= LIBVALKEY OCSP + +LIBVALKEY_DESC= Install valkey with libvalkey support +OCSP_DESC= Enable support for OCSP stapling + +LIBVALKEY_RUN_DEPENDS= libvalkey>=0:databases/libvalkey +OCSP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31103 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}async_timeout>=0:devel/py-async_timeout@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/databases/py-valkey/distinfo b/databases/py-valkey/distinfo new file mode 100644 index 000000000000..87d5aa6e91ce --- /dev/null +++ b/databases/py-valkey/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1755628696 +SHA256 (valkey-6.1.1.tar.gz) = 5880792990c6c2b5eb604a5ed5f98f300880b6dd92d123819b66ed54bb259731 +SIZE (valkey-6.1.1.tar.gz) = 4601372 diff --git a/databases/py-valkey/pkg-descr b/databases/py-valkey/pkg-descr new file mode 100644 index 000000000000..c9c9902af99e --- /dev/null +++ b/databases/py-valkey/pkg-descr @@ -0,0 +1,4 @@ +Valkey-py is a python library that allows you to connect to Valkey, +the open source (BSD) high-performance key/value datastore that +supports a variety of workloads such as caching, message queues, +and can act as a primary database. |