mirror of
https://git.freebsd.org/ports.git
synced 2025-05-06 02:47:37 -04:00
- Convert ports to use PY_TOMLI to simplify Makefile. The minimal version is set to 2.0.1 because it is required by multiple ports such as devel/py-poetry. The upper bound of version is set to 3 because it is limited by devel/py-poetry. With hat: python
36 lines
935 B
Makefile
36 lines
935 B
Makefile
PORTNAME= dparse
|
|
DISTVERSION= 0.6.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Parser for Python dependency files
|
|
WWW= https://github.com/pyupio/dparse
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
|
|
${PY_TOMLI}
|
|
|
|
USES= cpe python
|
|
CPE_VENDOR= pyup
|
|
CPE_PRODUCT= dependency_parser
|
|
USE_PYTHON= autoplist distutils pytest
|
|
|
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= CONDA PIPENV
|
|
OPTIONS_DEFAULT= CONDA PIPENV
|
|
|
|
CONDA_DESC= Enable support for Conda YML parsing
|
|
PIPENV_DESC= Enable support to update Python Pipfiles
|
|
|
|
CONDA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
|
|
PIPENV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pipenv>=2022.12.19:devel/py-pipenv@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|