git: 887237b23c32 - main - misc/py-lightning-utilities: New port: PyTorch Lightning sample project
Date: Tue, 30 May 2023 08:34:16 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=887237b23c3275da9ed34dc79a44b9b84cb3e51e commit 887237b23c3275da9ed34dc79a44b9b84cb3e51e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-05-30 07:45:28 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-05-30 08:34:12 +0000 misc/py-lightning-utilities: New port: PyTorch Lightning sample project --- misc/Makefile | 1 + misc/py-lightning-utilities/Makefile | 27 +++++++++++++++++++++++++++ misc/py-lightning-utilities/distinfo | 3 +++ misc/py-lightning-utilities/pkg-descr | 1 + 4 files changed, 32 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index a65f73d0d3e3..4f160640a5e6 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -420,6 +420,7 @@ SUBDIR += py-ipyfastscape SUBDIR += py-kartograph SUBDIR += py-lightgbm + SUBDIR += py-lightning-utilities SUBDIR += py-log_symbols SUBDIR += py-mffpy SUBDIR += py-molequeue diff --git a/misc/py-lightning-utilities/Makefile b/misc/py-lightning-utilities/Makefile new file mode 100644 index 000000000000..e49cc12a05d4 --- /dev/null +++ b/misc/py-lightning-utilities/Makefile @@ -0,0 +1,27 @@ +PORTNAME= lightning-utilities +DISTVERSION= 0.8.0 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= PyTorch Lightning sample project +WWW= https://github.com/Lightning-AI/utilities + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>=1.0.0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=17.1:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}types-setuptools>=0:devel/py-types-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PY_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= pep517 autoplist pytest + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-lightning-utilities/distinfo b/misc/py-lightning-utilities/distinfo new file mode 100644 index 000000000000..fdff4929f591 --- /dev/null +++ b/misc/py-lightning-utilities/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685432099 +SHA256 (lightning-utilities-0.8.0.tar.gz) = 8e5d95c7c57f026cdfed7c154303e88c93a7a5e868c9944cb02cf71f1db29720 +SIZE (lightning-utilities-0.8.0.tar.gz) = 21189 diff --git a/misc/py-lightning-utilities/pkg-descr b/misc/py-lightning-utilities/pkg-descr new file mode 100644 index 000000000000..90b469e80312 --- /dev/null +++ b/misc/py-lightning-utilities/pkg-descr @@ -0,0 +1 @@ +Common Python utilities and GitHub Actions in Lightning Ecosystem.