From nobody Sun Jul 17 06:28:17 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 4LlwC60M9Sz4TMYc; Sun, 17 Jul 2022 06:28:18 +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 4LlwC573Sgz40dw; Sun, 17 Jul 2022 06:28:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658039298; 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=2v3nxmtSsBMeizbOurvBoPDsjU3q4lShkm36Or2W3bQ=; b=IpOC9LdtjYeh22w6GsvZx0FZLKVQpYGUyHP7QaaK6l0J1Ru+Prze9V2x9/mkJw8FsYLGep sKRHh2mJho35TydzFxxpU56oc/in6B7TI2Fai2mh9sgj3ENUONw9+sJpRho2Z6nrtrd1aK tDyIRa9xnF1A+DTbJPJfg28NzWnLxXmXdbf2xi65CueTqsnIjXtv0fTyEA8kypgI4GGyW+ cGeQ3iROpm7NirPJtiaCc43noKfPn3toEtRtwOb0TtIEItBqD4bXhbFJvDwNMY0H6pjtOT StSWjXf6eCgJjrOSrIL7rtXi9PzE2p6GowaYmeiwcuPwmiXGfNsQ2qmUAVzi0A== 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 4LlwC569YczqQd; Sun, 17 Jul 2022 06:28:17 +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 26H6SHEk009862; Sun, 17 Jul 2022 06:28:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26H6SHoC009861; Sun, 17 Jul 2022 06:28:17 GMT (envelope-from git) Date: Sun, 17 Jul 2022 06:28:17 GMT Message-Id: <202207170628.26H6SHoC009861@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: f3cca0975cd1 - main - science/py-kpLib: New port: Library for finding optimal Generalized Monkhorst-Pack k-points grid 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: f3cca0975cd1ad2b1c64a5ccc53ea0558f3d7e36 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658039298; 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=2v3nxmtSsBMeizbOurvBoPDsjU3q4lShkm36Or2W3bQ=; b=Arb8fZj1ufBvev7q6J21c9p6UGYv0WccLTm6Q4hkEcJMbAjQug35yr7f6USZvtUD4mOxNO JOVzv5b53i6XG7P0CdBj+quxXtYcn8KKa4oSkmA7p1eXXPljU6fOTqTqZMJFYwTI+MU+gE IJ9Lk032zrgw5tKLRRbvL39/B0k2LOkDloJ34+wzi4tUIi0bPHSHXxzKdXVxRMa7Pq5zw9 9iLCTW5ls97IpB0Hxp61uXmuxTT1N4TRV/WthWSuk8gbrBTn/UhBjDTpargxzKkrK+GfRq wHziNVffqaKLP2hmhtAj23rjHPso1wbXyTJGBXEn8v3dhI2dKMpkxXqry3iXrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658039298; a=rsa-sha256; cv=none; b=TIwPSG0lHixMZKuQ119uiVsr19bFymlavyoZzhLjQTYuaKwZtb6kvru6+BivItJ1AmHaeN Q8okN6+W7fizPmC/cshYLO7H9uNmgqPO9q/vOtd5sDac8OGpCLkJnhlbmx7apjq++Jr2hJ PTjYg30wXuRsSoWiRCAyDswJoITzSwq7zgoaxWBldhKEoLpKVUAsmFsoc6sjnYuRabq+qp WClLKIu7cZlaHDtjwYssf6Mqh2tXIlhwxALvdt+wN23BPbF3ZMvs5/tIYIAk1A0JR21gmK IFY8wBh3vAxG3u+my4u8rXcv9MlULr0LCK9HPkHfhPavVWr0WNFpx/oZl3GgaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3cca0975cd1ad2b1c64a5ccc53ea0558f3d7e36 commit f3cca0975cd1ad2b1c64a5ccc53ea0558f3d7e36 Author: Yuri Victorovich AuthorDate: 2022-07-17 06:26:40 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-17 06:28:14 +0000 science/py-kpLib: New port: Library for finding optimal Generalized Monkhorst-Pack k-points grid --- science/Makefile | 1 + science/py-kpLib/Makefile | 25 +++++++++++++++++++++++++ science/py-kpLib/distinfo | 3 +++ science/py-kpLib/pkg-descr | 7 +++++++ 4 files changed, 36 insertions(+) diff --git a/science/Makefile b/science/Makefile index cdf4776d6074..648f773a9878 100644 --- a/science/Makefile +++ b/science/Makefile @@ -297,6 +297,7 @@ SUBDIR += py-kim-query SUBDIR += py-kinematics SUBDIR += py-kliff + SUBDIR += py-kpLib SUBDIR += py-liac-arff SUBDIR += py-libgetar SUBDIR += py-libpysal diff --git a/science/py-kpLib/Makefile b/science/py-kpLib/Makefile new file mode 100644 index 000000000000..d3886189c513 --- /dev/null +++ b/science/py-kpLib/Makefile @@ -0,0 +1,25 @@ +PORTNAME= kpLib +DISTVERSION= 1.0.5 +CATEGORIES= science python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for finding optimal Generalized Monkhorst-Pack k-points grid + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= pybind11>0:devel/pybind11 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7.1.2:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymatgen>=2021.3.9:science/py-pymatgen@${PY_FLAVOR} + +USES= compiler:c++17-lang localbase python +USE_LDCONFIG= yes + +USE_PYTHON= distutils concurrent autoplist + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/kpLib/lib${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/science/py-kpLib/distinfo b/science/py-kpLib/distinfo new file mode 100644 index 000000000000..c75252a29ea9 --- /dev/null +++ b/science/py-kpLib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1658037887 +SHA256 (kpLib-1.0.5.tar.gz) = f71561a397ae780e84384ea78a7951cd2b96a843676467c671705d22809d4beb +SIZE (kpLib-1.0.5.tar.gz) = 35075 diff --git a/science/py-kpLib/pkg-descr b/science/py-kpLib/pkg-descr new file mode 100644 index 000000000000..85bac397b280 --- /dev/null +++ b/science/py-kpLib/pkg-descr @@ -0,0 +1,7 @@ +KpLib is a C++ library for finding the optimal Generalized +Monkhorst-Pack k-points grid. It can be imported into +electronic-structure packages as a generator of efficient +generalized k-point grids, or be integrated into user scripts through +the python interface. + +WWW: https://gitlab.com/muellergroup/kplib