From nobody Fri Jun 23 08:27:14 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 4QnVhz238wz4gfGR; Fri, 23 Jun 2023 08:27:15 +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 4QnVhy5JLwz3rGv; Fri, 23 Jun 2023 08:27:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687508834; 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=aXQrKqcJufuMFEQkSKWHuIJIKDLP8kSmQJnhwzJWKNg=; b=m3aTs+esPmN6y2XYZS3zBgPCRQS/miTkz2lYfMcyyWoKfab6VeE5v+oOxUBt5Z6nXRdNRV uZopF6Me6J8miI2C2svkeqtNvyn10dU36VLF7J5A9Qw0dq90pGyJrKRCfoVbOeoYkUzDkv /3SvhGBiLoBF9E++/2W0nSTyffTWf6ESzWNdt4BD37YVM1dFhrfHWLHX6Qj0BkFY9yRL5E WGnIlLwgzWPmgmJF4s6ZGMGSyiFJg1bcSDfdc36oCvRc00S3vLqLbLgcLkA7swZtN/ZsWY LTLerw/MRu6qlfgfPteUyfaenRqgUrtz7EmoqbW0Tu2C3ppQVIMLM0rlYn4cKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687508834; 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=aXQrKqcJufuMFEQkSKWHuIJIKDLP8kSmQJnhwzJWKNg=; b=VH/5tguB7ZO60kRItwR+XkVtq8Z/iK3ofFB/HyE3/PZYfR4HjFLZjw17hv9pY2KDlNOJOc M1Wf38MqyeXPlgCp9IBIwFHGYV3F1PDRRWakxQtlWWJEuuxZkasF1KfkLed6vW1lI8f8Rp 8U+FMGcTFekhFlJyjyPND0AmJkZtkwUNUpav9/+sbm0gkD8sBAL/XftqEfgHS/HBij4F61 QwCkwMlHp2bYVDAYLKfLl2xJcD23u7mZn3cLYQwem9Y3UlANO3cRTZa+HeK//tCgwr2baX Qu+dWsr/Zmpp0taCN5hs5wv5hDWPu7zU0nLAFNPRxeyTrWvRCBpeoOzW1XVexw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687508834; a=rsa-sha256; cv=none; b=ANIFmOMpg4WeO5m2tX7aMAPFDG/75P2cL1VA1ndV8iJAV3lBtWkqr9himKE3wa7URxI0RU mZSGVXlMgt855TQSbnzSIaI9RR2U63hlUGhixSfAOjVJ9y1hr8dDNa2IxG2BuHgXtsSyIW FbFrkte54uRZoDUglsEJlMAliIX5yuoQ3qq3SUywaKcpLQCgATBAHFYZmaQStR/atsr4Og lKp5JYiDoG5J2J6zoXi0IuJDZENv0IES+3X3Ls6BcUd6IKYroskY+jCkRZEA/qSvcwvQ0a ibB7rirH4ahpkctoB8eJ4WSb/bpxrC5gHd5TafTW5LunART+ypkGNzsFHFep0w== 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 4QnVhy4MGnzxf3; Fri, 23 Jun 2023 08:27:14 +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 35N8REOS078621; Fri, 23 Jun 2023 08:27:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35N8RErT078620; Fri, 23 Jun 2023 08:27:14 GMT (envelope-from git) Date: Fri, 23 Jun 2023 08:27:14 GMT Message-Id: <202306230827.35N8RErT078620@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: 1ac7f193d3e6 - main - math/py-resample: New port: Resampling-based inference in Python 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: 1ac7f193d3e6310af2fea870f6a5caa5fb2e7ebd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ac7f193d3e6310af2fea870f6a5caa5fb2e7ebd commit 1ac7f193d3e6310af2fea870f6a5caa5fb2e7ebd Author: Yuri Victorovich AuthorDate: 2023-06-23 06:10:16 +0000 Commit: Yuri Victorovich CommitDate: 2023-06-23 08:27:08 +0000 math/py-resample: New port: Resampling-based inference in Python --- math/Makefile | 1 + math/py-resample/Makefile | 29 +++++++++++++++++++++++++++++ math/py-resample/distinfo | 3 +++ math/py-resample/pkg-descr | 13 +++++++++++++ 4 files changed, 46 insertions(+) diff --git a/math/Makefile b/math/Makefile index 3155355f9629..2a8a9876fcb0 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1035,6 +1035,7 @@ SUBDIR += py-random2 SUBDIR += py-reals SUBDIR += py-rectangle-packer + SUBDIR += py-resample SUBDIR += py-roman SUBDIR += py-rpy2 SUBDIR += py-rustworkx diff --git a/math/py-resample/Makefile b/math/py-resample/Makefile new file mode 100644 index 000000000000..f2c361465b7d --- /dev/null +++ b/math/py-resample/Makefile @@ -0,0 +1,29 @@ +PORTNAME= resample +PORTVERSION= 1.6.0 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Resampling-based inference in Python +WWW= https://github.com/scikit-hep/resample + +LICENSE= BSD3CLAUSE +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= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= pep517 autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/math/py-resample/distinfo b/math/py-resample/distinfo new file mode 100644 index 000000000000..b1ab33545cdb --- /dev/null +++ b/math/py-resample/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1687500311 +SHA256 (resample-1.6.0.tar.gz) = ff66c9142cae46317fb8b58e7acf59c963721e4f2a1505830cce99b57e78f091 +SIZE (resample-1.6.0.tar.gz) = 388793 diff --git a/math/py-resample/pkg-descr b/math/py-resample/pkg-descr new file mode 100644 index 000000000000..5e3a78f91351 --- /dev/null +++ b/math/py-resample/pkg-descr @@ -0,0 +1,13 @@ +resample is a resampling-based inference in Python based on data resampling and +permutation. + +Features: +* Bootstrap resampling: ordinary or balanced with optional stratification +* Extended bootstrap resampling: also varies sample size +* Parametric resampling: Gaussian, Poisson, gamma, etc.) +* Jackknife estimates of bias and variance of any estimator +* Compute bootstrap confidence intervals (percentile or BCa) for any estimator +* Permutation-based variants of traditional statistical tests (USP test of + independence and others) +* Tools for working with empirical distributions (CDF, quantile, etc.) +* Depends only on numpy and scipy