Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= pathlib2 |
4 |
PORTNAME= pathlib2 |
5 |
PORTVERSION= 2.2.1 |
5 |
PORTVERSION= 2.2.1 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= devel python |
7 |
CATEGORIES= devel python |
7 |
MASTER_SITES= CHEESESHOP |
8 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 19-27
Link Here
|
19 |
USE_PYTHON= distutils autoplist |
20 |
USE_PYTHON= distutils autoplist |
20 |
NO_ARCH= yes |
21 |
NO_ARCH= yes |
21 |
|
22 |
|
|
|
23 |
.include <bsd.port.pre.mk> |
24 |
|
25 |
.if ${PYTHON_REL} < 3500 |
26 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}scandir>=0:sysutils/py-scandir |
27 |
.endif |
28 |
|
22 |
do-test: |
29 |
do-test: |
23 |
@(cd ${WRKSRC} && \ |
30 |
@(cd ${WRKSRC} && \ |
24 |
${PYTHON_CMD} test_pathlib2.py && \ |
31 |
${PYTHON_CMD} test_pathlib2.py && \ |
25 |
${PYTHON_CMD} test_pathlib2_with_py2_unicode_literals.py) |
32 |
${PYTHON_CMD} test_pathlib2_with_py2_unicode_literals.py) |
26 |
|
33 |
|
27 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.post.mk> |