databases/py-fakeredis 2.36.2 MidnightBSD
Fake version of databases/py-redis for unit testing
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- bsd3, mit
- Categories
- databases, python
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 |
|---|---|---|
| MidnightBSD | databases/py-fakeredis | 2.36.2 |
| FreeBSD | databases/py-fakeredis | 2.38.0 |
| DragonFly | databases/py-fakeredis | 2.27.0 |
| HardenedBSD | databases/py-fakeredis | 2.38.0 |
| GhostBSD | databases/py-fakeredis | 2.38.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}fakeredis
From mports:
cd /usr/mports/databases/py-fakeredis && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fakeredis>0:databases/py-fakeredis
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
Build dependencies 1
Run dependencies 2
No port depends on this one.
Configuration
Options name: databases_fakeredis
| Option | Default | Description |
|---|---|---|
| JSON | off | |
| 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.36.2.tar.gz | 213336 | c37a0b307fae3f27ec7c19e59519e57b8c52782e00303df9075361b5ba441be6 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |