From nobody Sun Feb 05 15:53:49 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 4P8v7x2JnFz3kSj0; Sun, 5 Feb 2023 15:53:49 +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 4P8v7x1qPdz46ZF; Sun, 5 Feb 2023 15:53:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612429; 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=1v6mW9WfFG6z0WyqSPbHSSWGefwORNXjXJze6M9yrDs=; b=I8idnmgGZiB96S3TTSSrvuIIXNvVVYjcnrJKMNyY6D9ziaJpogDpUmCxRGsnyzgJoKavMj GiJEu9Xk2i6hZowNAXRus/qp+N2lNqkT2E1LCwbMNwSc8mnE9cA1RjpASH8SSi1Brwls2N /+MM9Lt9B6/nNCLWRdy4AuefHy0lX7GYzfGag4Pm2z7ypvBjcHhvwlm6P3wmfYSHpx3PMi 66SUpmBISmhb4zxMbhEbtrpdMCDvxoxzsRKT+OrpX6AkF7myfoKI/mCijqO7R38anoUKr2 QhGpiKkmoxiUnjMzLHXglUAvAJI1fxZXlN23ME78Bu3p1UBT0sq0Z1o+Az9HWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612429; 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=1v6mW9WfFG6z0WyqSPbHSSWGefwORNXjXJze6M9yrDs=; b=wVtItTwBS+dRmKemULpxWVEkQV21ru30ZXCyTLckxDxumy7NGZbo9uDytOvnPyQ5eTrSbL 2hJbTmtOglFe9nd/w/wXY0LW8XAcpCyOV483g8GfmKwjS0lORSiVzmYFnCqGOxOjJHlH22 s5SUroDyeARr4filIbPIQw85ccwmBYYfpHJ5u///4Le3SVITV1URL7T9OIQyiOvxNpRQIB LcyZ7YQf2c0KcWjWOGAoav+pD1AUZGO3bMvOEnTgDDQtqgN6uyJKsnC1vV3i3WTA+5FXpU X1rgOX82nOjGUgDTrbDj35X1GMi2QyayX5hj84MnyBHu8etzqwdI8riclysnKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675612429; a=rsa-sha256; cv=none; b=TzYFXgDxrhoyTYkyjxOacvkrtpYUEQbnQf24QxYlwHzwgMjc7EOpljYvXJ0+lkqfAc+fiQ hKu6YYXZT2oybO2KXwOzyJKX1ILXVutwfb+Iy7UaAaOqEi8kC2n0L4FGQoLMd88bNrnXt5 QqqMjp8eS9tW3r6x06JDiImIOXe9VKNWW1hsp0VCsn7dV+tHVeLb4EUYQk0xsq09VFPCjx 0AqXlRXKv8sxDct+Gw71LM8AuXw9SVj3hj1NQnn12vPnuCIveJTxXa8J1VLoUOKx1+MYto 0OCkka0c+F/DOZmfaJml72PVBCQxLfMSA3px2W1WyHTUurIskQCnIh/xaFyiIg== 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 4P8v7x0sSpz10xv; Sun, 5 Feb 2023 15:53:49 +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 315FrnYr028539; Sun, 5 Feb 2023 15:53:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 315FrnYu028538; Sun, 5 Feb 2023 15:53:49 GMT (envelope-from git) Date: Sun, 5 Feb 2023 15:53:49 GMT Message-Id: <202302051553.315FrnYu028538@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: 8c5d502b2d59 - main - devel/py-sparse: Add py-sparse 0.13.0 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c5d502b2d59d22751ce2f73c6720c2824490767 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c5d502b2d59d22751ce2f73c6720c2824490767 commit 8c5d502b2d59d22751ce2f73c6720c2824490767 Author: Po-Chuan Hsieh AuthorDate: 2023-02-05 15:15:14 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-05 15:47:38 +0000 devel/py-sparse: Add py-sparse 0.13.0 This implements sparse arrays of arbitrary dimension on top of numpy and scipy.sparse. It generalizes the scipy.sparse.coo_matrix and scipy.sparse.dok_matrix layouts, but extends beyond just rows and columns to an arbitrary number of dimensions. Additionally, this project maintains compatibility with the numpy.ndarray interface rather than the numpy.matrix interface used in scipy.sparse These differences make this project useful in certain situations where scipy.sparse matrices are not well suited, but it should not be considered a full replacement. The data structures in pydata/sparse complement and can be used in conjunction with the fast linear algebra routines inside scipy.sparse. A format conversion or copy may be required. --- devel/Makefile | 1 + devel/py-sparse/Makefile | 23 +++++++++++++++++++++++ devel/py-sparse/distinfo | 3 +++ devel/py-sparse/pkg-descr | 13 +++++++++++++ 4 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7ab7ff9a8c54..f8705a60af60 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5417,6 +5417,7 @@ SUBDIR += py-sniffio SUBDIR += py-sortedcontainers SUBDIR += py-sourcemap + SUBDIR += py-sparse SUBDIR += py-speaklater SUBDIR += py-speg SUBDIR += py-spyder-kernels diff --git a/devel/py-sparse/Makefile b/devel/py-sparse/Makefile new file mode 100644 index 000000000000..13118fe94aed --- /dev/null +++ b/devel/py-sparse/Makefile @@ -0,0 +1,23 @@ +PORTNAME= sparse +PORTVERSION= 0.13.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Sparse n-dimensional arrays +WWW= https://github.com/pydata/sparse + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>=0.49:devel/py-numba@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.17,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-sparse/distinfo b/devel/py-sparse/distinfo new file mode 100644 index 000000000000..f3186ff56c13 --- /dev/null +++ b/devel/py-sparse/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1675190915 +SHA256 (sparse-0.13.0.tar.gz) = 685dc994aa770ee1b23f2d5392819c8429f27958771f8dceb2c4fb80210d5915 +SIZE (sparse-0.13.0.tar.gz) = 349320 diff --git a/devel/py-sparse/pkg-descr b/devel/py-sparse/pkg-descr new file mode 100644 index 000000000000..ae3423224579 --- /dev/null +++ b/devel/py-sparse/pkg-descr @@ -0,0 +1,13 @@ +This implements sparse arrays of arbitrary dimension on top of numpy and +scipy.sparse. It generalizes the scipy.sparse.coo_matrix and +scipy.sparse.dok_matrix layouts, but extends beyond just rows and columns to an +arbitrary number of dimensions. + +Additionally, this project maintains compatibility with the numpy.ndarray +interface rather than the numpy.matrix interface used in scipy.sparse + +These differences make this project useful in certain situations where +scipy.sparse matrices are not well suited, but it should not be considered a +full replacement. The data structures in pydata/sparse complement and can be +used in conjunction with the fast linear algebra routines inside scipy.sparse. A +format conversion or copy may be required.