|
Lines 1-7
Link Here
|
| 1 |
# Created by: antoine@FreeBSD.org |
1 |
# Created by: antoine@FreeBSD.org |
| 2 |
|
2 |
|
| 3 |
PORTNAME= ordered-set |
3 |
PORTNAME= ordered-set |
| 4 |
PORTVERSION= 3.1.1 |
4 |
PORTVERSION= 4.1.0 |
| 5 |
CATEGORIES= devel python |
5 |
CATEGORIES= devel python |
| 6 |
MASTER_SITES= CHEESESHOP |
6 |
MASTER_SITES= CHEESESHOP |
| 7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
|
Lines 15-24
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
Link Here
|
| 15 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} |
15 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} |
| 16 |
|
16 |
|
| 17 |
NO_ARCH= yes |
17 |
NO_ARCH= yes |
| 18 |
USES= python:3.6+ |
18 |
USES= python:3.7+ |
| 19 |
USE_PYTHON= distutils autoplist |
19 |
USE_PYTHON= distutils autoplist |
| 20 |
|
20 |
|
| 21 |
do-test: |
21 |
do-test: install |
| 22 |
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER} test.py) |
22 |
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER} test/test_ordered_set.py |
| 23 |
|
23 |
|
| 24 |
.include <bsd.port.mk> |
24 |
.include <bsd.port.mk> |