git: baef140479ca - main - science/py-mpcontribs-client: New port: Client library for MPContribs API on contribs-api.materialsproject.org
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jul 2023 05:49:54 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=baef140479cadf7b2900f1200b3e69a69ce4308b commit baef140479cadf7b2900f1200b3e69a69ce4308b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-03 05:49:19 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> 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 <bsd.port.mk> 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.