blob: ebeae986e3a55cc6d89d9d712b66f83519810a49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= configparser
PORTVERSION= 3.5.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= robak@FreeBSD.org
COMMENT= INI style configuration file parser
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR}
USES= python:3.6+
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>
|