summaryrefslogtreecommitdiff
path: root/misc/py-mem0ai
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/py-mem0ai/Makefile25
-rw-r--r--misc/py-mem0ai/distinfo3
-rw-r--r--misc/py-mem0ai/files/patch-pyproject.toml20
-rw-r--r--misc/py-mem0ai/pkg-descr4
4 files changed, 52 insertions, 0 deletions
diff --git a/misc/py-mem0ai/Makefile b/misc/py-mem0ai/Makefile
new file mode 100644
index 000000000000..a7c679c38d81
--- /dev/null
+++ b/misc/py-mem0ai/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= mem0ai
+PORTVERSION= 0.1.118
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= otis@FreeBSD.org
+COMMENT= Enhances AI assistants and agents with an intelligent memory layer
+WWW= https://github.com/mem0ai/mem0
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qdrant-client>=1.9.1:databases/py-qdrant-client@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}openai>0:misc/py-openai@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}posthog>=3.5.0:misc/py-posthog@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=5.29.0:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=2.0.31:databases/py-sqlalchemy20@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/misc/py-mem0ai/distinfo b/misc/py-mem0ai/distinfo
new file mode 100644
index 000000000000..93910ad3873b
--- /dev/null
+++ b/misc/py-mem0ai/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758899416
+SHA256 (mem0ai-0.1.118.tar.gz) = d62497286616357f8726b849afc20031cd0ab56d1cf312fa289b006be33c3ce7
+SIZE (mem0ai-0.1.118.tar.gz) = 159324
diff --git a/misc/py-mem0ai/files/patch-pyproject.toml b/misc/py-mem0ai/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ff011ad80562
--- /dev/null
+++ b/misc/py-mem0ai/files/patch-pyproject.toml
@@ -0,0 +1,20 @@
+--- pyproject.toml.orig 2025-06-09 18:34:57 UTC
++++ pyproject.toml
+@@ -9,7 +9,6 @@ authors = [
+ authors = [
+ { name = "Mem0", email = "founders@mem0.ai" }
+ ]
+-readme = "README.md"
+ requires-python = ">=3.9,<4.0"
+ dependencies = [
+ "qdrant-client>=1.9.1",
+@@ -49,9 +48,6 @@ only-include = ["mem0"]
+ [tool.hatch.build.targets.wheel]
+ packages = ["mem0"]
+ only-include = ["mem0"]
+-
+-[tool.hatch.build.targets.wheel.shared-data]
+-"README.md" = "README.md"
+
+ [tool.hatch.envs.default.scripts]
+ format = [
diff --git a/misc/py-mem0ai/pkg-descr b/misc/py-mem0ai/pkg-descr
new file mode 100644
index 000000000000..db268fee7bd3
--- /dev/null
+++ b/misc/py-mem0ai/pkg-descr
@@ -0,0 +1,4 @@
+Mem0 ("mem-zero") enhances AI assistants and agents with an intelligent memory
+layer, enabling personalized AI interactions. It remembers user preferences,
+adapts to individual needs, and continuously learns over time—ideal for
+customer support chatbots, AI assistants, and autonomous systems.