From nobody Mon Jul 03 17:48:49 2023 X-Original-To: dev-commits-ports-all@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 4QvthK2vlYz4lTfd; Mon, 3 Jul 2023 17:48:49 +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 4QvthK2T7jz3RGy; Mon, 3 Jul 2023 17:48:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688406529; 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=aYUn5Ib/7NJYRYw8KM4h2x5Hydu95vZTr0m2e4/2uDM=; b=Xd/hS3ZWnUEw90TLqhKi2pMgGQbo+WUpzqan5B4HvAlzCd6DQOtiTIIc9F8QEN7aiMnX7t zjKkvM1sbo/NYygHzZX4uhaThufMkidz62PnJpi3uQUNbFuFQvbB1JOdee+0y1WB9PCbIe /ab/nw4vfgdLkJNIlAXfJzPvGyj6jBGUN42I+8+BnxRkMOqbmbCpEKPg1spYftrK+NcXbO tqUOqeTVfhQYeK7eM99FjQmZYy1P5xuGlx+RT1U/Xz7GjKIFdo6fXSXfUkKT+1TiiuPlKa 2VnWjUApjTUbSsC52RNpd9gJoLEphVlipEHJ7NMpp98ILXvdLq4dc12R2sy/UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688406529; 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=aYUn5Ib/7NJYRYw8KM4h2x5Hydu95vZTr0m2e4/2uDM=; b=X2WUc2NJP/tSnvdMqKGsny41N7BB17jzuXBz/lUIhgfv9dMw+QI4b+CB98YxHbdIlGdTzw c0HqpQ7ersZAG8YRh33fr28J2nRfcnOC4oXbkTANK1Z4/gNwu2dAf7gPl93nEhiVCnYVHb uw6uJyHTRYwDsSg2DaSgetrhRBiww4B/NiQRh8HDunHmkIiXre5lxmOiVSX3dIalIoiyLC gEtaab0tXks0nC8MbRw51Tl/gTFPcq+/GDqBsFRFlNHU/UDcV3mTXR3x9uwNPa/6vVcuTl PYE/0bFDGKv/HI6mauCy7hBUut8PxtarARrmzND9JHcZ6ODB2/NojnVBqIuH/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688406529; a=rsa-sha256; cv=none; b=gyMzLwuU3tU1SQhz4LXgmD0+4qZ3HpuRf1S2nkPMDeoNFo48+10JNP5UIMirONFYvK7oJi 3cpRkhjy0D6budxk4f88Z3AHhoQSRLume+EAcNcLbAZ20dgSvahcWIv+CaslcLohXMQwYD j/1B0H+Fi63eyefxsiMxtjR8z1JsIy4TDuxGYlpbsBkFvT6/cs5+ldHG3qXLrBYNBjPbrV 3bfMZYvkWiyCuB2unxjM4gxNSvIyUCT7J/VyADTWnU9yV0QL+amnvi6CKFfWLYKYY/snMr NEp0dYn4iCm6twgIlsvVwW+GgWl17KHIV6KXYWkXHmVwfO67FMvYLrkwG07fdg== 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 4QvthK15q3z10W1; Mon, 3 Jul 2023 17:48:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 363Hmnxp066126; Mon, 3 Jul 2023 17:48:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 363HmnrR066125; Mon, 3 Jul 2023 17:48:49 GMT (envelope-from git) Date: Mon, 3 Jul 2023 17:48:49 GMT Message-Id: <202307031748.363HmnrR066125@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: cf910b495acb - main - science/py-mp-api: New port: API for server for the Materials Project List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: cf910b495acbb4955ad288d355931506bba6c09d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf910b495acbb4955ad288d355931506bba6c09d commit cf910b495acbb4955ad288d355931506bba6c09d Author: Yuri Victorovich AuthorDate: 2023-07-03 17:47:28 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-03 17:48:45 +0000 science/py-mp-api: New port: API for server for the Materials Project --- science/Makefile | 1 + science/py-mp-api/Makefile | 32 ++++++++++++++++++++++++++++++++ science/py-mp-api/distinfo | 3 +++ science/py-mp-api/pkg-descr | 2 ++ 4 files changed, 38 insertions(+) diff --git a/science/Makefile b/science/Makefile index 098f547302de..0b1016789ed0 100644 --- a/science/Makefile +++ b/science/Makefile @@ -363,6 +363,7 @@ SUBDIR += py-mmtf-python SUBDIR += py-molmod SUBDIR += py-moltemplate + SUBDIR += py-mp-api SUBDIR += py-mpcontribs-client SUBDIR += py-mrchem SUBDIR += py-netCDF4 diff --git a/science/py-mp-api/Makefile b/science/py-mp-api/Makefile new file mode 100644 index 000000000000..cdebe156120e --- /dev/null +++ b/science/py-mp-api/Makefile @@ -0,0 +1,32 @@ +PORTNAME= mp-api +DISTVERSION= 0.33.3 +CATEGORIES= science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= API for server for the Materials Project +WWW= https://materialsproject.github.io/api/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=0:www/py-boto3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}custodian>0:devel/py-custodian@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}emmet-core>=0.39.8:science/py-emmet-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}monty>=2022.3.12:devel/py-monty@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mpcontribs-client>=5.0.10:science/py-mpcontribs-client@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic>=1.8.2:devel/py-pydantic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymatgen-analysis-alloys>=0.0.3:science/py-pymatgen-analysis-alloys@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymatgen>=2022.3.7:science/py-pymatgen@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.27.1:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.1:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python pytest +USE_PYTHON= pep517 autoplist pytest + +.include diff --git a/science/py-mp-api/distinfo b/science/py-mp-api/distinfo new file mode 100644 index 000000000000..5001528a8603 --- /dev/null +++ b/science/py-mp-api/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688271696 +SHA256 (mp-api-0.33.3.tar.gz) = 652d9ae791165fea94a20fd9335e0c1c89db8e071f85e9e7d78cf064a274ff08 +SIZE (mp-api-0.33.3.tar.gz) = 692342 diff --git a/science/py-mp-api/pkg-descr b/science/py-mp-api/pkg-descr new file mode 100644 index 000000000000..31d9de38a9a5 --- /dev/null +++ b/science/py-mp-api/pkg-descr @@ -0,0 +1,2 @@ +mp-api contains the core client implementation for the updated +Materials Project API.