From nobody Mon Aug 21 17:12:57 2023 X-Original-To: dev-commits-ports-main@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 4RTzZK6FTgz4r2qW; Mon, 21 Aug 2023 17:12:57 +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 4RTzZK3SLpz4V6w; Mon, 21 Aug 2023 17:12:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692637977; 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=q1lvfBLeqRpQ7B5cr0byTblt9qFQMYcv5007tCTaJVM=; b=AA0r+s/TgVIAEtzf49Jg9mrBhFAyLFkmgPE67W2trKGzz+S05FVQfKTk9hieQq+/oREogj KUwcVO2XeFwyznM8QpG2to05HKbLDOjGoA7iMFwc4D/xWvH0hB6+YS/56zlRfr9bq5hhpF M2OX/UCK2uDPxTq9EnRmF2Al2twjy5hiMPykzlBaPJ1zuG7T/hzK+/zMSoQWw7vzAxQsbd FjzwOGk+/enqn0fhYAbuA2uireiIVAqUK1Dfkw/6TYWeE7j9dvaSnXCTaefmC+l97XGpHA rxxBARS0SMsMWJiScNqS37QRp2xOrJeiMgjtQ/LjLeB3lIZnXFmkgOaMXOPuZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692637977; 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=q1lvfBLeqRpQ7B5cr0byTblt9qFQMYcv5007tCTaJVM=; b=p33XnGT+wwZ8la10pRikZBYbJEUJferu23HvI1UKSO+Wjm530V3IgofnNXNuAkDPYGN0tD 5VVISS2YRuvRlDd65thyz6QfIFdYawSo7K6O4W0Ky1WCgvicPaW4e9NIvWLlIt94/N6YcA qisgdz+CGk68UqCDp64jDLgd4t0XIjofh+nH8NPjg1sSfRhUEVZzqPsfs3zVHQeHDPUwmj Sdp8wYYdfFTRsMFZHXMJAkmJECRWFLnUUaqsCfQh8gpCFkdjFmf6BhamVHS+jivBVHJPLQ 4MM7mu7fWiw9dzmkg/kxC9rnvFHRjo9lFeOWo3wKDdOxgOW/YpsKtrpyoXLdNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692637977; a=rsa-sha256; cv=none; b=LBUGzGXgpDD3m+wZ0P7biyr8M12DdCr4xbHPXsTei2TAlPE/uCZnMhsoZEE05R+hP2okge 1/MybmMMFClE6ylJzROIHyYNXZb6dVYCYGA0whytNOwz7WQinLCa4U0SqmY5ijaBggil1b djuhpvqk0PNXb6c7++EllRgjIUnhXy3f6R1ZwqwnVPx/aXToX5oOiGfDixEJzFiXknupp1 kU9h8eGjbYx+9pKa1+repuAPMzSFd/Dlx3f6Zsi89xDfoTBRxucRyaAl7HzrnVywfQSb1J 49IztaQZtDQluu8f1AhDe2rMwKKZBNfeoQ8/gOH1rA+jKcUbmwynSZiF6xeelA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RTzZK2TP7zTY6; Mon, 21 Aug 2023 17:12:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37LHCvlc097394; Mon, 21 Aug 2023 17:12:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37LHCvuf097391; Mon, 21 Aug 2023 17:12:57 GMT (envelope-from git) Date: Mon, 21 Aug 2023 17:12:57 GMT Message-Id: <202308211712.37LHCvuf097391@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7b98bdd020b1 - main - devel/py-pykdtree: Add py-pykdtree 1.3.7.post0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7b98bdd020b1fa27dd7273303461332eb3010682 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b98bdd020b1fa27dd7273303461332eb3010682 commit 7b98bdd020b1fa27dd7273303461332eb3010682 Author: Po-Chuan Hsieh AuthorDate: 2023-08-21 16:51:54 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-21 17:01:58 +0000 devel/py-pykdtree: Add py-pykdtree 1.3.7.post0 pykdtree is a kd-tree implementation for fast nearest neighbour search in Python. The aim is to be the fastest implementation around for common use cases (low dimensions and low number of neighbours) for both tree construction and queries. The implementation is based on scipy.spatial.cKDTree and libANN by combining the best features from both and focus on implementation efficiency. The interface is similar to that of scipy.spatial.cKDTree except only Euclidean distance measure is supported. Queries are optionally multithreaded using OpenMP. --- devel/Makefile | 1 + devel/py-pykdtree/Makefile | 23 +++++++++++++++++++++++ devel/py-pykdtree/distinfo | 3 +++ devel/py-pykdtree/pkg-descr | 12 ++++++++++++ 4 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 998961787754..8ed8329ce0d4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5282,6 +5282,7 @@ SUBDIR += py-pyintelowl SUBDIR += py-pyjq SUBDIR += py-pyjsparser + SUBDIR += py-pykdtree SUBDIR += py-pylama SUBDIR += py-pylev SUBDIR += py-pylibsrtp diff --git a/devel/py-pykdtree/Makefile b/devel/py-pykdtree/Makefile new file mode 100644 index 000000000000..152d9fb520d2 --- /dev/null +++ b/devel/py-pykdtree/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pykdtree +PORTVERSION= 1.3.7.post0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast kd-tree implementation with OpenMP-enabled queries +WWW= https://github.com/storpipfugl/pykdtree + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/devel/py-pykdtree/distinfo b/devel/py-pykdtree/distinfo new file mode 100644 index 000000000000..16b8c479e9fc --- /dev/null +++ b/devel/py-pykdtree/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692211615 +SHA256 (pykdtree-1.3.7.post0.tar.gz) = eca1d61d33db621ef8027eb691ae88db9c65d196aba4b2cc90c190cb90bb508e +SIZE (pykdtree-1.3.7.post0.tar.gz) = 84509 diff --git a/devel/py-pykdtree/pkg-descr b/devel/py-pykdtree/pkg-descr new file mode 100644 index 000000000000..aaae7459c719 --- /dev/null +++ b/devel/py-pykdtree/pkg-descr @@ -0,0 +1,12 @@ +pykdtree is a kd-tree implementation for fast nearest neighbour search in +Python. The aim is to be the fastest implementation around for common use cases +(low dimensions and low number of neighbours) for both tree construction and +queries. + +The implementation is based on scipy.spatial.cKDTree and libANN by combining the +best features from both and focus on implementation efficiency. + +The interface is similar to that of scipy.spatial.cKDTree except only Euclidean +distance measure is supported. + +Queries are optionally multithreaded using OpenMP.