From nobody Mon Jul 03 05:49:54 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 4QvZkq13Y0z4lSjp; Mon, 3 Jul 2023 05:49:55 +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 4QvZkq0QMjz4ZSN; Mon, 3 Jul 2023 05:49:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688363395; 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=z0dGJlhAGy0Pzi2O0W6ydqZP7OTS5GnVg2S5FzcmE1M=; b=CbFel3xTBnLIA2vk5A7G9e/XEsanU8XuCRE/BOInV2Fve9Ps3pU2sNKTG+e+SU2wQuKl+J JkbuhSIPd2tdT6A71XN4BXWB39NVvWdUUgupyNEvV5oE9Esrn6U1xlQYftnoj4dfN4C7lb Qig/TbO1OUrlS0HNYCg9psZ0tjhGyzLGvEhqWu5ZdEujvhQMOeOdvlPFjUQ7xD852WNyP8 SyMwezdmSjs9YxA+O6tETvbfzVtpAwHNVnhGBP6fprTjoZVTJT+LBqJ3b56P3ftCPZpujj wUA5uMGkRrztGPg2fFvC+iz4OOrElVxQb3/P8B3VEd81JA+e8/YHWcvmfISJig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688363395; 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=z0dGJlhAGy0Pzi2O0W6ydqZP7OTS5GnVg2S5FzcmE1M=; b=dnM3x4EmgxgD6U7b+p79i4ViPLFVevgwPXoYdZDKpXpXAbkKBLkPIOxQ6NpBq9Q6ABFgel Pr7cIgxbuY84PTtKYTpLgw2JfwaHtc/njnExjy/bXEMVRGLPqhKXO7kcmpeUhnSSV6SyEm /ehI7+ZxQb18YATfs3mSqPSLIpZyNvPp0EPWWA8BINYoORI1L2RRxsch6NVxCJmhHzi1kF hmPBSO41/21HmYpChKHaDZiTJTNn5TAlQRJ32iV2ti7R+yOiPjDYPx/s35XihAl5v6AxWh htt2HYrMnsVEWKVHLqBPBBbAudVyztFqFE+fpfFUPt0S12Jcs+8NjGG6pL/4FA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688363395; a=rsa-sha256; cv=none; b=kXERMp71f7auWEKTDLoSnWZsKU+FUSn1pyK6AyuyQzehKsafl4iXazmoQuvdRvRR0E/TtF 1bgqOv2wtuymfN2sUtfiJz3CujZCuvFrKZ4ZCYTua+Su9rHO9vhY2mrFJN6m0EdtO557cY Bl1QDxDFSS3nivzh32zJgIXKAt7biXU/PTkf85VYAmp1983Yedh9B0cRCMIu2jpI9DMSn9 hqtuOY/Bf113xbdgWeN5ALPRO//qySy1ozCoVff/ZjIE8mGL6ANiEGUM3FE4O+gVV6Q5FQ 0ETepWsrjVSZscm0MAfnODKN9RPuuN9pE5H9MpZJsqn6607yLtLxC1uWzbEW5A== 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 4QvZkp6cHRzdm8; Mon, 3 Jul 2023 05:49:54 +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 3635nstl076496; Mon, 3 Jul 2023 05:49:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3635ns9P076495; Mon, 3 Jul 2023 05:49:54 GMT (envelope-from git) Date: Mon, 3 Jul 2023 05:49:54 GMT Message-Id: <202307030549.3635ns9P076495@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: baef140479ca - main - science/py-mpcontribs-client: New port: Client library for MPContribs API on contribs-api.materialsproject.org 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: baef140479cadf7b2900f1200b3e69a69ce4308b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=baef140479cadf7b2900f1200b3e69a69ce4308b commit baef140479cadf7b2900f1200b3e69a69ce4308b Author: Yuri Victorovich AuthorDate: 2023-07-03 05:49:19 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-03 05:49:50 +0000 science/py-mpcontribs-client: New port: Client library for MPContribs API on contribs-api.materialsproject.org --- science/Makefile | 1 + science/py-mpcontribs-client/Makefile | 41 ++++++++++++++++++++++++++++++++++ science/py-mpcontribs-client/distinfo | 3 +++ science/py-mpcontribs-client/pkg-descr | 2 ++ 4 files changed, 47 insertions(+) diff --git a/science/Makefile b/science/Makefile index 61b237d4bc7f..4400460c89cd 100644 --- a/science/Makefile +++ b/science/Makefile @@ -362,6 +362,7 @@ SUBDIR += py-mmtf-python SUBDIR += py-molmod SUBDIR += py-moltemplate + SUBDIR += py-mpcontribs-client SUBDIR += py-mrchem SUBDIR += py-netCDF4 SUBDIR += py-netcdf-flattener diff --git a/science/py-mpcontribs-client/Makefile b/science/py-mpcontribs-client/Makefile new file mode 100644 index 000000000000..e237acebc6e2 --- /dev/null +++ b/science/py-mpcontribs-client/Makefile @@ -0,0 +1,41 @@ +PORTNAME= mpcontribs-client +DISTVERSION= 5.4.1 +CATEGORIES= science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Client library for MPContribs API on contribs-api.materialsproject.org +WWW= https://github.com/materialsproject/MPContribs/tree/master/mpcontribs-client + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boltons>0:devel/py-boltons@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bravado>0:www/py-bravado@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}filetype>0:devel/py-filetype@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flatten-dict>0:devel/py-flatten-dict@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}html2json>0:textproc/py-html2json@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pint>=0.20:devel/py-pint@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}plotly>0:graphics/py-plotly@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyisemail>0:mail/py-pyisemail@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymatgen>0:science/py-pymatgen@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-futures>0:www/py-requests-futures@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semantic-version>0:devel/py-semantic-version@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>0:devel/py-swagger-spec-validator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ujson>0:devel/py-ujson@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist pytest # tests fail due to a missing package mpcontribs.api, see https://github.com/materialsproject/MPContribs/issues/1590 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/science/py-mpcontribs-client/distinfo b/science/py-mpcontribs-client/distinfo new file mode 100644 index 000000000000..e9ee4b9da35a --- /dev/null +++ b/science/py-mpcontribs-client/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688314220 +SHA256 (mpcontribs-client-5.4.1.tar.gz) = 1db471e6ecbde3ac04a6958d069ae061115fbf069dd4fc180b4f07cb3e2dec48 +SIZE (mpcontribs-client-5.4.1.tar.gz) = 28502 diff --git a/science/py-mpcontribs-client/pkg-descr b/science/py-mpcontribs-client/pkg-descr new file mode 100644 index 000000000000..33fe4baf934d --- /dev/null +++ b/science/py-mpcontribs-client/pkg-descr @@ -0,0 +1,2 @@ +Client code for platform for materials scientists to contribute and disseminate +their materials data through Materials Project.