BSD Ports

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

SystemPortVersion
FreeBSDdatabases/py-fakeredis2.38.0
DragonFlydatabases/py-fakeredis2.27.0
MidnightBSDdatabases/py-fakeredis2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.38.02.38.01.10.12.30.22.38.0
FreeBSD:14:quarterly2.38.02.38.0n/a2.30.12.38.0
FreeBSD:15:latest2.38.02.38.0n/a2.30.22.30.2
FreeBSD:15:quarterly2.38.02.38.0n/an/an/a
FreeBSD:16:latest2.38.02.38.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

Test 5

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 9

No port depends on this one.

Configuration

Options name: databases_fakeredis

OptionDefaultDescription
JSONoffJSON file/format/parser support
LUAoffLua support
PROBABILISTICoffProbabilistic data structure support
VALKEYoffValkey support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
fakeredis-2.38.0.tar.gz271116d2abfd24652f86501044499bf08c9d639db050f695eefc06b8b8b6f0bb24dbd6
Master sites 1
  • PYPI

Commit history 4

DateCommitCreditsLog message
fe44796deb Po-Chuan Hsieh databases/py-fakeredis: Update to 2.38.0
Changes: https://github.com/cunla/fakeredis-py/releases https://github.com/cunla/fakeredis-py/blob/master/docs/about/changelog.md
08fa61d104 Po-Chuan Hsieh databases/py-fakeredis: Update to 2.37.1
Changes: https://github.com/cunla/fakeredis-py/releases https://github.com/cunla/fakeredis-py/blob/master/docs/about/changelog.md
a3eb2457f4 Po-Chuan Hsieh databases/py-fakeredis: Update to 2.36.2
Changes: https://github.com/cunla/fakeredis-py/releases https://github.com/cunla/fakeredis-py/blob/master/docs/about/changelog.md
ebb6ffb1de Po-Chuan Hsieh databases/py-fakeredis: Update to 2.36.0
Changes: https://github.com/cunla/fakeredis-py/releases https://github.com/cunla/fakeredis-py/blob/master/docs/about/changelog.md