From nobody Sun Dec 25 01:23:08 2022 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 4Nfjph31LNz1HSd2; Sun, 25 Dec 2022 01:23:08 +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 4Nfjph2bgcz3PGX; Sun, 25 Dec 2022 01:23:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671931388; 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=JjK95/82aKL1BM5c+Cns1ZN+XICvr9znk5gKIGDwOaI=; b=Bs+bosB3zQl4ivLokCDBLROqThZLRHKC761yzu/ytQ6vZxp1Kvnvyq/P3rrMdAvxhpLNk4 XWkxca8rKfJFeAJUSiu1QdyO/fKiKqXH9AoT36bI5KFgIIMCywI8zK1nO1m8ZSHNPwBk8T sCgbVis5r1X5pofwrtkgrOZFwU3WbyA+mt8i6QGykEqoCCJKhRJZvMAb7Rjr7aHqyOHtVF ETc3kttubE3jR6RPuq5NYR93t80SM8U9gq6Eu8+OqLWcx61D97xodi22DrL91cQFGAp6Yf LfTHPuH5cxvAJ8gQpaFf3tN/3eS68JVpVzvo0k2Bbb0ZxaLNIlb4I092YSZygw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671931388; 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=JjK95/82aKL1BM5c+Cns1ZN+XICvr9znk5gKIGDwOaI=; b=bubQ1/HNQtoKPrMGzzVREhXkAFLPm5DHuz98GhO+46dpY0PbRQM3AiyNFoSB7O7ZfZRIeu iD22uQBjZFlHwatqvH5rkSBGXPqYZDmadgLx+f20MncELPIfT2ap9bCl0hsQTTJUGCGKT0 T7NSkZ80tN9zeqkZaB+TcJO95G612YFkMTl75Vos2Xi0xttm853AMPFYBUIW/zZBDxFInw BH2Fk0l3m9iOmqPDRuksrE5McTU5NcMebr+VXs1t/g46MnTnhUv6xx9v5bWPQcfDIqiRSY D+d/9KSx7P9LhU/7+LHO7xC3HmLbmIR+e2ryjlB9AQPxzzQWOaCR7EArUkV5dw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671931388; a=rsa-sha256; cv=none; b=mnFGI7bow/9mrDgGR92VP/zH27oNi5L1lYhb++g/fQGpb+o/ATZNge3qiXSMtOwS5/QvQG twASu2Li/mkrVcU+agDHUmVeA62b7xZm4mcavxXtqM7sY0JhnO0CsjRRMZp5BosZEP6nyo 3zAjxnP+0SBWh24WkhpEuSR1rD/IYdKYJ6XcSy3V84YfV7UKvO8xRfXI/2n1aogGZTiTib o3MbQGR6hu0RplXlvMR1mqIhF3Il7bZHILDHZJXlVYVQgZa+oXRE7IphCOMkTxswjfXges J74Z6eAd/zpkfotkPR6DhbMfuIc3KiVLEYo7JDX0Vjiotbub1DanxKa/eKWEmQ== 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 4Nfjph0tydzZCN; Sun, 25 Dec 2022 01:23:08 +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 2BP1N87v028873; Sun, 25 Dec 2022 01:23:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BP1N80D028872; Sun, 25 Dec 2022 01:23:08 GMT (envelope-from git) Date: Sun, 25 Dec 2022 01:23:08 GMT Message-Id: <202212250123.2BP1N80D028872@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: e39b70298c54 - main - science/py-xbout: New port: Collect data from BOUT++ runs in python using xarray 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: e39b70298c5452ca5eeeea45f444fde55abc0b85 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e39b70298c5452ca5eeeea45f444fde55abc0b85 commit e39b70298c5452ca5eeeea45f444fde55abc0b85 Author: Yuri Victorovich AuthorDate: 2022-12-24 23:56:04 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-25 01:22:57 +0000 science/py-xbout: New port: Collect data from BOUT++ runs in python using xarray --- science/Makefile | 1 + science/py-xbout/Makefile | 33 +++++++++++++++++++++++++++++++++ science/py-xbout/distinfo | 3 +++ science/py-xbout/pkg-descr | 3 +++ 4 files changed, 40 insertions(+) diff --git a/science/Makefile b/science/Makefile index a922e9909dae..f4e3659e3342 100644 --- a/science/Makefile +++ b/science/Makefile @@ -428,6 +428,7 @@ SUBDIR += py-trainstation SUBDIR += py-tweedledum SUBDIR += py-veusz + SUBDIR += py-xbout SUBDIR += pybrain SUBDIR += pynn SUBDIR += q diff --git a/science/py-xbout/Makefile b/science/py-xbout/Makefile new file mode 100644 index 000000000000..155e08adbb72 --- /dev/null +++ b/science/py-xbout/Makefile @@ -0,0 +1,33 @@ +PORTNAME= xbout +DISTVERSION= 0.3.3 +CATEGORIES= science education +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Collect data from BOUT++ runs in python using xarray +WWW= https://github.com/boutproject/xBOUT + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}animatplot>=0.4.2:math/py-animatplot@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}boutdata>0:science/py-boutdata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dask>=2.10.0:devel/py-dask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gelidum>=0.5.3:devel/py-gelidum@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.1.1:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}natsort>=5.5.0:devel/py-natsort@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.4.0:science/py-netCDF4@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=6.1.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xarray>0:devel/py-xarray@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \ + ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.8+ +USE_PYTHON= autoplist distutils pytest + +NO_ARCH= yes + +.include diff --git a/science/py-xbout/distinfo b/science/py-xbout/distinfo new file mode 100644 index 000000000000..803e22ec2918 --- /dev/null +++ b/science/py-xbout/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1671859649 +SHA256 (xbout-0.3.3.tar.gz) = e83473d157c251e9a726ff6371b50318f7043b7ce059581f0081f668aa27a506 +SIZE (xbout-0.3.3.tar.gz) = 4790987 diff --git a/science/py-xbout/pkg-descr b/science/py-xbout/pkg-descr new file mode 100644 index 000000000000..b97a73e7eb3a --- /dev/null +++ b/science/py-xbout/pkg-descr @@ -0,0 +1,3 @@ +xBOUT provides an interface for collecting the output data from a BOUT++ +simulation into an xarray dataset in an efficient and scalable way, as well +as accessor methods for common BOUT++ analysis and plotting tasks.