summaryrefslogtreecommitdiff
path: root/misc/py-mem0ai
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-mem0ai')
-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..c4c0aedc6446
--- /dev/null
+++ b/misc/py-mem0ai/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= mem0ai
+PORTVERSION= 0.1.117
+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..d1a28c321982
--- /dev/null
+++ b/misc/py-mem0ai/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757749444
+SHA256 (mem0ai-0.1.117.tar.gz) = aaf27fcc86a83c5906491bb0bf0588d7fe4db96e5af94e331280b18ae1e99092
+SIZE (mem0ai-0.1.117.tar.gz) = 137816
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.