1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/mail/py-imaplib2/Makefile
Wen Heping 4043e89ea7 mail/py-imaplib2: Fix build with python-3.11
PR:		276068
Reported by:	wen@
Approved by:	maintainer
2024-01-02 10:10:37 +00:00

26 lines
579 B
Makefile

PORTNAME= imaplib2
PORTVERSION= 3.6
CATEGORIES= mail python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dereks@lifeofadishwasher.com
COMMENT= Threaded Python IMAP4 client
WWW= https://github.com/jazzband/imaplib2/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= pytest python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
# Copy tests until a new release
# https://github.com/jazzband/imaplib2/pull/38
post-extract:
@${MKDIR} ${WRKSRC}/${PORTNAME}/tests
@${CP} ${FILESDIR}/test_imports.py ${WRKSRC}/${PORTNAME}/tests/
.include <bsd.port.mk>