From nobody Mon Jan 09 09:58: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 4Nr8Xx5h7Kz2pM9S; Mon, 9 Jan 2023 09:58: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 4Nr8Xx5FPgz3JNt; Mon, 9 Jan 2023 09:58:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673258337; 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=YLvX1laGPeFl0lcjbaD8Oi8SfWvzlqUG0Bn3WLWhRhE=; b=R9XKmkp1RqALv2X8xZu1UoWMxGkJiW5Tp2Stsl7eQG8cDkQ4W5G2PcvphHyLBIJgTOudh4 ssJ5fjKppmGo6+ZF2g81yf3JY9kYFkLxPRaTm2MQO0uFM/nIANyiBwtzZ9hNqsUR0ANrE5 kVgR7TFKbDJTPqOMwd1rqmjUuNUnkb3bnrIBBdv+l+u+znmXkkWtQXfbcb53kzMwRfoHR2 qxXU+TMwKrRI8q6rmWw2jpHynf68LINZxIWSSNwExXuhGvgFQCivqfpJDDUWGWmnQoXFkV ix0vGhWGsZgvzeD2OhjBLgG9aVEJlnnNP9mhXju9ugn1DkXXYhs0JjQrVDuOsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673258337; 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=YLvX1laGPeFl0lcjbaD8Oi8SfWvzlqUG0Bn3WLWhRhE=; b=DXiNihxCsWA2CYLO193bmmBqG1/bOh2qCuJNc8zZYgbgGOyrpydilUExnaN+K7Gj3TF5KP acdQLynurYBQeFST+zLbJ7jn43Y4iewL7RDAOdW9Pt+5hM1vkrCyrsxm6wGdBDZex0JUJ7 EWg745tvEi7n08hy/KWsIGxV0WWEiU7Rr//iBEijulVQQ3yS8EuoA6PP6gZ7pb+u2EjkM1 FEhiVLjwK3+8ew8UjhxErRo9Hcv86UCmZfUyRJNUwODEID+luyJLv2Ji4E3rcJHyg41+BR 0ehZWQZN1NmySHte7myZZ8gn523H7Tz3QGQmwSGehRnZGtd1SfOlgIsTTOFQ4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673258337; a=rsa-sha256; cv=none; b=V3gMx38jb0EkD0BZsaBMB7RpVilNpxWXKouMGVDvsEX+iSeV8goKXKGW+2oKuFmLieIaVI qJNcPshxlIdnOrNGOhw/SCFm9XhsGe7YnjhLOXZH1eajNq1EesTWt3HZuE14ytygPo/Nzl 3Wr9IE4jkkDWHOWm3kQGjiZyYuH9QlgVJMTGdh2Gijn8bjHnU3wri3uc6FWN0an8SKsFom KiMEFZBkSVii89KRTMmlu8vnLG/DWl2RcAgUH+XfRH7+PghyMKAHT0k4JrUdXA261yFndh 26vtnwiPQ63PRm2vvAHbOtEqjQ0RkatXsmjyF3uQn6ilaCD+BGSXBTvlH0Jf0w== 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 4Nr8Xx4JslzPDN; Mon, 9 Jan 2023 09:58:57 +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 3099wv89094389; Mon, 9 Jan 2023 09:58:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3099wvKL094388; Mon, 9 Jan 2023 09:58:57 GMT (envelope-from git) Date: Mon, 9 Jan 2023 09:58:57 GMT Message-Id: <202301090958.3099wvKL094388@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: 22434297bdc7 - main - misc/py-numcodecs: New port: Package providing buffer compression and transformation codecs for use 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: 22434297bdc76a793b0ab34cc2aae6b4adfa3d14 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=22434297bdc76a793b0ab34cc2aae6b4adfa3d14 commit 22434297bdc76a793b0ab34cc2aae6b4adfa3d14 Author: Yuri Victorovich AuthorDate: 2023-01-09 08:49:06 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-09 09:58:53 +0000 misc/py-numcodecs: New port: Package providing buffer compression and transformation codecs for use --- misc/Makefile | 1 + misc/py-numcodecs/Makefile | 29 +++++++++++++++++++++++++++++ misc/py-numcodecs/distinfo | 3 +++ misc/py-numcodecs/pkg-descr | 2 ++ 4 files changed, 35 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index f9e2f2b6beed..61e7aa3de93f 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -413,6 +413,7 @@ SUBDIR += py-mffpy SUBDIR += py-molequeue SUBDIR += py-mxnet + SUBDIR += py-numcodecs SUBDIR += py-onnx SUBDIR += py-onnx-tf SUBDIR += py-openpaperwork-core diff --git a/misc/py-numcodecs/Makefile b/misc/py-numcodecs/Makefile new file mode 100644 index 000000000000..53c02a5c73d2 --- /dev/null +++ b/misc/py-numcodecs/Makefile @@ -0,0 +1,29 @@ +PORTNAME= numcodecs +DISTVERSION= 0.11.0 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Package providing buffer compression and transformation codecs for use +WWW= https://numcodecs.readthedocs.io/en/stable/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>0:sysutils/py-py-cpuinfo@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR} \ + ${PYNUMPY} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}zfp>0:devel/py-zfp@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= distutils cython autoplist pytest # tests fail to find the library in the staged directory for some reason + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/numcodecs/tests + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/numcodecs/*${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/misc/py-numcodecs/distinfo b/misc/py-numcodecs/distinfo new file mode 100644 index 000000000000..745c6b1e06a1 --- /dev/null +++ b/misc/py-numcodecs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673239168 +SHA256 (numcodecs-0.11.0.tar.gz) = 6c058b321de84a1729299b0eae4d652b2e48ea1ca7f9df0da65cb13470e635eb +SIZE (numcodecs-0.11.0.tar.gz) = 4512454 diff --git a/misc/py-numcodecs/pkg-descr b/misc/py-numcodecs/pkg-descr new file mode 100644 index 000000000000..0b3387874f0c --- /dev/null +++ b/misc/py-numcodecs/pkg-descr @@ -0,0 +1,2 @@ +Numcodecs is a Python package providing buffer compression and transformation +codecs for use in data storage and communication applications.