ports/devel/py-requirements-parser/Makefile
Po-Chuan Hsieh 117c9d865f
devel/py-requirements-parser: Add py-requirements-parser 0.11.0
Requirements Parser is a small Python module for parsing Pip requirement files.

The goal is to parse everything in the Pip requirement file format spec.
2024-11-21 21:37:51 +08:00

25 lines
789 B
Makefile

PORTNAME= requirements-parser
PORTVERSION= 0.11.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= requirements_parser-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python module for parsing Pip requirement files
WWW= https://requirements-parser.readthedocs.io/en/latest/ \
https://github.com/madpah/requirements-parser
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=23.2:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}types-setuptools>=69.1.0:devel/py-types-setuptools@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>