b6ec06f079
Ports 02f27a83b4 fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
33 lines
784 B
Makefile
33 lines
784 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_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>
|