From nobody Fri Jun 23 08:27:15 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 4QnVj06QNVz4gfCn; Fri, 23 Jun 2023 08:27:16 +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 4QnVj05JhYz3r5y; Fri, 23 Jun 2023 08:27:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687508836; 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=/MFu+dUnm+rtmnZwqMbqOmyBueTkNuTrtOvEjHpZnLw=; b=D03AhoAWHLN2jzSLUnopOq2iVPj+Rm+PoVGCNK8B3ecv9t2QwT67dKNtaFanAycsO1iDVB 0oTwFzqE0I4XuXkjlDb0POBPnVscKpuGf9H5of8rwocd4NyJDifbQJq4cRRE2tHvQoZA7m LHqmygnTLYv9fcx/0+cajIArebekY7rnIbbydggz8IeF5ws0+E9QT6j0lvz2AEP81qnq5X hsXt7o2Sim2K3zfi3HyfqzC1EQTYXWKvZI0pNmDOJJrluiaF/5wsJzJE1yN8nYe/s+6yA8 zvwjvcjmraOnPTwrRbzLz6b0R+9o5CDkXAZGwFC+a1kHW3t1LknrT85Xqr+/7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687508836; 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=/MFu+dUnm+rtmnZwqMbqOmyBueTkNuTrtOvEjHpZnLw=; b=udoYvI1w8GpJMy6oB84qOGSdeBMRuNjGF1cHhljtvCk1KYukl7g23myoBZgig+HEau2WpD ExUrNVgUyCvxYIIarddEN+FJSlOuRuShJ+CZ2JsAg0z2yVtupxoqg6AaMC/swGw8bpDWKg K8/xOPaAND0OBQxSS4WCSxcDNhkWDu43sIkMxFfBW6y5KSly68MnOrSy5JGkUa+fWk6nto 9Z98tURT6j6r4dplNdzSe9vWL2G39DGodrEbRr8TwPTRgeeRFM8L+PaTzgZEFutw91JBni FE9o3JP06GTkOcfjp/vThJD61Ty2+fix4O9K62Gn41yCFtRgYdIjT3tzg8FxYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687508836; a=rsa-sha256; cv=none; b=Pa9bHBA29n7sEBmMCxOBCnJztp73VO2MeXmO+jpcCY2sA8DIfQquacGQZVqFzvTL8A/ey4 A9ZILZvVBQWbV3g4tyfQFHrzcKBm8B9sTx2tE+YA7N0amugoCBV6+Jdy7GfH4XWTz9kuKv r4CZUVAWpJJlZn8d1ZQ7fLWweZ4jevre2RGApLf86dzMzchABmobC4v6fDaTkvgqN/Voj9 gKOG1oMng30qjN3VRV/MRb/ytIuTwXMV2T8lgcFjLX9syDPYoylKKDDa32TEl3zRsKUgrQ ZGlFWBvzpC1eU5gvYoJIm8Dcucf8b8inAvKnvHOpDu9aU6KZ4CBBb94lGvZAhw== 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 4QnVj03QJqzxql; Fri, 23 Jun 2023 08:27:16 +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 35N8RFYj078640; Fri, 23 Jun 2023 08:27:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35N8RFoa078639; Fri, 23 Jun 2023 08:27:15 GMT (envelope-from git) Date: Fri, 23 Jun 2023 08:27:15 GMT Message-Id: <202306230827.35N8RFoa078639@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: 2cbb7350d4b7 - main - math/py-numba-stats: New port: Numba-accelerated implementations of common probability distributions 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: 2cbb7350d4b764469ad42d25861349fb98726493 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2cbb7350d4b764469ad42d25861349fb98726493 commit 2cbb7350d4b764469ad42d25861349fb98726493 Author: Yuri Victorovich AuthorDate: 2023-06-23 06:37:19 +0000 Commit: Yuri Victorovich CommitDate: 2023-06-23 08:27:08 +0000 math/py-numba-stats: New port: Numba-accelerated implementations of common probability distributions --- math/Makefile | 1 + math/py-numba-stats/Makefile | 28 ++++++++++++++++++++++++++++ math/py-numba-stats/distinfo | 3 +++ math/py-numba-stats/pkg-descr | 16 ++++++++++++++++ 4 files changed, 48 insertions(+) diff --git a/math/Makefile b/math/Makefile index 2a8a9876fcb0..b3164d9ea4a9 100644 --- a/math/Makefile +++ b/math/Makefile @@ -978,6 +978,7 @@ SUBDIR += py-networkx SUBDIR += py-nevergrad SUBDIR += py-nlopt + SUBDIR += py-numba-stats SUBDIR += py-numdifftools SUBDIR += py-numexpr SUBDIR += py-numpoly diff --git a/math/py-numba-stats/Makefile b/math/py-numba-stats/Makefile new file mode 100644 index 000000000000..90b37d9c162b --- /dev/null +++ b/math/py-numba-stats/Makefile @@ -0,0 +1,28 @@ +PORTNAME= numba-stats +PORTVERSION= 1.2.0 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Numba-accelerated implementations of common probability distributions +WWW= https://github.com/HDembinski/numba-stats + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # several tests fail, see https://github.com/HDembinski/numba-stats/issues/74 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +BINARY_ALIAS= python=${PYTHON_CMD} # for tests + +.include diff --git a/math/py-numba-stats/distinfo b/math/py-numba-stats/distinfo new file mode 100644 index 000000000000..59e373cdebbd --- /dev/null +++ b/math/py-numba-stats/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1687500930 +SHA256 (numba-stats-1.2.0.tar.gz) = 0a335f943121dce707ce827098d3062d28b98cc4e4d8cb1f7fe29f76a26f0431 +SIZE (numba-stats-1.2.0.tar.gz) = 207230 diff --git a/math/py-numba-stats/pkg-descr b/math/py-numba-stats/pkg-descr new file mode 100644 index 000000000000..b8a018955d5e --- /dev/null +++ b/math/py-numba-stats/pkg-descr @@ -0,0 +1,16 @@ +numba-stats provides numba-accelerated implementations of statistical functions +for common probability distributions. + +* Uniform +* (Truncated) Normal +* Log-normal +* Poisson +* (Truncated) Exponential +* Student's t +* Voigtian +* Crystal Ball +* Generalised double-sided Crystal Ball +* Tsallis-Hagedorn, a model for the minimum bias pT distribution +* Q-Gaussian +* Bernstein density +* Cruijff density