Re: git: 887237b23c32 - main - misc/py-lightning-utilities: New port: PyTorch Lightning sample project
Date: Tue, 30 May 2023 10:32:02 UTC
Hi. This broke INDEX build. Maybe because of the last line of PY_DEPENDS= line is continued by "\" with BUILD_DEPENDS= line. Attached patch fixed the build for me. ===== Error part ===== --- describe.misc --- Variable PY_DEPENDS is recursive. in /usr/ports/Mk/bsd.port.mk:4000 in /usr/share/mk/bsd.port.mk:32 in /usr/ports/misc/py-lightning-utilities/Makefile:27 ===> misc/py-lightning-utilities failed *** [describe.misc] Error code 1 make[1]: stopped in /usr/ports 1 error make[1]: stopped in /usr/ports ******************************************************************** Before reporting this error, verify that you are running a supported version of FreeBSD (see https://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections. If that is the case, then report the failure to ports@FreeBSD.org together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and OPTIONS_SET/UNSET settings). Note: the latest pre-generated version of INDEX may be fetched automatically with "make fetchindex". ******************************************************************** *** Error code 1 Stop. make: stopped in /usr/ports failed to generate INDEX! ===== End error part ===== > 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} \ (snip) -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>