databases/py-fakeredis: Update to 2.21.1

- Add PROBABILISTIC option

Changes:	https://github.com/cunla/fakeredis-py/releases
This commit is contained in:
Po-Chuan Hsieh 2024-02-21 22:31:40 +08:00
parent 3c72ab22ac
commit ff0c646cf7
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 11 additions and 16 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= fakeredis
PORTVERSION= 2.20.1
PORTVERSION= 2.21.1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -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>

View file

@ -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

View file

@ -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
+]