Po-Chuan Hsieh 39fbbc8a6a
devel/py-incremental: Add missing BUILD_DEPENDS and RUN_DEPENDS
- While I'm here, remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS
- Bump PORTREVISION for dependency change

from pyproject.toml:
]requires = [
    # Keep this aligned with the project dependencies.
    "setuptools >= 61.0",
    "tomli; python_version < '3.11'",
]
...
dependencies = [
    "setuptools >= 61.0",
    "tomli; python_version < '3.11'",
]

PR:		281850
Reported by:	dim
Reference:	https://github.com/twisted/incremental/blob/incremental-24.7.2/pyproject.toml#L2-L6
		https://github.com/twisted/incremental/blob/incremental-24.7.2/pyproject.toml#L31-L34
Approved by:	portmgr (blanket)
With hat:	python
2024-10-07 13:04:12 +08:00

27 lines
665 B
Makefile

PORTNAME= incremental
PORTVERSION= 24.7.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library that versions your Python projects
WWW= https://pypi.org/project/incremental/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
${PY_TOMLI}
USES= python
USE_PYTHON= pep517 autoplist
NO_ARCH= yes
.include <bsd.port.mk>