Skip to content

Commit

Permalink
databases/py-fakeredis: Update to 2.21.1
Browse files Browse the repository at this point in the history
- Add PROBABILISTIC option

Changes:	https://github.com/cunla/fakeredis-py/releases
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent 3c72ab2 commit ff0c646
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
8 changes: 5 additions & 3 deletions databases/py-fakeredis/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fakeredis
PORTVERSION= 2.20.1
PORTVERSION= 2.21.1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down Expand Up @@ -27,10 +27,12 @@ USE_PYTHON= autoplist concurrent pep517 pytest

NO_ARCH= yes

OPTIONS_DEFINE= JSON LUA
LUA_DESC= Lua support
OPTIONS_DEFINE= JSON LUA PROBABILISTIC
LUA_DESC= Lua support
PROBABILISTIC_DESC= Probabilistic data structure support

JSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonpath-ng>=1.5<2:devel/py-jsonpath-ng@${PY_FLAVOR}
LUA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lupa>=1.14<3.0:lang/py-lupa@${PY_FLAVOR}
PROBABILISTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyprobables>=0.6<1:math/py-pyprobables@${PY_FLAVOR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions databases/py-fakeredis/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1702543634
SHA256 (fakeredis-2.20.1.tar.gz) = a2a5ccfcd72dc90435c18cde284f8cdd0cb032eb67d59f3fed907cde1cbffbbd
SIZE (fakeredis-2.20.1.tar.gz) = 122874
TIMESTAMP = 1708449092
SHA256 (fakeredis-2.21.1.tar.gz) = 773bd03c38fe745c0c03c5b4ebb92521a25d3306f903c0ca65706bf65cf19e2a
SIZE (fakeredis-2.21.1.tar.gz) = 128540
13 changes: 3 additions & 10 deletions databases/py-fakeredis/files/patch-pyproject.toml
@@ -1,18 +1,11 @@
--- pyproject.toml.orig 2023-09-25 21:51:17 UTC
--- pyproject.toml.orig 2024-02-15 14:54:18 UTC
+++ pyproject.toml
@@ -46,7 +46,7 @@ python = "^3.7"
@@ -46,7 +46,7 @@ lupa = { version = ">=1.14,<3.0", optional = true }
redis = ">=4"
sortedcontainers = "^2"
lupa = { version = ">=1.14,<3.0", optional = true }
-jsonpath-ng = { version = "^1.6", optional = true }
+jsonpath-ng = { version = "^1.5", optional = true }
pybloom-live = { version = "^4.0", optional = true }
pyprobables = { version = "^0.6", optional = true }

[tool.poetry.extras]
@@ -104,4 +104,4 @@ exclude = [
'.venv',
'.github',
'__pycache__',
-]
\ No newline at end of file
+]

0 comments on commit ff0c646

Please sign in to comment.