From nobody Thu Jan 12 05:25:27 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NstKz6Qp7z2r4Kv; Thu, 12 Jan 2023 05:25:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NstKz5K3vz3PlC; Thu, 12 Jan 2023 05:25:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673501127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uf2bJFPduKL4TvsFdPe/FJTNhPZcl3cIU4xoeHjxRmY=; b=OeAWu5yonDCJGCLU76pVHpCvlQOv6ujMkOfVgBxBGm5nW2U+n5Pr8F0AiEkw2sijtd4/IK iUhb8LrZ0tC3C8sfa2XN+k10NUYAS9FRLvKw+re2O6FVbV5vK/y+6s9yaKW7hpnmebwu/V CM/R01EYQX1d1AhDzO23dqY0ksVpWYheq2RueDA85ycxBUOvPZJ8nlMK8gkY6zFfj0yXMG wjNWKcw4c8ukRw9/JV7YcmPhROFZC2TG0iGq7qU+wJuwSRKHmyMNe/TJcCJzOTkT1487zV q5TbLUK07YqGXokIw8FtaDuFJTgCRo+N1wUNzyzGuVX3xBKqYYf+rAmlRDc+aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673501127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uf2bJFPduKL4TvsFdPe/FJTNhPZcl3cIU4xoeHjxRmY=; b=Dxcihk846y/OwKUM7zLUDj/Snf4TeR7rPPQUDQptg4HZiL45JeQ/hlmJwXyQS/upD/weYj EF7eJngkbgpB6z7RyBP2cCAm2POKHS9aDwniVARcPkFEJfON5C6xHB5L0K42x/ftnn+0oF xk6fcLawxBvRHcrW7fnhx0pWGONb0XEYvPiGleVLM6QaFeSNEJCAnmagGU4CnwsyO/AFrl 1tJb6XkggiTAAmOeRcfI6m1+g0BX6UAstKdH41BV6V3/vjKLZ+Gfx7av4tXsUwSpRt6Gft rPA7J+3KNnxPyKnKo1bAvTbltrjipl1dodwGuiWDKIEDWsJjShfKOATY59Y6gQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673501127; a=rsa-sha256; cv=none; b=x18NMWvAovV7cZsI7BafHEw7a5TiaPPXWOGdQOUBduNxieYwkfPXn/1wfzbSMsfJbkQc0j 3d9nUPN7wuYQiCqMzEL6dZZEipj0NOi4uRHB9iUI9Ymw9t/yOgfxQ+4+19RDldof6tg2Y7 3v67sl0uUAW5VzmFu9/vreJlrKfLwgOhE092a+9MEXMfYGbtsXEQk8SY5E2ZkeRl+XcJvZ gCrxliXcL4Uc33TF3AaEJRwhpdj+M/yrMo/FhOw4RSE7Pv7IIp5jEaeZZlP670okXyjo0Y B3SRF9JPab+vy3JvsHNzPWl/T6U/cPfgWQ6ItN62dDYVBx9v1C8VfHd3nzXzIw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NstKz4C7MzGjP; Thu, 12 Jan 2023 05:25:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30C5PR2Q007771; Thu, 12 Jan 2023 05:25:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30C5PRWv007770; Thu, 12 Jan 2023 05:25:27 GMT (envelope-from git) Date: Thu, 12 Jan 2023 05:25:27 GMT Message-Id: <202301120525.30C5PRWv007770@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 99f1575aa19c - main - math/annoy: New port: Approximate Nearest Neighbors in C++ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 99f1575aa19c4f727561c8e8a6f858e8c681958d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=99f1575aa19c4f727561c8e8a6f858e8c681958d commit 99f1575aa19c4f727561c8e8a6f858e8c681958d Author: Yuri Victorovich AuthorDate: 2023-01-12 05:23:33 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-12 05:25:23 +0000 math/annoy: New port: Approximate Nearest Neighbors in C++ --- math/Makefile | 1 + math/annoy/Makefile | 27 +++++++++++++++++++++++++++ math/annoy/distinfo | 3 +++ math/annoy/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/math/Makefile b/math/Makefile index 6e2c159a88df..6392ae0c3cdd 100644 --- a/math/Makefile +++ b/math/Makefile @@ -167,6 +167,7 @@ SUBDIR += amgcl SUBDIR += analitza SUBDIR += ann + SUBDIR += annoy SUBDIR += antic SUBDIR += apache-commons-math SUBDIR += apc diff --git a/math/annoy/Makefile b/math/annoy/Makefile new file mode 100644 index 000000000000..ac0bd0c37e3b --- /dev/null +++ b/math/annoy/Makefile @@ -0,0 +1,27 @@ +PORTNAME= annoy +DISTVERSIONPREFIX= v +DISTVERSION= 1.17.1 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Approximate Nearest Neighbors in C++ +WWW= https://github.com/spotify/annoy + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= spotify + +PLIST_FILES= include/annoy/annoylib.h \ + include/annoy/kissrandom.h \ + include/annoy/mman.h + +NO_ARCH= yes + +do-install: + cd ${WRKSRC}/include && ${COPYTREE_SHARE} annoy ${STAGEDIR}${PREFIX}/include + +.include diff --git a/math/annoy/distinfo b/math/annoy/distinfo new file mode 100644 index 000000000000..7820871881b9 --- /dev/null +++ b/math/annoy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673498821 +SHA256 (spotify-annoy-v1.17.1_GH0.tar.gz) = 4f7a2f2d86d45b432de68dba06667b23d0ce2b03595d64bd5c05f42dc32e7f4b +SIZE (spotify-annoy-v1.17.1_GH0.tar.gz) = 674087 diff --git a/math/annoy/pkg-descr b/math/annoy/pkg-descr new file mode 100644 index 000000000000..8d40cf570d67 --- /dev/null +++ b/math/annoy/pkg-descr @@ -0,0 +1,4 @@ +Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python +bindings to search for points in space that are close to a given query point. +It also creates large read-only file-based data structures that are mmapped +into memory so that many processes may share the same data.