Lines 1-6
Link Here
|
1 |
PORTNAME= shell-gpt |
1 |
PORTNAME= shell-gpt |
2 |
DISTVERSION= 0.8.1 |
2 |
DISTVERSION= 0.8.1 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 2 |
4 |
CATEGORIES= misc python |
4 |
CATEGORIES= misc python |
5 |
MASTER_SITES= PYPI |
5 |
MASTER_SITES= PYPI |
6 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 25-38
USE_PYTHON= autoplist distutils pytest
Link Here
|
25 |
BINARY_ALIAS= python=${PYTHON_CMD} |
25 |
BINARY_ALIAS= python=${PYTHON_CMD} |
26 |
NO_ARCH= yes |
26 |
NO_ARCH= yes |
27 |
|
27 |
|
28 |
post-extract: |
|
|
29 |
@${RM} ${WRKSRC}/tests/__init__.py |
30 |
|
31 |
post-patch: |
32 |
@${FIND} ${WRKSRC} -type f -name '*.orig' -delete |
33 |
|
34 |
do-test: |
28 |
do-test: |
35 |
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest tests/unittests.py |
29 |
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} tests/unittests.py |
36 |
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest tests/integrational_tests.py |
30 |
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest tests/integrational_tests.py |
37 |
|
31 |
|
38 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |