View | Details | Raw Unified | Return to bug 262232 | Differences between
and this patch

Collapse All | Expand All

(-)mail/Makefile (+1 lines)
Lines 501-506 Link Here
501
    SUBDIR += py-flufl.bounce
501
    SUBDIR += py-flufl.bounce
502
    SUBDIR += py-fuglu
502
    SUBDIR += py-fuglu
503
    SUBDIR += py-imapclient
503
    SUBDIR += py-imapclient
504
    SUBDIR += py-imaplib2
504
    SUBDIR += py-mail-parser
505
    SUBDIR += py-mail-parser
505
    SUBDIR += py-mailmanclient
506
    SUBDIR += py-mailmanclient
506
    SUBDIR += py-mailnag
507
    SUBDIR += py-mailnag
(-)mail/py-imaplib2/Makefile (+24 lines)
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
USES=		pytest python:3.6-3.9
14
USE_PYTHON=	autoplist distutils
15
16
NO_ARCH=	yes
17
18
# Copy tests until a new release
19
# https://github.com/jazzband/imaplib2/pull/38
20
post-extract:
21
	@${MKDIR} ${WRKSRC}/${PORTNAME}/tests
22
	@${CP} ${FILESDIR}/test_imports.py ${WRKSRC}/${PORTNAME}/tests/
23
24
.include <bsd.port.mk>
(-)mail/py-imaplib2/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1645916681
2
SHA256 (imaplib2-3.6.tar.gz) = 96cb485b31868a242cb98d5c5dc67b39b22a6359f30316de536060488e581e5b
3
SIZE (imaplib2-3.6.tar.gz) = 26252
(-)mail/py-imaplib2/files/test_imports.py (+8 lines)
Added Link Here
1
def test_import_normally():
2
    from imaplib2 import IMAP4_SSL
3
    assert IMAP4_SSL
4
5
6
def test_import_hack():
7
    from imaplib2.imaplib2 import IMAP4_SSL
8
    assert IMAP4_SSL
(-)mail/py-imaplib2/pkg-descr (+7 lines)
Added Link Here
1
Based on RFC 3501 and original imaplib module.
2
3
This is a version of imaplib that uses threads to allow full use of
4
the IMAP4 concurrency features, and to de-couple a user of imaplib
5
from i/o lags, except where explicitly allowed.
6
7
WWW: https://github.com/jazzband/imaplib2/

Return to bug 262232