From nobody Thu May 04 16:24:51 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 4QBzg8238yz49Gtt; Thu, 4 May 2023 16:24:52 +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 4QBzg81HPyz3r0F; Thu, 4 May 2023 16:24:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683217492; 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=QuRb15ws+pT3QF72YdtpNMdwezkRKFE7FQ6pTofgBDA=; b=eGZF4b7fRYuPHFZ7I8Ox0c7si92xW8XEq6wvX1H+eLo+fi6xctwMe0H/CXlS82+/7sPcMU BhE8TFs5NhoT+DDZu9rREMxyybswIqKrEe+wXzrRcpaY2bJbdYh9TgNbYLk2f934scC6ta 5CCLPZQV9i3Ommctn/D4MCAckQa+5OAZet9KkUdrgPYXEPlmlCXkIa03f/GfUOdtXUznko A73SpPlGB1e7e/0btQfU3oUElQ0wug8xhmn2XuFOF8wiYHdtRQ1VOPr1I6paJZEW9MuXQL WBGQK0PD6cSabr18taqohjq9cq0Q8gT5pkKl4Ah8HJJP3oBz3C+gPZxNe/BN6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683217492; 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=QuRb15ws+pT3QF72YdtpNMdwezkRKFE7FQ6pTofgBDA=; b=LmunxXITTyU7BP/l36WkFM/1ZAkKrss48iz7o0LFoxSvDpDZu3Z7kFjWBZXKiEh1z1fRdh mLyddfKnx3OC1B5pT3kVSFBuoBsYNAWbhoA+rb29IZOqLAWLT2oelKVN0jmA7VVBy89kYV 4qjQsQwecZGBsirgxnsVbPunQWdtL+z3bdPsG7Z7Y0pDJue7uYxOb5HXKuuMqvf+ed0EZS dKX8eqCnClnLlc7Y48u8gGh6RLjzlaBIObBeLZwyrVZNfAnPHvIOyiaA8HxTMxbVmeZgLW kk74Kt2qhUmK8A7OAAyKxqsOU/tfeF8BihFA6VApEwop9DZZuJ8o2bEB1CF3Cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683217492; a=rsa-sha256; cv=none; b=YozB2HHmhc8zE5TFFD52FGtt4zIhNZ5Mf698qZj02KwJpVGJih6RmENQFpCQR0Vrx8OLX7 lRVOKsSiEarwr2Xp1LZA2JRAeTI0/Hj4YAAzfuWbLMGm0Z5wQOA/VC5ymZVpBfLx4FZYrG vDiSgHuRlgUrGn7/R9e898t/ZlkdsAy6/xmNLcxVS6MMsrV/F0gnwG1a945OmU+/KQnJpv ao8Rf2G7Et0sqA63tg3QinVZ7F6hnRH2GjT+WiZuPGBiNe9bNdR1ibN+sBOsYE0LGrpH2I PNLKxrMz9gS+m09AYN9wSsaEsQWMko9Mua34Whn1qE1eMbXXj8OvdRforejYVw== 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 4QBzg80KbRzK88; Thu, 4 May 2023 16:24:52 +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 344GOpNS035792; Thu, 4 May 2023 16:24:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 344GOpTX035791; Thu, 4 May 2023 16:24:51 GMT (envelope-from git) Date: Thu, 4 May 2023 16:24:51 GMT Message-Id: <202305041624.344GOpTX035791@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: f2076251c24f - main - science/py-signac: New port: Manage large and heterogeneous data spaces on the file system 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: f2076251c24f02ff9a2873e79ba9053c875b184e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2076251c24f02ff9a2873e79ba9053c875b184e commit f2076251c24f02ff9a2873e79ba9053c875b184e Author: Yuri Victorovich AuthorDate: 2023-05-04 07:28:54 +0000 Commit: Yuri Victorovich CommitDate: 2023-05-04 16:24:49 +0000 science/py-signac: New port: Manage large and heterogeneous data spaces on the file system --- science/Makefile | 1 + science/py-signac/Makefile | 34 ++++++++++++++++++++++++++++ science/py-signac/distinfo | 3 +++ science/py-signac/files/patch-pyproject.toml | 11 +++++++++ science/py-signac/pkg-descr | 7 ++++++ 5 files changed, 56 insertions(+) diff --git a/science/Makefile b/science/Makefile index b2edac6b6fe5..3aaac77ac1e8 100644 --- a/science/Makefile +++ b/science/Makefile @@ -423,6 +423,7 @@ SUBDIR += py-sdf SUBDIR += py-segregation SUBDIR += py-segyio + SUBDIR += py-signac SUBDIR += py-sklearn-pandas SUBDIR += py-skrebate SUBDIR += py-spaghetti diff --git a/science/py-signac/Makefile b/science/py-signac/Makefile new file mode 100644 index 000000000000..661e8f9a83fd --- /dev/null +++ b/science/py-signac/Makefile @@ -0,0 +1,34 @@ +PORTNAME= signac +DISTVERSIONPREFIX= v +DISTVERSION= 2.0.0 +CATEGORIES= science # physics +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Manage large and heterogeneous data spaces on the file system +WWW= https://signac.io/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}filelock>=3.0:sysutils/py-filelock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=15.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=4.10.0:misc/py-tqdm@${PY_FLAVOR} +PY_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} # optional dependency +BUILD_DEPENDS= ${PY_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zarr>0:devel/py-zarr@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= pep517 autoplist pytest # some tests fail because of https://github.com/zarr-developers/zarr-python/issues/1407 + +USE_GITHUB= yes +GH_ACCOUNT= glotzerlab + +BINARY_ALIAS= python=${PYTHON_CMD} + +NO_ARCH= yes + +.include diff --git a/science/py-signac/distinfo b/science/py-signac/distinfo new file mode 100644 index 000000000000..6fd44728c072 --- /dev/null +++ b/science/py-signac/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1683183097 +SHA256 (glotzerlab-signac-v2.0.0_GH0.tar.gz) = d2a0481a9956464d8211e943cc800721abc59d5e7d66ae108132f6eab176fd38 +SIZE (glotzerlab-signac-v2.0.0_GH0.tar.gz) = 450172 diff --git a/science/py-signac/files/patch-pyproject.toml b/science/py-signac/files/patch-pyproject.toml new file mode 100644 index 000000000000..fb01197bcedc --- /dev/null +++ b/science/py-signac/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-05-04 06:58:21 UTC ++++ pyproject.toml +@@ -3,7 +3,7 @@ + # This software is licensed under the BSD 3-Clause License. + [build-system] + build-backend = "setuptools.build_meta" +-requires = ["setuptools>=64.0.0"] ++requires = ["setuptools>0"] + + [project] + name = "signac" diff --git a/science/py-signac/pkg-descr b/science/py-signac/pkg-descr new file mode 100644 index 000000000000..16d66a6b4020 --- /dev/null +++ b/science/py-signac/pkg-descr @@ -0,0 +1,7 @@ +The signac framework helps users manage and scale file-based workflows, +facilitating data reuse, sharing, and reproducibility. + +It provides a simple and robust data model to create a well-defined indexable +storage layout for data and metadata. This makes it easier to operate on large +data spaces, streamlines post-processing and analysis and makes data +collectively accessible.