ports/devel/py-requirements-detector/Makefile
Po-Chuan Hsieh fba609184f
devel/py-requirements-detector: Allow build with py-astroid 3.*
- Bump PORTREVISION for package change
2024-02-21 23:07:45 +08:00

27 lines
877 B
Makefile

PORTNAME= requirements-detector
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= requirements_detector-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Find and list requirements of a Python project
WWW= https://github.com/landscapeio/requirements-detector
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=2.0:devel/py-astroid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}semver>=3.0.0<4:devel/py-semver@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>=0.10.2<0.11:textproc/py-toml@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>