Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= dateutil |
4 |
PORTNAME= dateutil |
5 |
PORTVERSION= 2.1 |
5 |
PORTVERSION= 2.1 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= devel python |
7 |
CATEGORIES= devel python |
8 |
MASTER_SITES= CHEESESHOP |
8 |
MASTER_SITES= CHEESESHOP |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 23-29
Link Here
|
23 |
|
23 |
|
24 |
# Fix incorrect permissions |
24 |
# Fix incorrect permissions |
25 |
post-patch: |
25 |
post-patch: |
26 |
@${FIND} ${WRKSRC}/python_dateutil.egg-info -type f -exec ${CHMOD} ${SHAREMODE} {} ";" |
26 |
@${FIND} ${WRKSRC} -type f -exec ${CHMOD} ${SHAREMODE} {} ";" |
|
|
27 |
@${REINPLACE_CMD} -e 's|import winreg|from six.moves import winreg|' ${WRKSRC}/dateutil/tzwin.py |
27 |
|
28 |
|
28 |
regression-test: build |
29 |
regression-test: build |
29 |
@cd ${WRKSRC} && ${PYTHON_CMD} test.py |
30 |
@cd ${WRKSRC} && ${PYTHON_CMD} test.py |