From nobody Mon Feb 13 09:10:55 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 4PFdqN2drBz3ppqb; Mon, 13 Feb 2023 09:10:56 +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 4PFdqN0RGxz3L9G; Mon, 13 Feb 2023 09:10:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676279456; 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=dVnoaOowjMIuDfBy7uSY1QG4QhSQM0MPaDXtHg2VCNI=; b=P+G4UenMce61yd1Bvjd4/9d5S/En0KlJN6bWMruInGwJuLdUe6h9AiZjoHWXOVeIAvpddX jBzQFXchq5UbGK8Di20EvI+EzKDZDztDXBXx29TI+DYpKTkD5c5jQik02o41OilVoaPsgN tRFg3/13sm+nOxXrHlRwi4TGa39MqBHvWN5PmVrRfPT3mpTu1S8rYzP3o6XJSedM5t78gS P/2TS2+PGtRsc5YJ46Id9QE9r70IhMkpsqO6JvLjNZ9JM0900tN/S+kfna87HGMjNfV7hn ZGX4G+fbEeBqSTreTp4NkS6JIbZeYV+ZCCfvqVc/1992QYfCwOyg1XdpCz8NxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676279456; 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=dVnoaOowjMIuDfBy7uSY1QG4QhSQM0MPaDXtHg2VCNI=; b=lbe0qrCVRE1Xonsds9MSZnVSF9t3UQx5NloZNNtF/RdLPX1tsHefyISGpu/qRR+noGrJNR cUSFbwg8rs9LyiG4+YEl0hJmfhfWkPgicdEyl1FlwXzTIv7GAO9801yiDT3rCBfkSvnjH+ vLYVaPRYWQc2dAEK3Anj24wkefdjjdznLS8RNTJUpHr1bceWG7KBX3Ar6g18yi22yPCvId 3bT6bxcnxrqn+9py/rTfw2xGqhdvh4f7ptWjI6vcP+mTHUP4/LcH55XaDe+/0bBruFmgA7 NjU8K5W7PZYvgLSWafmT8yi458meLMxVP9kd1WdLBE8Gwc9UQZ/MVCu3tkcj8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676279456; a=rsa-sha256; cv=none; b=qVFNQc25RbCL6/FMbdnb2fNbAxFxlE3x++eJADbxGKRp/tMZ+owU8rFIzFb0dy3i1fMq5D tO4ZmlpD64VNTRpA4uSHecWdJe/oUZydEYljDo8dHzHLvmk8D/Wo4bnXiLt8nFZI6RwC0D tqO6rS1r68snX5VLGmDOsm5zTUUWuJP3bODe8X13tiBB6TGIeq8CT+Us7AkWgvrPI+DZ+a tcvfQoMrZs67iVuVV1a4hZjBjC+TF2O3GwBWhWhlZdDp1Jy9DyD5gcy6eVtk/GwfNkyKBT 9eZUgFMcw7N2GPGr+3PzkcuTi8qLedY3S+rYxaK3yEpJ3WFjgFyGJdUKuZf+eQ== 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 4PFdqM6fxXz1Bsl; Mon, 13 Feb 2023 09:10:55 +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 31D9At3r035745; Mon, 13 Feb 2023 09:10:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31D9AtZE035744; Mon, 13 Feb 2023 09:10:55 GMT (envelope-from git) Date: Mon, 13 Feb 2023 09:10:55 GMT Message-Id: <202302130910.31D9AtZE035744@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: df3fb512fa9c - main - math/py-py-find-1st: New port: Numpy extension module for efficient search in numpy arrays 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: df3fb512fa9ccd21b0fa5129e68c97875bd487ec Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=df3fb512fa9ccd21b0fa5129e68c97875bd487ec commit df3fb512fa9ccd21b0fa5129e68c97875bd487ec Author: Yuri Victorovich AuthorDate: 2023-02-13 09:06:49 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-13 09:10:51 +0000 math/py-py-find-1st: New port: Numpy extension module for efficient search in numpy arrays --- math/Makefile | 1 + math/py-py-find-1st/Makefile | 27 ++++++++++++++++++++++++++ math/py-py-find-1st/distinfo | 3 +++ math/py-py-find-1st/files/patch-pyproject.toml | 7 +++++++ math/py-py-find-1st/pkg-descr | 3 +++ 5 files changed, 41 insertions(+) diff --git a/math/Makefile b/math/Makefile index 570bf14101ef..4c85273b1d0b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -983,6 +983,7 @@ SUBDIR += py-pplpy SUBDIR += py-primecountpy SUBDIR += py-primme + SUBDIR += py-py-find-1st SUBDIR += py-pyFFTW SUBDIR += py-pyaudi SUBDIR += py-pybloom diff --git a/math/py-py-find-1st/Makefile b/math/py-py-find-1st/Makefile new file mode 100644 index 000000000000..85ece5c35c69 --- /dev/null +++ b/math/py-py-find-1st/Makefile @@ -0,0 +1,27 @@ +PORTNAME= py-find-1st +DISTVERSION= 1.1.5 +CATEGORIES= math +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Numpy extension module for efficient search in numpy arrays +WWW= https://github.com/roebel/py_find_1st + +LICENSE= GPLv3 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} + +USES= python:3.6+ +USE_PYTHON= pep517 autoplist pytest # tests are broken, see https://github.com/roebel/py_find_1st/issues/13 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/utils_find_1st/find_1st${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/math/py-py-find-1st/distinfo b/math/py-py-find-1st/distinfo new file mode 100644 index 000000000000..a63d2f99a5f6 --- /dev/null +++ b/math/py-py-find-1st/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1676278342 +SHA256 (py_find_1st-1.1.5.tar.gz) = f99207bc83df361c4cd9c6c2aaf504907ffce7fdd33ae3d3cbf39c68a4f1c1a9 +SIZE (py_find_1st-1.1.5.tar.gz) = 8807 diff --git a/math/py-py-find-1st/files/patch-pyproject.toml b/math/py-py-find-1st/files/patch-pyproject.toml new file mode 100644 index 000000000000..8949cd0b2e61 --- /dev/null +++ b/math/py-py-find-1st/files/patch-pyproject.toml @@ -0,0 +1,7 @@ +--- pyproject.toml.orig 2023-02-13 08:53:21 UTC ++++ pyproject.toml +@@ -1,3 +1,3 @@ + [build-system] + # Minimum requirements for the build system to execute. +-requires = ["setuptools", "oldest-supported-numpy", "wheel"] # PEP 508 specifications. ++requires = ["setuptools", "numpy", "wheel"] # PEP 508 specifications. diff --git a/math/py-py-find-1st/pkg-descr b/math/py-py-find-1st/pkg-descr new file mode 100644 index 000000000000..6f29ac67068f --- /dev/null +++ b/math/py-py-find-1st/pkg-descr @@ -0,0 +1,3 @@ +py_find_1st is a numpy extension that allows to find the first index into an +1D-array that validates a boolean condition that can consist of a comparison +operator and a limit value.