opnsense-ports/devel/py-platformdirs/Makefile
Franco Fichtner 8edbfc3553 devel/py-platformdirs: sync with upstream
Taken from: FreeBSD
2023-07-17 07:56:22 +02:00

25 lines
648 B
Makefile

PORTNAME= platformdirs
PORTVERSION= 3.8.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python module for determining appropriate platform-specific dirs
WWW= https://github.com/platformdirs/platformdirs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.17:devel/py-hatchling@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
post-patch:
@${RM} ${WRKSRC}/src/platformdirs/__init__.py.orig
.include <bsd.port.mk>