Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

34 lines
808 B
Makefile

PORTNAME= configparser
PORTVERSION= 3.5.3
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= robak@FreeBSD.org
COMMENT= INI style configuration file parser
WWW= https://pypi.org/project/configparser/
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR}
USES= python
USE_LOCALE= en_US.UTF-8
USE_PYTHON= distutils autoplist
NO_ARCH= yes
POST_PLIST= trim-backports-namespace
post-install:
@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py*
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__pycache__
trim-backports-namespace:
@${REINPLACE_CMD} '/backports\/__init__.py*/d' ${TMPPLIST}
@${REINPLACE_CMD} '/backports\/__pycache__*/d' ${TMPPLIST}
.include <bsd.port.mk>