Files
ports/misc/py-lion-pytorch/Makefile
T
2026-10-04 04:07:15 +00:00

24 lines
581 B
Makefile

PORTNAME= lion-pytorch
DISTVERSION= 0.2.5
CATEGORIES= misc # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= PyTorch: Lion optimizer
WWW= https://github.com/lucidrains/lion-pytorch
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>=1.6:misc/py-pytorch@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist
NO_ARCH= yes
.include <bsd.port.mk>