Added
Link Here
|
1 |
PORTNAME= imaplib2 |
2 |
PORTVERSION= 3.6 |
3 |
CATEGORIES= mail python |
4 |
MASTER_SITES= CHEESESHOP |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
7 |
MAINTAINER= dereks@lifeofadishwasher.com |
8 |
COMMENT= Threaded Python IMAP4 client |
9 |
|
10 |
LICENSE= MIT |
11 |
LICENSE_FILE= ${WRKSRC}/LICENCE |
12 |
|
13 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} |
14 |
|
15 |
USES= python:3.6-3.9 |
16 |
USE_PYTHON= autoplist distutils |
17 |
|
18 |
NO_ARCH= yes |
19 |
|
20 |
post-extract: |
21 |
@${MKDIR} ${WRKSRC}/${PORTNAME}/tests |
22 |
@${CP} ${FILESDIR}/test_imports.py ${WRKSRC}/${PORTNAME}/tests/ |
23 |
|
24 |
do-test: |
25 |
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= ${PORTNAME}/tests |
26 |
|
27 |
.include <bsd.port.mk> |