databases/py-fakeredis 2.38.0 FreeBSD
Fake version of databases/py-redis for unit testing
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
fe44796deb- License
- BSD3CLAUSE, MIT
- Categories
- databases, python
- Package size
- 365.3 KiB, 2159.5 KiB installed
Description
fakeredis is a pure Python implementation of the redis-py python client that simulates talking to a redis server. This was created for a single purpose: to write unittests. Setting up redis is not hard, but many times you want to write unittests that do not talk to an external server (such as redis). This module now allows tests to simply use this module as a reasonable substitute for redis.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/py-fakeredis | 2.38.0 |
| DragonFly | databases/py-fakeredis | 2.27.0 |
| MidnightBSD | databases/py-fakeredis | 2.36.2 |
Install
Binary package:
pkg install py312-fakeredis
From the ports tree:
cd /usr/ports/databases/py-fakeredis/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-fakeredis>0:databases/py-fakeredis
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.38.0 | 2.38.0 | 1.10.1 | 2.30.2 | 2.38.0 |
| FreeBSD:14:quarterly | 2.38.0 | 2.38.0 | n/a | 2.30.1 | 2.38.0 |
| FreeBSD:15:latest | 2.38.0 | 2.38.0 | n/a | 2.30.2 | 2.30.2 |
| FreeBSD:15:quarterly | 2.38.0 | 2.38.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.38.0 | 2.38.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 2
${PYTHON_PKGNAMEPREFIX}redis>=4.3: databases/py-redis${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2: devel/py-sortedcontainers
Test 5
${PYTHON_PKGNAMEPREFIX}jsonpath-ng>=1.6: devel/py-jsonpath-ng${PYTHON_PKGNAMEPREFIX}lupa>=2.1: lang/py-lupa${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-cov>=0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-mock>=0: devel/py-pytest-mock
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 9
No port depends on this one.
Configuration
Options name: databases_fakeredis
| Option | Default | Description |
|---|---|---|
| JSON | off | JSON file/format/parser support |
| LUA | off | Lua support |
| PROBABILISTIC | off | Probabilistic data structure support |
| VALKEY | off | Valkey support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fakeredis-2.38.0.tar.gz | 271116 | d2abfd24652f86501044499bf08c9d639db050f695eefc06b8b8b6f0bb24dbd6 |
Master sites 1
- PYPI