Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2024 06:29:28 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3354769a64d6 - main - devel/py-simsimd: New port: Portable mixed-precision BLAS-like vector math library for x86 and ARM
Message-ID:  <202410300629.49U6TS5m019001@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3354769a64d677a951331c676387f5eaf82ad1b2

commit 3354769a64d677a951331c676387f5eaf82ad1b2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 05:15:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-30 06:29:19 +0000

    devel/py-simsimd: New port: Portable mixed-precision BLAS-like vector math library for x86 and ARM
---
 devel/Makefile             |  1 +
 devel/py-simsimd/Makefile  | 23 +++++++++++++++++++++++
 devel/py-simsimd/distinfo  |  3 +++
 devel/py-simsimd/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 937d619af73a..0b24f1ce483f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5887,6 +5887,7 @@
     SUBDIR += py-simpleparse
     SUBDIR += py-simpletal
     SUBDIR += py-simpy
+    SUBDIR += py-simsimd
     SUBDIR += py-single-version
     SUBDIR += py-sip
     SUBDIR += py-sirmordred
diff --git a/devel/py-simsimd/Makefile b/devel/py-simsimd/Makefile
new file mode 100644
index 000000000000..61b413ba8d04
--- /dev/null
+++ b/devel/py-simsimd/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	simsimd
+DISTVERSION=	5.9.6
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Portable mixed-precision BLAS-like vector math library for x86 and ARM
+WWW=		https://ashvardanian.com/posts/simsimd-faster-scipy/ \
+		https://github.com/ashvardanian/simsimd
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS=	aarch64 amd64 i386
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/simsimd${PYTHON_EXT_SUFFIX}.so
+
+.include <bsd.port.mk>
diff --git a/devel/py-simsimd/distinfo b/devel/py-simsimd/distinfo
new file mode 100644
index 000000000000..8ff563c82f6d
--- /dev/null
+++ b/devel/py-simsimd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730263272
+SHA256 (simsimd-5.9.6.tar.gz) = 878e40bc280949e61a4061c7cb8bff85919429236cc6666115d1558b3ebf6e65
+SIZE (simsimd-5.9.6.tar.gz) = 150313
diff --git a/devel/py-simsimd/pkg-descr b/devel/py-simsimd/pkg-descr
new file mode 100644
index 000000000000..9155b07b4b81
--- /dev/null
+++ b/devel/py-simsimd/pkg-descr
@@ -0,0 +1,3 @@
+SimSIMD computes dot-products, similarity measures, and distances between low-
+and high-dimensional vectors which is ubiquitous in Machine Learning,
+Scientific Computing, Geo-Spatial Analysis, and Information Retrieval.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410300629.49U6TS5m019001>