Files
2026-10-04 04:07:15 +00:00

31 lines
807 B
Makefile

PORTNAME= async-lru
PORTVERSION= 2.3.0
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/aio-libs/async-lru/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= async_lru-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simple lru_cache for asyncio
WWW= https://github.com/aio-libs/async-lru
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31100
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>