From nobody Sat Jan 25 01:42:37 2025 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 4Yfy9V0tDFz5lkLV; Sat, 25 Jan 2025 01:42:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yfy9T6B39z3Zwd; Sat, 25 Jan 2025 01:42:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737769357; 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=eUG6tyVHbk9ScGOn178O28ha8+XWNc2CLjuiJ7L1NFM=; b=wVtU3TxBQPVUP1jfeSTI9a92lCjScuiG9kWTeO6/VgiNIdwLHU7EUZ6YYqumAFVr3BR1vv +svybnBks0Np1cqOq2jabpxwJLIqXngBqKnc7/rrBHNP2Iw/EV2xB6RyEVSoBW0V4fwGzk x9p7MS4eS/BbfAfLz8QExLvousUNDZtLnaWKPuRkDx/c5dIJhBn7YojUBl8Px/xHhZXckB SPLqCnyQ6WaQNmMFXE8z3AdRDuvtG66WkFZTONLqnRH3fI82f1ERm3uE1+Ka81Srn0DsPx lMoniVj7Y4lyBz5pXqEL0Vo1BLbeu0K2UIFjsemrFsgj/Ywv1jwPljnBXkdSFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737769357; 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=eUG6tyVHbk9ScGOn178O28ha8+XWNc2CLjuiJ7L1NFM=; b=jsRfOXzeywfKgYjReNGDivrpttr7OchjXbQf3Afi/f2t0qbvr/YU6d9ZwuLT1QGK714Ih0 0BsNJyYILKVEBA8sW1hfrTmL7nyJP/xz7GpSkXtf2nI7BKIiEr96uO0KxHq5jetHS1LVX1 5JDOvnfDBcl7bfYZtK5OQkHJqb7hV/SY7UEYB1niC1vvGhiLk+FB+LAt/MJze5NxuJ2V7a luT+ed56/xagfEcZ4zrwxUN+RXXRHLnweTtFKSCvX4SfBgihRqcbu585VuS3jjGac+xsD1 LjiCHewHqzEGJ5/TML2pdFyIHpju8+IEFqPOZwWqwW3sgbmOTKyxAJmldI23Fg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737769357; a=rsa-sha256; cv=none; b=y0eDgvierj7awC7PV4ANIxpBsckQlEMFA5WStv4dGeVNtVCKcmV/qx+Ig99QY4znYRJ5aV 2XABM0fyAoEjKcMqWTcpPCbvF/qvtTneimUtEUZPsl7EuynX+AtQ7AL+FoDKSb4nXHxk3V 6BUjDDUoCb1Kw9b92oWsw5R779hu4+DZq7DhQCcmnN5y2R7UV3UJlji+VjfDi7RfDsEfgl FebmOi2KMITWzJBa0Ct1WXOglZ6+rIKk9KWpkN9PbJFgQUk1KzEKygxCobfN5yoMfO79jA yh8qbzki47dW+6S6bnDbiQp/Z6rDfC7/uyMutxSrvQtRZ1rscfVk3PbtU2ns+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Yfy9T5npgzrRh; Sat, 25 Jan 2025 01:42:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50P1gbBa062935; Sat, 25 Jan 2025 01:42:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50P1gbVt062932; Sat, 25 Jan 2025 01:42:37 GMT (envelope-from git) Date: Sat, 25 Jan 2025 01:42:37 GMT Message-Id: <202501250142.50P1gbVt062932@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: 0813890a4fd6 - main - science/py-icet: New port: Pythonic approach to alloy cluster expansions 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 0813890a4fd637730a0adc0ab1ef0dfbf56fafb9 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0813890a4fd637730a0adc0ab1ef0dfbf56fafb9 commit 0813890a4fd637730a0adc0ab1ef0dfbf56fafb9 Author: Yuri Victorovich AuthorDate: 2025-01-25 01:37:07 +0000 Commit: Yuri Victorovich CommitDate: 2025-01-25 01:42:34 +0000 science/py-icet: New port: Pythonic approach to alloy cluster expansions --- science/Makefile | 1 + science/py-icet/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ science/py-icet/distinfo | 3 +++ science/py-icet/pkg-descr | 7 +++++++ 4 files changed, 51 insertions(+) diff --git a/science/Makefile b/science/Makefile index 922ae5eb1da1..80f95512340d 100644 --- a/science/Makefile +++ b/science/Makefile @@ -352,6 +352,7 @@ SUBDIR += py-h5pyd SUBDIR += py-hiphive SUBDIR += py-hoomd-blue + SUBDIR += py-icet SUBDIR += py-inequality SUBDIR += py-ipygany SUBDIR += py-jupyter_jsmol diff --git a/science/py-icet/Makefile b/science/py-icet/Makefile new file mode 100644 index 000000000000..44a8eb096d13 --- /dev/null +++ b/science/py-icet/Makefile @@ -0,0 +1,40 @@ +PORTNAME= icet +DISTVERSION= 3.0 +CATEGORIES= science # chemistry, physics +#MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pythonic approach to alloy cluster expansions +WWW= https://icet.materialsmodeling.org \ + https://gitlab.com/materials-modeling/icet + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0.23:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}spglib>=1.12.0:science/py-spglib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}trainstation>=1.1:science/py-trainstation@${PY_FLAVOR} + +USES= compiler:c++14-lang python +USE_PYTHON= pep517 autoplist pytest + +USE_GITLAB= yes +GL_ACCOUNT= materials-modeling +GL_TAGNAME= 769b5db248baa5146bdb294e963e061cf2dfd228 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_icet.cpython-311.so + +# tests fail to run, see https://gitlab.com/materials-modeling/icet/-/issues/623 + +.include diff --git a/science/py-icet/distinfo b/science/py-icet/distinfo new file mode 100644 index 000000000000..bcff29135073 --- /dev/null +++ b/science/py-icet/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1737766451 +SHA256 (materials-modeling-icet-769b5db248baa5146bdb294e963e061cf2dfd228_GL0.tar.gz) = bec8c2a34bc8343e7e075460964c997228a1a8fe1a12ba449503c7e80b2b653a +SIZE (materials-modeling-icet-769b5db248baa5146bdb294e963e061cf2dfd228_GL0.tar.gz) = 3928095 diff --git a/science/py-icet/pkg-descr b/science/py-icet/pkg-descr new file mode 100644 index 000000000000..12820a501747 --- /dev/null +++ b/science/py-icet/pkg-descr @@ -0,0 +1,7 @@ +icet is a tool for the construction and sampling of alloy cluster expansions. + +icet is written in Python, which allows easy integration with countless +first-principles codes and analysis tools accessible from Python, and allows +for a simple and intuitive user interface. All computationally demanding parts +are, however, written in C++ providing performance while maintaining +portability.