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

Collapse All | Expand All

(-)mail/Makefile (+1 lines)
Lines 504-509 Link Here
504
    SUBDIR += py-flufl.bounce
504
    SUBDIR += py-flufl.bounce
505
    SUBDIR += py-fuglu
505
    SUBDIR += py-fuglu
506
    SUBDIR += py-imapclient
506
    SUBDIR += py-imapclient
507
    SUBDIR += py-imaplib2
507
    SUBDIR += py-mail-parser
508
    SUBDIR += py-mail-parser
508
    SUBDIR += py-mailmanclient
509
    SUBDIR += py-mailmanclient
509
    SUBDIR += py-mailnag
510
    SUBDIR += py-mailnag
(-)mail/py-imaplib2/Makefile (+25 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
WWW=		https://github.com/jazzband/imaplib2/
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENCE
13
14
USES=		pytest python:3.6-3.9
15
USE_PYTHON=	autoplist distutils
16
17
NO_ARCH=	yes
18
19
# Copy tests until a new release
20
# https://github.com/jazzband/imaplib2/pull/38
21
post-extract:
22
	@${MKDIR} ${WRKSRC}/${PORTNAME}/tests
23
	@${CP} ${FILESDIR}/test_imports.py ${WRKSRC}/${PORTNAME}/tests/
24
25
.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 (+5 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.

Return to bug 262232